summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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>
2018-02-01Updating INFO file - new PTLTim Irnich1-2/+2
Updating project lead and primary contact to Peri after PTL election. Change-Id: Ief833e2e1479f99f8f0be815d5be43cb96883a4a Signed-off-by: Tim Irnich <tim.irnich@ericsson.com>
2018-01-26correct setup-openstack.yml destination pathPeriyasamy Palanisamy1-1/+1
Change-Id: I9c1c174529e1802beeab6b4e5ac91d18283aa521 Signed-off-by: Periyasamy Palanisamy <periyasamy.palanisamy@ericsson.com>
2018-01-26correct XCI scenario variablePeriyasamy Palanisamy1-2/+2
Change-Id: I4fcd3773457b6acb14720b84ba145ed9cac0368c Signed-off-by: Periyasamy Palanisamy <periyasamy.palanisamy@ericsson.com>
2018-01-25os-odl-bgpvpn scenario for xci deploymentPeriyasamy Palanisamy17-0/+1252
This includes scenario os-odl-bgpvpn scenario specific configuration files to make XCI to install Openstack (master and stable/pike) with OpenDaylight configured as a BGP speaker. XCI would automatically checkout sdnvpn repo and use scenarios directory for the configuration during its execution time. Change-Id: Ic86fcb171c8e97f7d3c3fb649ab0fb00368e6c6d Signed-off-by: Periyasamy Palanisamy <periyasamy.palanisamy@ericsson.com>
2018-01-18Set unlimited router quotastomsou3-9/+16
Update router quotas to fix bgpvpn scenario in CIq JIRA:SDNVPN-208 Change-Id: I25353229d119459c8e961b0f3f6264f715533d13 Signed-off-by: tomsou <soth@intracom-telecom.com>
2018-01-09Intra-Data Center ECMP testcasePeriyasamy Palanisamy5-9/+382
This testcase add a scenario in which one extra route can be reachable through two VMs which are in a same network attached to a router which is later associated to a BGPVPN instance. This extra route ip address is different from subnet of VMs. After the extra route is configured with VM ips as nexthops, then when third VM is trying to reach extra route, traffic would split between two VMs. The traffic split can happen only in heavy loaded scenario, so this testcase would test only reachability. JIRA: SDNVPN-23 Change-Id: I4bb4e94f5c98c0f3c22bff7a6998af2a7a919f16 Signed-off-by: Periyasamy Palanisamy <periyasamy.palanisamy@ericsson.com>
2018-01-08Resync testcase descriptionPeriyasamy Palanisamy1-0/+15
JIRA: SDNVPN-200 Change-Id: Ida111d28591d99cc8d2a73ec1c14920800354a9b Signed-off-by: Periyasamy Palanisamy <periyasamy.palanisamy@ericsson.com>
2017-12-13Merge "Adding two new committers"Tim Irnich1-2/+4
2017-11-20Merge "Updated from global requirements"Tim Irnich2-10/+20
2017-11-17Adding two new committersTim Irnich1-2/+4
Adding Thomas Sounapoglou and Peri Palanisamy as new comitters to the project. Both have made substantial contributions to the project and are very active. Existing committers, please approve. Change-Id: Ib85ced466dbdf90333e555de6a81ef30a77b3ed3 Signed-off-by: Tim Irnich <tim.irnich@ericsson.com>
2017-11-16Merge "add resync testcase"Tim Irnich3-0/+253
2017-11-15Updated from global requirementsCédric Ollivier2-10/+20
Change-Id: I7a975d6cdeae1f7dbf982eca8f8de16fa1bc3d95 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-11-10add resync testcasePeriyasamy Palanisamy3-0/+253
It is an extention of testcase_11.py to check resync happens properly between ODL and OVS when there is no changes from northbound JIRA: SDNVPN-175 Change-Id: I63bd17f5e5fdab7d5ab90a2be2836e02e7dd54fa Signed-off-by: Periyasamy Palanisamy <periyasamy.palanisamy@ericsson.com>
2017-11-09Adapt bgp daemon to run properly for testcase3tomsou1-3/+11
Since apex includes a new version of zrpcd compatible with Carbon and Nitrogen [0], an adaptation is needed for bgp daemon enabling and running within testcase3 Note that zrpcd run now as a process and not as a service JIRA: SDNVPN-172 [0] https://jira.opnfv.org/projects/APEX/issues/APEX-508 Change-Id: Ia0ec4ab0f15ecf3d5c76c5fa541fe8338762ecaf Signed-off-by: tomsou <soth@intracom-telecom.com>
2017-11-09Merge "remove flavor at the end of the test"Tim Irnich2-4/+11
2017-11-09Merge "Fix instance boot when metadata exists"Tim Irnich7-42/+48
2017-11-09Merge "Adapt documentation wo be comply with Apex Integration Guide"Tim Irnich1-3/+4
2017-11-09Merge "Add tetcase suite overview"Tim Irnich1-0/+208
2017-11-08remove flavor at the end of the testPeriyasamy Palanisamy2-4/+11
JIRA: SDNVPN-122 Change-Id: I89f457e0d5a7c7c98bab223e722a5eb5a23387b6 Signed-off-by: Periyasamy Palanisamy <periyasamy.palanisamy@ericsson.com>
2017-11-08use glance_client for image cleanupPeriyasamy Palanisamy10-10/+22
Change-Id: Ia192a1b26c5f31b6d3465a060c3d8a3097e6ebd4 Signed-off-by: Periyasamy Palanisamy <periyasamy.palanisamy@ericsson.com>
2017-11-08Test groups are deleted after ovs reconnectionpperiyasamy3-0/+195
Create a new testcase (Testcase 11) Testing procedure: Create a Network with 2 VMs so that a group is added to ovs. Disconnect ovs. Remove the Network and the VMs. Connect ovs again. Check that the group is deleted from it. JIRA: SDNVPN-151 Change-Id: I4c6f5e16f837bbcc589cbbbf05896a2d17b9cd57 Signed-off-by: panageo2 <panageo@intracom-telecom.com> Signed-off-by: Periyasamy Palanisamy <periyasamy.palanisamy@ericsson.com>
2017-11-06Adapt documentation wo be comply with Apex Integration Guidetomsou1-3/+4
Since, Apex installation instructions have been changed, the corresponding section into docs/release/scenarios/os-odl-bgpvpn/scenario.description.rst is also updated according https://wiki.opnfv.org/display/apex/Integration+Guide JIRA: SDNVPN-178 Change-Id: Ie5b5fe677c73669804af71ed4da24dafd98cb5ee Signed-off-by: tomsou <soth@intracom-telecom.com>
2017-11-06Add tetcase suite overviewtomsou1-0/+208
Adds an overview of testcase suite, under: docs/development/overview/index.rst JIRA: SDNVPN-179 Change-Id: I003db4b22538b75d7ebf128ddc685b55decca104 Signed-off-by: tomsou <soth@intracom-telecom.com>
2017-11-06Fix instance boot when metadata existstomsou7-42/+48
The way that a instance is considered as UP is pretty strict and returns ERROR in case of instances with userdata This patch differentiates the instances that are supposed to boot till login prompt and those with userdata parameter JIRA: SDNVPN-177 Change-Id: Ic4755366df006669475c90cc0693ac802256f379 Signed-off-by: tomsou <soth@intracom-telecom.com>
2017-10-25use openstack api's instead of CLIsPeriyasamy Palanisamy3-12/+85
add two apis update_instance_quota_class and update_nw_subnet_port_quota and make run_sdnvpn_tests.py to use these APIs for setting quotas JIRA:SDNVPN-188 Change-Id: I764bb6897e6c4c5abad4d252c1f3b4ccc742d52e Signed-off-by: Periyasamy Palanisamy <periyasamy.palanisamy@ericsson.com>