summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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>
2017-10-19Merge "Remove argparse for adding argument -r"Tim Irnich4-21/+2
2017-10-19Merge "Inheritance from Feature class"Tim Irnich1-10/+6
2017-10-19Remove argparse for adding argument -rLinda Wang4-21/+2
Change-Id: Iaa2ddc3f655a2bf85785a99a519e0df78c298037 Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-10-18Merge "Gather logs only if fuel or apex installer"Tim Irnich2-2/+10
2017-10-18Adding scenario documentationTim Irnich2-0/+135
Adding the scenario documentation, which was missing from previous commit. JIRA: SDNVPN-185 Change-Id: I5b4f79f51ecd50a2bc514ca0e845679604716143 Signed-off-by: Tim Irnich <tim.irnich@ericsson.com>
2017-10-18Gather logs only if fuel or apex installerPeriyasamy Palanisamy2-2/+10
Change-Id: I11988ad86a916d1d7251aacf951c6362fda961ba Signed-off-by: Periyasamy Palanisamy <periyasamy.palanisamy@ericsson.com>
2017-10-18Title adjustedSofia Wallin1-3/+3
Removed Danube and simplified the title. Change-Id: I0029b87f5382acecd3dd8e143139920ffd57c696 Signed-off-by: Sofia Wallin <sofia.wallin@ericsson.com>
2017-10-18Inheritance from Feature classJose Lausuch1-10/+6
Change-Id: I81aa9582452ca43a4eab32ba34a640043c89043e Signed-off-by: Jose Lausuch <jalausuch@suse.com>
2017-10-17Merge "Updating docs for Euphrates"Tim Irnich6-480/+349
2017-10-17Updating docs for EuphratesTim Irnich6-480/+349
Moved previous user guide content into the right places, updating the section structure along the way. Started to edit the release notes but this needs more work. This will be merged now to enable link checking by the docs team. Remaining chan ges to be done in a separate review. JIRA: SDNVPN-185 Change-Id: Idd128b05f8ceb7195086b813d499b3f12243d025 Signed-off-by: Tim Irnich <tim.irnich@ericsson.com>
2017-10-16Merge "comment multiple subnet configuration"Tim Irnich1-47/+62
2017-10-16Revert "write sdnvpn test result into db"Tim Irnich1-4/+0
This reverts commit 2907946ee8931f749881e48e9601779be50b7e37. Turned out the issue requires a different solution. Change-Id: I6f7924a9ae7baf924b749b3fd3f2d54132c6e85b Signed-off-by: Tim Irnich <tim.irnich@ericsson.com>
2017-10-16write sdnvpn test result into dbPeriyasamy Palanisamy1-0/+4
The details of the test results are not flushed into db which causes test report showing empty data JIRA: SDNVPN-183 JIRA: FUNCTEST-874 Change-Id: Ie539685990014149434d59e61490750ae318b3ba Signed-off-by: Periyasamy Palanisamy <periyasamy.palanisamy@ericsson.com>
2017-10-16comment multiple subnet configurationPeriyasamy Palanisamy1-47/+62
* commenting multiple subnet configuration under a neutron network because ODL doesn't have a support for it yet (netvirt bug: https://bugs.opendaylight.org/show_bug.cgi?id=9239) * This has to be uncommented once the above bug is fixed. Change-Id: I4c863fbdd951891035471f1a10cf18546f5218e0 Signed-off-by: Periyasamy Palanisamy <periyasamy.palanisamy@ericsson.com>
2017-10-16SDNVPN-184: resources are not cleaned if tc failsPeriyasamy Palanisamy7-918/+964
* moved the cleanup code inside the finally block in each test case Change-Id: Ifc0fee58451923117c54040c716dad6827fbc7fa Signed-off-by: Periyasamy Palanisamy <periyasamy.palanisamy@ericsson.com>
2017-10-12make CommonConfig as singletonPeriyasamy Palanisamy1-27/+41
* It is not necessary to instantiate CommonConfig object from each testcase and can be made as singleton Change-Id: I99d995486fbd88ea8a77ec7bd9e41a55047ebaca Signed-off-by: Periyasamy Palanisamy <periyasamy.palanisamy@ericsson.com>
2017-09-28Fix loggingtomsou1-1/+1
Change-Id: Ida4393322953db792a5fe469b42f3106e4b1ca5e Signed-off-by: tomsou <soth@intracom-telecom.com>
2017-09-28Fix the argument errorLinda Wang1-1/+1
Change-Id: Idc4ba350a8bf77ec555109ad4e7a2649e2b0880d Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-09-14Fix testcase_10 module pathtomsou1-1/+1
Update config file with the full path for testcase 10 Change-Id: I81ec9eaecc2c36f07f4608cdd65db6f64b43c4f9 Signed-off-by: tomsou <soth@intracom-telecom.com>
2017-09-12Fix adapt path for import_moduletomsou1-2/+1
Fix the path to include each test case when the suite runs Change-Id: I3cdd55ed6af3e131c2f0b89ffc5bd74f95eeadbf Signed-off-by: tomsou <soth@intracom-telecom.com>
2017-09-08Fix the config.yaml including for each testcasetomsou8-10/+18
At each testcase, adapt the way config.yaml is included via sdnvpn.lib.config.TestcaseConfig(). The full path should be included, instead of just the testcase name JIRA: SDNVPN-180 Change-Id: I34828cc3681f08b843db49c6a221602b5b2022bf Signed-off-by: tomsou <soth@intracom-telecom.com>
2017-09-04Adapt SDNVPN Functest test according to new frameworkjose.lausuch8-152/+85
- Inherit from TestCase class in Functest - Remove any push to DB method, since Functest takes care of it After this change, we will be able to load this module from Functest and make a python call instead of a bash call. Change-Id: I80bdb7eaac3a2d1f48e32bafa381a42cadb36138 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2017-08-28Merge "Make tight the way an instance is considered as UP"Tim Irnich1-8/+4
2017-08-28Merge "Add/Remove testcase"Tim Irnich3-3/+293
2017-08-23Make tight the way an instance is considered as UPpanageo21-8/+4
An instance will be considered UP not only if a DHCP IP is leased, but if the login prompt is present, as well JIRA: SDNVPN-174 Change-Id: If68fd1436a54f057f37de777e22f1d6a1967d97c Signed-off-by: panageo2 <panageo@intracom-telecom.com>
2017-08-23Fix import module functionality for each testcasetomsou1-8/+8
Fix the path, from where import_module runs each testcase JIRA: SDNVPN-176 Change-Id: Ibc6880b4865d3ac0c276d1aa81a08e90af3d809e Signed-off-by: tomsou <soth@intracom-telecom.com>
2017-08-14Merge "Removing inactive committers in accordance with Section 8 of the TSC ↵Tim Irnich1-1/+0
charter."
2017-08-02Add/Remove testcasepanageo23-3/+293
This testcase investigates if communication between a group of VMs is interupted upon deleteon and creation of VMs inside this group. Test case flow: 3 vms: [1] on compute 1, [2] on compute 1, [3] on compute 2, all vms ping each other. vm [2] is deleted. Traffic is still flying between [1] and [3]. A new [4] vm is added to compute 1. Traffic is not interrupted and [4] can be reached as well. JIRA: SDNVPN-105 Change-Id: I93a65de2a5df83551e3115fd20b60241cd460e97 Signed-off-by: panageo2 <panageo@intracom-telecom.com>
2017-08-02Install run_sdnvpn_tests.py in $PATHCédric Ollivier2-0/+2
It eases how Functest runs it (see testcases.yaml [1]). The former run_tests.py is renamed to avoid duplicated binaries (see [2] and [3]). [1] https://git.opnfv.org/functest/tree/functest/ci/testcases.yaml [2] https://git.opnfv.org/sfc/tree/sfc/tests/functest/run_tests.py [3] https://git.opnfv.org/promise/tree/promise/test/functest/run_tests.py Change-Id: I50219cad42bf0e085c2edf2e1abe149c2e057a99 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-07-25Refactor imports and invocation of main functionpanageo27-36/+35
In all testcases there are some inconcistencies of import statements. Additionally the main function of each testcase should be called through sys.exit(main()) JIRA: SDNVPN-173 Change-Id: I6fdf0dc6598ca4789b6de6b50d1b8b85a8de923c Signed-off-by: panageo2 <panageo@intracom-telecom.com>
2017-07-24Merge "Add test case 9"Tim Irnich3-0/+117
2017-07-24Fix log gathering functionalitytomsou3-5/+16
Some fixes on https://gerrit.opnfv.org/gerrit/#/c/37261/ JIRA: SDNVPN-170 Change-Id: I2f396f509181b45bfccb76fbfd904d7591000df9 Signed-off-by: tomsou <soth@intracom-telecom.com>
2017-07-18Add test case 9panageo23-0/+117
Development of a new test that checks all nodes and succeeds if all OVS br-int interfaces have fail_mode=secure JIRA: SDNVPN-168 Change-Id: Iff14f60e2d25c1769cdec7cec126425937780eb7 Signed-off-by: panageo2 <panageo@intracom-telecom.com>
2017-07-17Removing inactive committers in accordance with Section 8 of the TSC charter.Tim Irnich1-1/+0
Change-Id: I32a2f340a6f9a5966ed52e2d6d6e8fe62cc6338a Signed-off-by: Tim Irnich <tim.irnich@ericsson.com>
2017-07-13[docs] Adding apex deployment config guideNikolas Hermanns1-15/+120
JIRA: SDNVPN-171 Change-Id: I076a087ab346e8e6e3063c958fefff657838b708 Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
2017-07-12Merge "Update release notes"Tim Irnich1-6/+19
2017-07-12Update release notespanageo21-6/+19
Uplifting docs to D-3. Update release-notes to reflect the remaining issues we have not been able to resolve. JIRA: SDNVPN-169 Change-Id: I5997f1495fc37ecbc06a8c7b8071a7ba7f2c099c Signed-off-by: panageo2 <panageo@intracom-telecom.com>
2017-07-12Adding log gatheringNikolas Hermanns3-1/+224
Change-Id: I0f13e5aa8aea25e549c9ffede63085a86153cdba Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
2017-06-30Fix the wrong path of sdnvpnLinda Wang1-9/+7
The new path should be /usr/local/lib/python2.7/dist-packages/sdnvpn, rather than /home/opnfv/repos/sdnvpn Change-Id: I22e019226e7bffe233b52c1a3ec6171b835e4bd3 Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-06-29Merge "Adapt the floating ip handling in functest"Nikolas Hermanns7-40/+36
2017-06-29Merge "Add networking-bgpvpn module in SDNVPN requirements"Nikolas Hermanns1-0/+1
2017-06-29Merge "Transfer utils functions from functest"Nikolas Hermanns6-22/+61
2017-06-28Transfer utils functions from functestpanageo26-22/+61
Transfer functions: - create_bgpvpn - create_network_association - create_router_association - update_bgpvpn - delete_bgpvpn - get_bgpvpn - get_bgpvpn_routers - get_bgpvpn_networks from functest/utils/openstack_utils.py to sdnvpn/lib/utils.py JIRA: SDNVPN-164 JIRA: FUNCTEST-840 Change-Id: Ic64d8ee85e74601b0fe51e1c452cf83fa6b0203b Signed-off-by: panageo2 <panageo@intracom-telecom.com>