summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-06-19Use Neutron API for attaching floating ip addressPeriyasamy Palanisamy4-16/+32
The Nova API for attaching floating ip address with vm instance is removed in latest Openstack release. Hence moving to neutron API for attaching floating ip address with VM. JIRA: SDNVPN-217 Change-Id: If321191eca0915cfd816eabc8890b28ed79cefc7 Signed-off-by: Periyasamy Palanisamy <periyasamy.palanisamy@ericsson.com>
2018-06-15Merge "[Bug Fix] Determine the BGP entity owner in ODL Cluster"Periyasamy Palanisamy2-19/+80
2018-06-14[Bug Fix] Determine the BGP entity owner in ODL ClusterDimitrios Markou2-19/+80
In HA deployments is essential to determine which is the ODL BGP entity owner and transform that ODL to BGP speaker. This is necessary because of this bug [0] in netvirt. So we can consider this as a workaround for the testcase_3. Note: This patch is dependent on this task resolution [1] for master branch. Note: This patch works fine in stable/fraser branch. [0] https://jira.opendaylight.org/browse/NETVIRT-1308 [1] https://jira.opnfv.org/browse/SDNVPN-217 Jira: SDNVPN-214 Change-Id: I383987e650da45400a3a6437dbdaaea904db9265 Signed-off-by: Dimitrios Markou <mardim@intracom-telecom.com>
2018-06-13Create and pass references of flavor and image to tempestnikoskarandreas2-3/+31
When invoked from SDNVPN, Tempest scenario functest test cases try to use flavor and image references from the tempest.conf file which are currently empty. This patch uses the default flavor that is created by the test suite and the creates an image using the availabe cirros image, which is deleted at the end. JIRA: SDNVPN-209 Change-Id: I6a6fd636fec2c0fa7d35981ca51d59f06a4d9d69 Signed-off-by: nikoskarandreas <nick@intracom-telecom.com>
2018-06-13Fix so that testcases run in order.dimitris.tsiolakis2-195/+209
A new key "order" was added in config.py file to prevent the testcases executed in random order. JIRA: SDNVPN-216 Change-Id: I4ee72cb98351e35bf50ecf9c6dd1506a59e34f6e Signed-off-by: dimitris.tsiolakis <dmts@intracom-telecom.com>
2018-06-07Merge "Add own logger for SdnvpnFuncTest class"Periyasamy Palanisamy1-24/+26
2018-06-07Add own logger for SdnvpnFuncTest classPeriyasamy Palanisamy1-24/+26
The functest xtesting Testcase class removed the logger instance variable, so let SdnvpnFuncTest use its own logger. JIRA: SDNVPN-215 Change-Id: I8b611273e44204d5051fad1140e6ecaddc2a4334 Signed-off-by: Periyasamy Palanisamy <periyasamy.palanisamy@ericsson.com>
2018-06-05[Bug Fix] Use correct image for the Quagga instanceDimitrios Markou3-2/+16
In testcase_3 the Quagga image is downloaded from the opnfv.artifacts repository to the /home/opnfv/functest/data directory. But the testcase_3 after that tries to find the image in the /home/opnfv/functest/images directory. This results in using a wrong image Jira: SDNVPN-213 Change-Id: I99539fc9a7a2d016a97ed51fca0cde81f82b3911 Signed-off-by: Dimitrios Markou <mardim@intracom-telecom.com>
2018-05-31Fix the logging to be compatible with functestPeriyasamy Palanisamy18-57/+34
Change-Id: I62b432497175e79bcf2cd241be54d8a7f5db2799 Signed-off-by: Periyasamy Palanisamy <periyasamy.palanisamy@ericsson.com>
2018-05-29Re-enabling execution of tempest testsGeorg Kunz1-1/+2
My previous patch broke the execution of tempest tests, causing tempest to complain about a missing .testr.conf file. This fix adds the explicit use of the --config-file CLI flag back to the tempest test framework. Change-Id: If65c65a227f0058180e0d5bca47cce502948c4c9 Signed-off-by: Georg Kunz <georg.kunz@ericsson.com>
2018-05-23potential fix for attaching router with external network gatewayPeriyasamy Palanisamy1-0/+8
In the CI environment, whenever testcases attaches a router with external network gateway sometimes it throws the error "No more IP addresses available on network". This could be due to stale floating ip's exist in the deployment which is cleaned up now before executing sdnvpn testsuite. JIRA: SDNVPN-212 Change-Id: I027a833f13b1bdddd83dc8c7e7f7292e20b10bb8 Signed-off-by: Periyasamy Palanisamy <periyasamy.palanisamy@ericsson.com>
2018-05-11Fixing invocation of Tempest testsGeorg Kunz1-10/+1
Only 7 bgpvpn Tempest tests were run by the SDNVPN Tempest test instead of the full set of Tempest tests. This patch fixes and simplifies the invocation of bgpvpn Tempest tests. Change-Id: I1b207ea3da27dd43ab034b84f81992a5e0be2ec1 Signed-off-by: Georg Kunz <georg.kunz@ericsson.com>
2018-05-08SDNVPN-99 NAT doesn't seem to workPeriyasamy Palanisamy2-46/+53
Currently ODL is not able to accomodate both network and router in a BGPVPN instance (https://jira.opendaylight.org/browse/NETVIRT-932 - see the comment section). So until the fix is available, testing NAT functionality using router without bgpvpn instance across subnets. Change-Id: I6bedfc8e818ddd542036a87245caf4949152d66f Signed-off-by: Periyasamy Palanisamy <periyasamy.palanisamy@ericsson.com>
2018-05-07create log file only if it doesn't existPeriyasamy Palanisamy1-1/+3
Change-Id: I97e4f0cf8f27ff719253967ac14e74bcd55b0559 Signed-off-by: Periyasamy Palanisamy <periyasamy.palanisamy@ericsson.com>
2018-05-07create log file during logger initializationPeriyasamy Palanisamy1-5/+2
Currently the log messages from utils and openstack_utils python modules are not logged into bgpvpn.log. This is because this file is created during SDNVPN Feature initialization. So creating this file during logger initialization itself. Change-Id: I538acdfb2119f1eaa562f61dac3b6bf7c3a58e41 Signed-off-by: Periyasamy Palanisamy <periyasamy.palanisamy@ericsson.com>
2018-04-30Fix os-odl-bgpvpn-[no]ha scenario referenceTrevor Bramwell2-8/+4
These shouldn't be prefixed with a '-' nor duplicated. Change-Id: I88f5b2d18436a258d6ac573a1fbc6dee735b48da Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2018-04-25Updated scenario documentationSofia Wallin3-23/+35
Change-Id: I125988afe557e5117fcbbace23b5e48e740d216c Signed-off-by: Sofia Wallin <sofia.wallin@ericsson.com> Signed-off-by: Periyasamy Palanisamy <periyasamy.palanisamy@ericsson.com>
2018-04-25update fraser release datePeriyasamy Palanisamy1-1/+1
Change-Id: If38328d7814497e9e213ec6edeff5057584d4601 Signed-off-by: Periyasamy Palanisamy <periyasamy.palanisamy@ericsson.com>
2018-04-20Fix version in setup.cfgCédric Ollivier1-1/+0
It cannot be installed due the new branch. Change-Id: I1898190cbf522dbfbaeaa89e3d65a7b2e27fb2cc Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-04-19Make sdnvpn logging properPeriyasamy Palanisamy19-119/+128
* Currently no log messages are getting written into log file due to file handler is registered for logger object created at different modules. Now corresponding handler is registered for logger objects. * Making sdnvpn Feature class to use its parent class logger object to avoid unnecessary logger object creation. Change-Id: I4ec61951ba4ac39cecc137dbb818da72f0b43b35 Signed-off-by: Periyasamy Palanisamy <periyasamy.palanisamy@ericsson.com>
2018-04-12Updated from global requirementsCédric Ollivier1-5/+5
Change-Id: I094aa8c5cc901c4b5f083651a8224d64324dfc44 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-04-11Merge "testcase_10 intermittent failure"Periyasamy Palanisamy1-5/+12
2018-04-09testcase_10 intermittent failurePeriyasamy Palanisamy1-5/+12
There are vm monitor threads running incorrectly which causes this testcase to fail intermittently. It is fixed properly now. Change-Id: I61abf7e33700abdcb2e9ab7cfa72f6e3ad6c7a67 Signed-off-by: Periyasamy Palanisamy <periyasamy.palanisamy@ericsson.com>
2018-04-09router and network association failurePeriyasamy Palanisamy2-4/+6
comment few sub tests till ODL provides fix for BGPVPN having both router and network association: https://jira.opnfv.org/browse/SDNVPN-94. Till then let us comment required subtests in testcase_4.py and update the release note for fraser. Change-Id: I498ee95c74b525f65e40a540e0f1162d78ec5504 Signed-off-by: Periyasamy Palanisamy <periyasamy.palanisamy@ericsson.com>
2018-04-05Document updates for Frasernikoskarandreas3-44/+28
Change-Id: I002848374caf28c0e6f4184bc9bd9e87b1918255 Signed-off-by: nikoskarandreas <nick@intracom-telecom.com> Document updates for Fraser Fixed wrong release date. Removed a closed issue and a reference to it. Change-Id: I002848374caf28c0e6f4184bc9bd9e87b1918255 Signed-off-by: nikoskarandreas <nick@intracom-telecom.com>
2018-03-23xci: Lowercase ansible variables6.0.0Fatih Degirmenci3-15/+15
Change-Id: I4aa8ca5f8fcd5626e4334fd1217930c065a1dc04 Signed-off-by: Fatih Degirmenci <fdegir@gmail.com>
2018-03-12remove extra specs for the flavorPeriyasamy Palanisamy1-7/+0
It has problem in booting up VMs which are with custom flavor configured. So removing extra specs from the flavor which anyway is not needed. Change-Id: I38fe1449ea585a3a6db95a7f21fd1d3fca0f528e Signed-off-by: Periyasamy Palanisamy <periyasamy.palanisamy@ericsson.com>
2018-03-12testcase execution halt fixPeriyasamy Palanisamy1-7/+12
It's found that sys.exit is used in utils.py which caused testcase execution is stopped abruptly while running bgpvpn testsuite. This is now replaced with Exception. Change-Id: I69df4be705985994318f58d57b152d6db4087610 Signed-off-by: Periyasamy Palanisamy <periyasamy.palanisamy@ericsson.com>
2018-03-09workaround for bgpvpn tempest runPeriyasamy Palanisamy1-3/+10
Adding tempest.conf file in the /etc/tempest directory as it is needed for tempest run command. Change-Id: I754dca76908014dcbb17e82a2e7b561d4826bff0 Signed-off-by: Periyasamy Palanisamy <periyasamy.palanisamy@ericsson.com>
2018-03-08potential fix for custom flavor creation issuePeriyasamy Palanisamy4-9/+6
Change-Id: Ic079e6d699927a400ca5f1530b18efacf3465629 Signed-off-by: Periyasamy Palanisamy <periyasamy.palanisamy@ericsson.com>
2018-03-08Move import_modules inside try blockPeriyasamy Palanisamy1-1/+6
Its still sdnvpn testsuite is failing at testcase_8 for bgpvpn ha scenario whereas it runs fine in the local setup. There is no logs generated from the CI run, moving import_modules inside try block and added few info logs to find out what is going on CI setup. [1] http://artifacts.opnfv.org/logs/functest/lf-pod1/2018-03-03_23-12-24/bgpvpn.log [2] https://build.opnfv.org/ci/job/functest-apex-baremetal-daily-master/827//console Change-Id: Icffa48cd56222bc1063ca16704e90a899380634d Signed-off-by: Periyasamy Palanisamy <periyasamy.palanisamy@ericsson.com>
2018-03-06remove block comment for testcase_8Periyasamy Palanisamy1-11/+9
somehow bgpvpn testsuite is not running in the bgpvpn-ha ci loop because of testcase_8. when bgpvpn tries to execute this testcase, somehow execution is stopped and no logs being generated from the setup. The only different is this testcase is having block comment with delimeter and this is being imported as a module inside run_sdnvpn_tests. Hence replacing block comment with single line comments. This issue is very sporadic even in the local setup and running fine after changing it with single line comments. Change-Id: I5d71ec2a8c532b5dd77b2136ca7e95a7838683dc Signed-off-by: Periyasamy Palanisamy <periyasamy.palanisamy@ericsson.com>
2018-03-02Update networking-bgpvpn to 7.0.0Cédric Ollivier1-1/+1
networking-bgpvpn 7.0.0 was released for Pike [1] [1] https://docs.openstack.org/releasenotes/networking-bgpvpn/pike.html Change-Id: I4baf1810ee2390c71a0f4b831f11baedabc95360 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-03-02Switch to XtestingCédric Ollivier2-4/+5
It inherits from xtesting.core.feature [1]. [1] http://xtesting.readthedocs.io/en/latest/apidoc/xtesting.core.feature.html Change-Id: I3d64bce859de7132384b3cf0a6383348cc20b3b1 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-03-01update python modules shebang line for python intrepreter directivePeriyasamy Palanisamy17-14/+27
Change-Id: I1929a5b86a89a96fbf5c21b3bc419c9237034aba Signed-off-by: Periyasamy Palanisamy <periyasamy.palanisamy@ericsson.com>
2018-03-01fix for sdnvpn testsuite execution stops abruptlyPeriyasamy Palanisamy1-1/+1
* updated the recommended shebang line for python intrepreter directive Change-Id: Icd3023f03c8b5524afcb5d600a9d03749496acea Signed-off-by: Periyasamy Palanisamy <periyasamy.palanisamy@ericsson.com>
2018-02-28add user variables for quagga configurationPeriyasamy Palanisamy1-1/+13
As per the review https://git.opendaylight.org/gerrit/#/c/66195 in ansible-opendaylight role, adding required quagga specific user variables to configure OpenDaylight with BGPVPN functionality. Change-Id: I78e3389c4624fe92f34da13bde6a03d3f51c9675 Signed-off-by: Periyasamy Palanisamy <periyasamy.palanisamy@ericsson.com>
2018-02-27Merge "Update the way of running tempest"Periyasamy Palanisamy2-7/+18
2018-02-27Merge "Stop relying on internal Functest utils"Periyasamy Palanisamy2-6/+22
2018-02-27Update the way of running tempestLinda Wang2-7/+18
Use 'tempest run' instead of 'run_tempest.sh', which has been removed by tempest 16.0.0 Also, 'tempest.py' has been renamed to 'run_tempest.py', to avoid package importing conflict Change-Id: I61e802e0381d1f33281610e98d05813c9b96faf9 Signed-off-by: Linda Wang <wangwulin@huawei.com>
2018-02-27comment setup quagga playbookPeriyasamy Palanisamy1-1/+2
In order to enable verify jobs in XCI for sdnvpn, commenting quagga install playbook until its upstream review (https://review.openstack.org/#/c/523907/) is merged Change-Id: Ibeded8fe458e826259f2fb1cf82843f018aa3648 Signed-off-by: Periyasamy Palanisamy <periyasamy.palanisamy@ericsson.com>
2018-02-26Stop relying on internal Functest utilsCédric Ollivier2-6/+22
It switches from functest_utils.get_functest_config() to config.CONF(). download_url is now hosted in sfc as it's unused by Functest. The next functions will be considered as part of Functest framework (then it must be well covered and documented): - ft_utils.execute_command_raise() - ft_utils.execute_command() - ft_utils.get_parameter_from_yaml() Change-Id: I076c6ced430df8387de8eaeac6f3a94d93201b19 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-02-26Host openstack utils in SDNVPNCédric Ollivier14-13/+1505
SDNVPN is the last project using the deprecated openstack utils which are being removed from Functest tree. All methods unused by SDNVPN could be safely removed in a second change. This patch aims at publishing them asis. Change-Id: I4e479e6def2c691799c9bd86ba325e3d1544ef0d Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-02-23Merge "Fixing return value in tempest test suite"Periyasamy Palanisamy1-1/+1
2018-02-23Fixing return value in tempest test suiteGeorg Kunz1-1/+1
The result processing framework of the SDNVPN project expects "FAIL" as value for failed sub-tests to determine the overall result. The value returned by the tempest sub-tests was "FAILED", causing incorrect reporting to Functest. Change-Id: I320e6f1fb1fc7ee540813e454484b11bd5b227b2 Signed-off-by: Georg Kunz <georg.kunz@ericsson.com>
2018-02-22Switch from CONST to CONFCédric Ollivier2-11/+13
CONST is not the right Functest object to get config data. Change-Id: I764a0a2a24447c941d1e726f3116593b29dd1c1e Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-02-19resync and ecmp testcase failurePeriyasamy Palanisamy2-27/+32
This provide fix for resync and ecmp test case failures at the CI master runs. Please have a look at the comments in each testcase for more details. Change-Id: I26c40da144e34a48ad44897988675db8d37c062a Signed-off-by: Periyasamy Palanisamy <periyasamy.palanisamy@ericsson.com>
2018-02-15Merge "fix for sdnvpn CI test failure"Periyasamy Palanisamy3-1/+11
2018-02-15Use bgvpn-delete and create instead of updatetomsou2-10/+84
Testcases 1 and 4 fail because of netvirt bug [1] The same functionality is now achieved by using bgvpn-delete and bgpvpn-create cli commands instead of bgpvpn-update [1] https://jira.opendaylight.org/browse/NETVIRT-1067 Change-Id: Iaba6e06d0f39e356bf364b0640c707b0a83470d7 Signed-off-by: tomsou <soth@intracom-telecom.com> Signed-off-by: Periyasamy Palanisamy <periyasamy.palanisamy@ericsson.com>
2018-02-15fix for sdnvpn CI test failurePeriyasamy Palanisamy3-1/+11
Change-Id: Ie55ccbe68f57a9bb03efc8b6eebf23a0018a0bca Signed-off-by: Periyasamy Palanisamy <periyasamy.palanisamy@ericsson.com>