summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-01-24change cloner info pathNikolas Hermanns1-1/+1
Change-Id: Ie478c725149fe43da7b56a84748ac74ec99a0d69 Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
2017-01-20Test for router assoc and floating IPRomanos Skiadas2-0/+171
JIRA: SDNVPN-90 Change-Id: I81a38c3b707dd836512c9afbab93808cb6b91adc Signed-off-by: Romanos Skiadas <rski@intracom-telecom.com>
2016-12-22Use find_packages when installing sdnvpnjose.lausuch1-2/+2
If we specify only the module 'sdnvpn', it won't install the sub-modules 'lib' and 'functest'. With find_packages there is no need to specify the package names. Change-Id: If7606a2cedbd6f7b8866747e748eadaa8b9bd5e7 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-12-22Bug fixes after the Functest refactorjose.lausuch6-14/+10
Change-Id: I20b9629bd3c9945e98edb94056f459d9f75eec5d Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-12-21Update directory pathjose.lausuch1-2/+2
JIRA: FUNCTEST-673 Change-Id: I8430939c009942cd9f96e526c8acd2115267ed2f Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-12-19Merge "Fix table formatting in testcase 7"Jose Lausuch2-4/+3
2016-12-19Merge "Modify tests to require 100% subtest success, fix tempest"Jose Lausuch7-35/+17
2016-12-19Change execution permission for scriptsNikolas Hermanns3-0/+0
Change-Id: I71f4b21fccadd64ce28249c043a765e6bc66a2cc Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
2016-12-19Add post process scriptNikolas Hermanns1-0/+2
Change-Id: I51e7ba17e0aedeba736f240647902432a885eabe Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
2016-12-16Fix table formatting in testcase 7Romanos Skiadas2-4/+3
Not enough '-' Change-Id: Ia90a678cdf7022cbdbafb1d42531e7aaff716c2c Signed-off-by: Romanos Skiadas <rski@intracom-telecom.com>
2016-12-16Modify tests to require 100% subtest success, fix tempestRomanos Skiadas7-35/+17
This is required to better align with functest, since that will handle overall success/failure status. Also if a subestest failed, there were expected failures that could seem like they pass making the overall success % look the same, which would make the test look fine, even thought it failed. Some tests check things that are known not to work. Disable these until they are fixed upstream. Also remove the success_criteria field from the config. Fail the test if any subtest fails. This has the added benefit that it fixes the tempest suite, which was still trying to read the value of `succes_criteria` that had been renamed to `success_criteria`. JIRA: SDNVPN-89 Change-Id: Iba5e5cc0db6c371f29a4cbba66ca16c4a1838e12 Signed-off-by: Romanos Skiadas <rski@intracom-telecom.com>
2016-12-16Merge "Make sdnvpn a package"Nikolas Hermanns20-17/+37
2016-12-15Make sdnvpn a packageRomanos Skiadas20-17/+37
- Clean up the test/functest folder and move things to lib/ & artifacts/ - Add a new top level folder for the sdnvpn python code Change-Id: I5fdc7fa5475fb800f488a17d3481158c9c4f84e1 Signed-off-by: Romanos Skiadas <rski@intracom-telecom.com>
2016-12-14Merge "Execute script in lib folder/Use vjumb as Gateway"Nikolas Hermanns6-6/+10
2016-12-14Execute script in lib folder/Use vjumb as GatewayNikolas Hermanns6-6/+10
Change-Id: I9ad9c9473829fb64ea5ed4f1a21d77aa16615344 Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
2016-12-14Merge "Testcase for router/FloatingIP & net assoc mutual exclusivity"Nikolas Hermanns4-0/+196
2016-12-13Merge "Don't pass ips to get_ssh_output and check_ping"Jose Lausuch4-76/+36
2016-12-13Merge "Encapsulate some functionality in Results class"Jose Lausuch4-32/+31
2016-12-13Bugfix " in the environment part-3Nikolas Hermanns1-1/+0
Change-Id: Ice01bd6967272b64aae6b1e1f28a98b0813267ca Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
2016-12-13Bugfix " in the environment part-2Nikolas Hermanns1-1/+2
Change-Id: I96aedc1b9535634a52deb10c56ab093ce4f754b3 Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
2016-12-13Bugfix " in the environmentNikolas Hermanns1-1/+1
Change-Id: I22b67aa947391a0077e11562b29c5b46af1e9c4e Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
2016-12-13add setup scriptNikolas Hermanns1-0/+2
Change-Id: I67eb85be43c204df686608e6a591e3c5b1742c7e Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
2016-12-13small bugfixes for odl_reinstallerNikolas Hermanns1-1/+2
Change-Id: Ie4d7c4811869a765da22444d80ca5f2133fe2c0f Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
2016-12-13small bugfixes for test_environmentNikolas Hermanns1-11/+11
Change-Id: Ic3af41c1a0f635bea4222a7a37103bdd8b57cef3 Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
2016-12-13test_environment upload the cloner info to jenkinsNikolas Hermanns3-3/+49
Change-Id: If2f4d548a85732f3ef8e5412e67c377024f7d63b Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
2016-12-13Merge "adding common/config"Nikolas Hermanns5-21/+27
2016-12-13adding common/configNikolas Hermanns5-21/+27
Change-Id: I2d96e6efa628f066e165a8e37d2604eb8f0634bd Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
2016-12-13Testcase for router/FloatingIP & net assoc mutual exclusivityRomanos Skiadas4-0/+196
A testcase for ODL Bug 6962, testing whether a subnet with a router can be network associated: - Create two VMs, each in a subnet with a router - Network assoc the two networks in a VPN iRT=eRT - Try to ping from one VM to the other - Assign a floating IP to a VM - Ping it JIRA: SDNVPN-88 Change-Id: I464f62b8bba55bc5d162071406637f6be846f223 Signed-off-by: Romanos Skiadas <rski@intracom-telecom.com>
2016-12-13Don't pass ips to get_ssh_output and check_pingRomanos Skiadas4-76/+36
Remove the IP arguments from these functions and use the VM objects passed to them to find their IPs. This simplifies the calls. Change-Id: Ideb08b6fdf0648870c2854f057708a88bb482d0c Signed-off-by: Romanos Skiadas <rski@intracom-telecom.com>
2016-12-13Encapsulate some functionality in Results classRomanos Skiadas4-32/+31
- Move adding actions taken during tests to summary in a method in Results - Provide add_success/failure methods that hide the column size manipulation Change-Id: If7416f3f9399125fe21632328a49af285a4b6cc6 Signed-off-by: Romanos Skiadas <rski@intracom-telecom.com>
2016-12-13Merge "adding odl-pipeline"Nikolas Hermanns35-0/+1531
2016-12-13adding odl-pipelineNiko Hermanns35-0/+1531
Change-Id: I1c08883f0d68a61ce9e10c5596aec1a259eed71f Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
2016-12-07Merge "Move logging instance creation to create_instance"Jose Lausuch4-30/+4
2016-12-05Merge "Modified testcase_2 according to the Limitations of Boron"Nikolas Hermanns2-8/+22
2016-12-05Merge "Enable basic router assoc test (testcase 4)"Nikolas Hermanns1-1/+1
2016-12-02Merge "Remove push to DB of overall result of bgpvpn test case"Jose Lausuch1-12/+0
2016-12-02Move logging instance creation to create_instanceRomanos Skiadas4-30/+4
Change-Id: I299f2be3b127aefdd7036fa68fb934b09d278692 Signed-off-by: Romanos Skiadas <rski@intracom-telecom.com>
2016-12-01Modified testcase_2 according to the Limitations of BoronVenkata Guravareddy2-8/+22
Change-Id: I79fa899a5deb917f5d87298b7c1b2dd17ad7770d JIRA: SDNVPN-85 Signed-off-by: Romanos Skiadas <rski@intracom-telecom.com>
2016-11-30Enable basic router assoc test (testcase 4)Romanos Skiadas1-1/+1
Router assoc works now, enable it in the CI. Change-Id: I095e5af048a597188169b87a71381208bb478aab Signed-off-by: Romanos Skiadas <rski@intracom-telecom.com>
2016-11-24Remove push to DB of overall result of bgpvpn test casejose.lausuch1-12/+0
Functest will capture the return value of run_tests.py and will report to the DB accordingly (PASS/FAIL) JIRA: SDNVPN-83 This follows this approach: https://wiki.opnfv.org/pages/viewpage.action?pageId=8685677#HowdoIintegrateafeaturetestcaseinFunctest?-3.Createapythonmoduleforyourtest Change-Id: I664964038b59ab8f38946d2dfe586dbdd41e9906 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-11-23Adapt new environment variable after refactorjose.lausuch3-11/+16
This patch changes the env variable repos_dir to REPOS_DIR https://gerrit.opnfv.org/gerrit/#/c/24619/ Change-Id: I55e17ee09395a976e79b8ee1abf045787009f52e Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-11-18Refactor config global variablesGeorge Paraskevopoulos6-441/+340
- Create config.py module to handle configuration parsing - Remove globals from testcases Change-Id: I16ed7bb138fde2d5d3c69703e3c2e569d49f0b37 Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com>
2016-11-14Merge "Fix router assoc in Boron"Tim Irnich2-5/+13
2016-11-10Encapsulate sleeps in functionGeorge Paraskevopoulos4-9/+13
We have some sleeps into the testcase code. We can encapsulate them in a utility function to refactor them out of the code until we figure out the best way to remove them completely Change-Id: I44c32d8329c2e319660518a8a46debc22f02c753 Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com>
2016-11-07Refactor common code across testsRomanos Skiadas5-71/+42
- Move collecting test results in a method in Results class - Create a util function for asserting the environment has enough compute nodes Change-Id: Ib7b9dfab7d2e9f50d5f352d3eadba4d4717ee750 Signed-off-by: Romanos Skiadas <rski@intracom-telecom.com>
2016-11-03Fix router assoc in BoronRomanos Skiadas2-5/+13
As per I6b57eab89839d9e9122cd24b0f05737467439dd9: - Add a route distinguisher - Remove the router from the network that is network associated Change-Id: I1399bb51c787df881529279ef7a1946a3c5c5591 JIRA: SDNVPN-66 Signed-off-by: Romanos Skiadas <rski@intracom-telecom.com>
2016-11-02Fix network assoc tests in BoronRomanos Skiadas3-10/+48
Network assoc in Boron with netvirt does not work for subnets that have a router due to an inherent limitation in the implementation. See the mailing list and related bug: https://bugs.opendaylight.org/show_bug.cgi?id=6962 https://lists.opendaylight.org/pipermail/netvirt-dev/2016-October/001815.html Also, if a subnet does not have a route distinguisher, it is not added to the FIB, so association does not make traffic move between subnets. This is intentional and an error is logged when a subnet is associated to a bvpvpn without a route distinguisher. This commit fixes the net assoc case and works around these issues by: - Removing the routers from the subnets in testcase_1 - Adding a route distinguisher to the bgpvpn JIRA: SDNVPN-74 Change-Id: I6b57eab89839d9e9122cd24b0f05737467439dd9 Signed-off-by: Romanos Skiadas <rski@intracom-telecom.com>
2016-09-22Fix a shebangRomanos Skiadas1-1/+1
Change-Id: Ib0b1a8c1b82c57d76d97520cbc27f043fede1352 Signed-off-by: Romanos Skiadas <rski@intracom-telecom.com>
2016-09-21Merge "Final edits for scenario description"Tim Irnich1-20/+4
2016-09-21Final edits for scenario descriptionTim Irnich1-20/+4
Removed some placeholders and todo notes, updated copyright and did a final readthrough. Change-Id: I1357174c159ae1065c4452128152140bb6b00d11 Signed-off-by: Tim Irnich <tim.irnich@ericsson.com>