AgeCommit message (Collapse)AuthorFilesLines
2018-10-09Wait for instance deletionstable/fraserStamatis Katsaounis1-1/+17
JIRA: SDNVPN-222 Confirm the deletion of instance in order to prevent its port existence when trying to delete relevant subnet in a later stage. Change-Id: Iace0fbbd90d50f05764ac09682caae59baba22fa Signed-off-by: Stamatis Katsaounis <> (cherry picked from commit ea48239f99fdddd703bebb1727575f844c097702)
2018-10-02Fix run_tempest testcaseStamatis Katsaounis2-97/+36
JIRA: SDNVPN-221 This patch makes run_tempest testcase functional again. Due to changes to functest codebase this tescase was failing due to an exception when trying to get verifier id, because no verifier is created from functest, as it used to happen before. Change-Id: Ia31e913b81672215f607055765cac368b8ad5412 Signed-off-by: Stamatis Katsaounis <> (cherry picked from commit b36f480f90b9c4a930d584e72534d18bb306d6b4)
2018-06-29Clean up stale routers and gateway routers.opnfv-6.2.0dimitris.tsiolakis1-0/+18
During snaps_smoke test all floating IPs are allocated by routers as external IP's, as a result there are no more floating IPs left. This patch clean up stale routers and free the assigned IPs. JIRA: SNAPS-318 Change-Id: Ifbf01ce38db63315e692dca9ffa5d993dbfa4337 Signed-off-by: dimitris.tsiolakis <> (cherry picked from commit 71737f23f718791a554edf374ee0c28bb77c9773)
2018-06-28update sdnvpn release notes for fraser 6.2Periyasamy Palanisamy1-3/+3
Change-Id: I752fba0ba0d434ae1bc37b975479361f9d53e3b3 Signed-off-by: Periyasamy Palanisamy <> (cherry picked from commit b5e7619baeecec2494994caba86df275fa197c99)
2018-06-19Merge "Create and pass references of flavor and image to tempest" into ↵Periyasamy Palanisamy2-3/+31
2018-06-15[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] [1] Jira: SDNVPN-214 Change-Id: I383987e650da45400a3a6437dbdaaea904db9265 Signed-off-by: Dimitrios Markou <>
2018-06-14Create 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 <> (cherry picked from commit c6fbfb9651f5293c544351d3c9c549dfa24fafc6)
2018-06-07Merge "Re-enabling execution of tempest tests" into stable/fraserPeriyasamy Palanisamy1-1/+2
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 <> (cherry picked from commit 6491326ffadcc143a64723169038cad58620f117)
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 <>
2018-06-04Fix the logging to be compatible with functestPeriyasamy Palanisamy18-57/+34
Change-Id: I62b432497175e79bcf2cd241be54d8a7f5db2799 Signed-off-by: Periyasamy Palanisamy <> (cherry picked from commit e08e7c43c85fa04dc78a1fcf8a11ab877a78dfb9)
2018-05-30Re-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 <> (cherry picked from commit 1fc59dc868766cc845ecf2a2b7f1fef853d2d7e5)
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 <> (cherry picked from commit 1bf65fd6d92cdf2c0ad694662cbc12b7764e3364)
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 <> (cherry picked from commit 2b8d01a7f79b0d3903964827be56347dc83d5591)
2018-05-09SDNVPN-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 ( - 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 <> (cherry picked from commit 8ed9f216d4bee43cc214d73377b5d8291bfb9e8c)
2018-05-08create log file only if it doesn't existPeriyasamy Palanisamy1-1/+3
Change-Id: I97e4f0cf8f27ff719253967ac14e74bcd55b0559 Signed-off-by: Periyasamy Palanisamy <> (cherry picked from commit 9df57f96b44d41c98a556a790dfa7f96b8dc9808)
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 <> (cherry picked from commit c1e5aafd5b5984b995d3ac6c74703e6a8be6e38b)
2018-05-02Fix 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 <> (cherry picked from commit 785cd7b2bfd56a0f157898335a27ecf4ca9de782)
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 <>
2018-04-30Merge "Make sdnvpn logging proper" into stable/fraserPeriyasamy Palanisamy19-119/+128
2018-04-25Updated scenario documentationopnfv-6.1.0opnfv-6.0.0Sofia Wallin3-23/+35
Change-Id: I125988afe557e5117fcbbace23b5e48e740d216c Signed-off-by: Sofia Wallin <> Signed-off-by: Periyasamy Palanisamy <> (cherry picked from commit b1c8323dcd962b456da0438df65b4a37bb12f3d7)
2018-04-25update fraser release datePeriyasamy Palanisamy1-1/+1
Change-Id: If38328d7814497e9e213ec6edeff5057584d4601 Signed-off-by: Periyasamy Palanisamy <> (cherry picked from commit 9232531e6cd5a5fc00520f200350f141ed6a013b)
2018-04-20Make 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 <> (cherry picked from commit 303268d0464127c52f11443404fb1baae03d615f)
2018-04-12router and network association failurePeriyasamy Palanisamy2-4/+6
comment few sub tests till ODL provides fix for BGPVPN having both router and network association: Till then let us comment required subtests in and update the release note for fraser. Change-Id: I498ee95c74b525f65e40a540e0f1162d78ec5504 Signed-off-by: Periyasamy Palanisamy <> (cherry picked from commit 682a35757b7b46ade55e0548c7df9d3c1c4274a9)
2018-04-12Merge "testcase_10 intermittent failure" into stable/fraserPeriyasamy Palanisamy1-5/+12
2018-04-12testcase_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 <> (cherry picked from commit 592c41bd3f46da98162999a3aaf1a8456036ecf7)
2018-04-12Document updates for Frasernikoskarandreas3-44/+28
Change-Id: I002848374caf28c0e6f4184bc9bd9e87b1918255 Signed-off-by: nikoskarandreas <> Document updates for Fraser Fixed wrong release date. Removed a closed issue and a reference to it. Change-Id: I002848374caf28c0e6f4184bc9bd9e87b1918255 Signed-off-by: nikoskarandreas <> (cherry picked from commit b7221d90abe4a735f606bfbf464e8c6512fc3a67)
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 <>
2018-03-12testcase execution halt fixPeriyasamy Palanisamy1-7/+12
It's found that sys.exit is used in 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 <>
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 <>
2018-03-08potential fix for custom flavor creation issuePeriyasamy Palanisamy4-9/+6
Change-Id: Ic079e6d699927a400ca5f1530b18efacf3465629 Signed-off-by: Periyasamy Palanisamy <>
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] [2] Change-Id: Icffa48cd56222bc1063ca16704e90a899380634d Signed-off-by: Periyasamy Palanisamy <>
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 <>
2018-03-02Update networking-bgpvpn to 7.0.0Cédric Ollivier1-1/+1
networking-bgpvpn 7.0.0 was released for Pike [1] [1] Change-Id: I4baf1810ee2390c71a0f4b831f11baedabc95360 Signed-off-by: Cédric Ollivier <>
2018-03-02Switch to XtestingCédric Ollivier2-4/+5
It inherits from xtesting.core.feature [1]. [1] Change-Id: I3d64bce859de7132384b3cf0a6383348cc20b3b1 Signed-off-by: Cédric Ollivier <>
2018-03-01update python modules shebang line for python intrepreter directivePeriyasamy Palanisamy17-14/+27
Change-Id: I1929a5b86a89a96fbf5c21b3bc419c9237034aba Signed-off-by: Periyasamy Palanisamy <>
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 <>
2018-02-28add user variables for quagga configurationPeriyasamy Palanisamy1-1/+13
As per the review in ansible-opendaylight role, adding required quagga specific user variables to configure OpenDaylight with BGPVPN functionality. Change-Id: I78e3389c4624fe92f34da13bde6a03d3f51c9675 Signed-off-by: Periyasamy Palanisamy <>
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 '', which has been removed by tempest 16.0.0 Also, '' has been renamed to '', to avoid package importing conflict Change-Id: I61e802e0381d1f33281610e98d05813c9b96faf9 Signed-off-by: Linda Wang <>
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 ( is merged Change-Id: Ibeded8fe458e826259f2fb1cf82843f018aa3648 Signed-off-by: Periyasamy Palanisamy <>
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 <>
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 <>
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 <>
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 <>
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 <>
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] Change-Id: Iaba6e06d0f39e356bf364b0640c707b0a83470d7 Signed-off-by: tomsou <> Signed-off-by: Periyasamy Palanisamy <>