summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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>
2016-09-20adding release notes for promise and parserNikolas Hermanns1-0/+6
Change-Id: I58889c0ab1117a51a59b9a4f83ade494286d5517 Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
2016-09-19adding index.rst so that the release notes are buildNikolas Hermanns1-0/+14
Change-Id: I909119b0184e02c169cbb694d4cc46bf5a9ed543 Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
2016-09-16Merge "update release notes cause of exclude of rally"Jose Lausuch1-0/+6
2016-09-15Merge "Refactoring"Jose Lausuch6-390/+440
2016-09-15update release notes cause of exclude of rallyNikolas Hermanns1-0/+6
Change-Id: I6439f1cf4ef3f7ec14fa9bbfd1d5ad17e0fcc1db Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
2016-09-15RefactoringRomanos Skiadas6-390/+440
- Wrap common methods that use globals in a Class `get_ping_status` and `add_to_summary` depended on globals for statefulness. The easiest way to refactor them was to convert them into methods and the globals they used into instance variables. - Move `generate_userdata_common` and `generate_userdata_with_ssh` to the utils module. - Make flavor a kwarg in create_instance. Add a defaults section in config.yaml with flavor. This value is used if flavor is not passed via kwargs. - Substitute some sleeps with `wait_for_instances_up` which will wait until a dhcp lease success message appears in the instance's log. - Add functions that wait until router and network association is completed. These do not replace the sleeps but make the tests more deterministic. - Remove unused ping_timeout from config.yaml Change-Id: Ia68ebf47aaa5a58c4e20267f1476db626f015a7c Signed-off-by: Romanos Skiadas <rski@intracom-telecom.com> Co-Authored-by: George Paraskevopoulos <geopar@intracom-telecom.com>
2016-09-14Remove trilling whitespaceNikolas Hermanns1-6/+7
Change-Id: I47108a141390499570677253a5cdad78ebbe9240 Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
2016-09-12Merge "Updating release notes for Colorado"Nikolas Hermanns1-27/+37
2016-09-09Use get_functest_config where appropriateRomanos Skiadas4-13/+13
The latest functest enforces using `get_parameter_from_yaml` to only get test specific parameters from the config file. `get_functest_config` is given to get functest configuration parameters. Change-Id: Icb6ec2ed4a9d6c278bf1c403d4d0c4f4b21e51b7 Signed-off-by: Romanos Skiadas <rski@intracom-telecom.com>
2016-09-09Updating release notes for ColoradoNikolas Hermanns1-27/+37
Change-Id: Ia4abb1e64ef8643e81953b00ae7e3d5a87640cf4 Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
2016-09-09Refactor some common methods into utilsRomanos Skiadas4-365/+293
- generete_ping_userdata(): This method was exactly the same in two tests - create_instance(): The various implementations of this method had almost the same signature, but not quite. This was fixed by adding extra arguments as needed. Also a global variable was used in the function, which was converted into a parameter. - create_network(): The three implementations of create_network had three different signatures and returned different variables. They were all unified in a single create_network class and the calls to create_network were adjusted accordingly. Revision 1: Fix flake8 violations Revision 2: Rename logger in utils Change-Id: Ib6cfe798dc561a69eb50c901e3aa71c19d465821 Signed-off-by: Romanos Skiadas <rski@intracom-telecom.com>
2016-09-05Adapt some calls to functest_utils that don't require loggerjose.lausuch2-2/+1
Due to a small refactor of some functions in Functest, the calls to those are outdated and fail. Change-Id: I1fdce5d343fc55ecd1b25a837608c7172047f22e Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-09-02Add Router Association testcaseGeorge Paraskevopoulos2-0/+457
JIRA: SDNVPN-49 This functional test is a variant of testcase 1. Instead of associating Network 1 and Network 2 to the BGP VPN, we connect Network 1 to a router and associate that router and Network 2 to the VPN. The testcase is disabled for now. Test setup procedure: - Set up VM1 and VM2 on Node1 and VM3 on Node2, all having ports in the same Neutron Network N1 and having 10.10.10/24 addresses in subnet SN1. N1/SN1 are connected to router R1. - Set up VM4 on Node1 and VM5 on Node2, both having ports in Neutron Network N2 and having 10.10.11/24 addresses in subnet SN2. Test execution: 1. Create VPN1 with eRT<>iRT and associate R1 to it - Ping from VM1 to VM2 should work - Ping from VM1 to VM3 should work - Ping from VM1 to VM4 should not work 2. Associate SN2 to VPN1 - Ping from VM4 to VM5 should work - Ping from VM1 to VM4 should not work - Ping from VM1 to VM5 should not work 3. Change VPN1 so that iRT=eRT - Ping from VM1 to VM4 should work - Ping from VM1 to VM5 should work Jira task in SDNVPN: https://jira.opnfv.org/browse/SDNVPN-49 Change-Id: I0e805b042eb645e923f1639179c4c2c37be17835 Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com>
2016-08-22Small final improvements in userguide.Tim Irnich1-3/+9
Change-Id: I065d96cf9692155c336476ec3ad4f4bc92287740 Signed-off-by: Tim Irnich <tim.irnich@ericsson.com>
2016-08-22Add more information how to manually configureNikolas Hermanns1-1/+24
Change-Id: I143346d5268ad53eafcb8d2f5420173440f4c2a3 Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
2016-08-19adding example to the userguideNikolas Hermanns2-27/+62
Change-Id: I501845e5200f6df638842dff93ee12346a75ec03 Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
2016-08-19Moving documentation content into new templateTim Irnich11-320/+237
JIRA: DOCS-103, DOCS-134, SDNVPN-40 Moving documentation content into new feature description and user guide template. Change-Id: I2c1549b44ef43e28961f1a0d2885adc0dd161910 Signed-off-by: Tim Irnich <tim.irnich@ericsson.com>
2016-08-12Merge "Applying the userguide template for the SDN VPN userguide documentation."Tim Irnich4-0/+150
2016-08-12Applying the userguide template for the SDN VPN userguide documentation.ChristopherPrice4-0/+150
Added a draft of the scenario description template for consideration and review. This is a draft migrating the existing userguide text into the proposed feature project userguide format for Colorado. Please review and comment, correct and merge as needed. (this is the prototype) Change-Id: Ia82a0c3ba0f654efc2892aac3a3b2d217ed2ad27 Signed-off-by: ChristopherPrice <christopher.price@ericsson.com>
2016-08-09[DOC] Automatic InstallationNikolas Hermanns3-38/+105
Change-Id: I067046949d9cd4a764c279c053a2f54b30645fda Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
2016-08-08Adding New ComittersAric Gardner1-1/+3
Change-Id: Ia237ab7347c789761e36bec1cf28372f8fbcefbc Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
2016-08-08Colorado documentation: scenario install procedureTim Irnich7-5/+182
JIRA: DOCS-134 Adding structure of docs for installation procedure for virtual deployment. Introducing a scenario-specific directory level. Change-Id: I01de7d3b876ba9d5f7b71b91c857842fd3badeef signed-off-by: Tim Irnich <tim.irnich@ericsson.com>
2016-07-27Return -1 if the tests failjose.lausuch1-2/+7
Change-Id: I19c3e8b979376a38b8a5838b7a41a3915f90b57f Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-07-23Remove logger from openstack_utils function callsjose.lausuch2-10/+6
Change-Id: Iebaa6f15b16f91e451662e13e0542f863f93da52 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-07-20Report overall status of the test results to DBjose.lausuch4-15/+28
The reporting Dashboard looks for the test case called 'bgpvpn'. Now, we report the overall status of the tests into that test case and also each one separatelly. http://testresults.opnfv.org/test/api/v1/results?case=bgpvpn Also, fix the 3 flake8 violations Change-Id: I5b0d816894bf16d3d11085437f1556b5d0446d81 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-07-15Create a blacklist of Tempest test casesjose.lausuch1-0/+9
JIRA: FUNCTEST-369 Change-Id: Ib8bd3dca7c5653e282f7c58023db6bb743db9c6d Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-07-14Add support to push the results to the DBjose.lausuch5-53/+149
JIRA: SDNVPN-19 The test scripts now return a json object with the following format: {"status": criteria, "details": results} where criteria: "PASS"|"FAILED" (result of the test case) details: free output that will be printed to the console and pushed to the DB Change-Id: I9e5e0c3b6cb5f4b060929b71a06f6e4f95f814fb Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-07-14Merge "Fix testcase2"Tim Irnich2-17/+15
2016-07-14Add tempest wrapper to enable the bgpvpn plugin for tempestjose.lausuch4-34/+84
The tempest.conf is copied to bgpvpn_tempest.conf to be updated with the needed parameters, in this case, only adding bgpvpn=True. The way to execute this module only is with the option -C. For example: run_tempest.sh -C bgpvpn_tempest.conf -t -N -- networking_bgpvpn_tempest Change-Id: I465961bc619f59355be964eb94f916cb877b2273 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-07-13Fix testcase2jose.lausuch2-17/+15
JIRA: SDNVPN-31 It seems due to the merge conflict, some of the lines got reordered and the script failed. Also, added the private key for the instances. Change-Id: I58c3dfe5ba2d43e0749ca5cd08b3a87221a68b66 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-07-12Bugfix run_tests fails to run python scriptsjose.lausuch1-2/+4
Change-Id: Ibd97de79eb8d824120eb2a1b80017ff1f9f99f14 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-07-12Adding test case 2Tim Irnich2-6/+469
JIRA: SDNVPN-31 Test case 2 checks tenant IP address space separation. Now done with this change. Change-Id: I07ef04de4195b2892c837ac87e53146d133755c6 Signed-off-by: Tim Irnich <tim.irnich@ericsson.com>
2016-07-09Add config for testcase 2jose.lausuch1-11/+29
JIRA:SDNVPN-31 Change-Id: I0e15afa737e4cc65fb6235ed4400ea6b1523a327 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-07-08Add testcase1 implementationjose.lausuch6-38/+467
JIRA: SDNVPN-30 Change-Id: I4d31e9c4dc683c031d6a3d44e0d2bf4d80332281 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-06-28Added directory structure for the tests and script templates.jose.lausuch9-0/+131
JIRA: SDNVPN-19 Change-Id: I358efcb377211182a93b2db43f248ca82c14fb36 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-05-18Removing whitespace to remove build error messages when pulling sdnvpn docs.ChristopherPrice1-4/+5
Change-Id: Ie9728bafed45dbff444102c85ba10501130521ce Signed-off-by: ChristopherPrice <christopher.price@ericsson.com>
2016-04-27Merge "Reverify"timirnich1-0/+136
2016-04-27Reverifytimirnich1-0/+136
Adding release notes for Brahmaputra.3.0. Change-Id: I262f4e0ab7ec785088601b48557555e07e03f870
2016-04-27Small update to configuration guide.timirnich1-8/+6
Change-Id: Ibb7efe2c6a476e205f806e99afdfd041f3740f36
2016-02-25Changing filenames to match convention and update index.rst.timirnich3-6/+11
Some additional content for feature config guide. Fixing a typo in userguide. Change-Id: I1f3056535052e74ec893b9f3264a154a145c2350
2016-02-25Adding link to BGPVPN user guide.timirnich1-10/+14
Change-Id: Id0d67c804d721baf41828b5aff01990b729f3406
2016-02-24Adding SDNVPN release documentation.ChristopherPrice4-10/+61
Change-Id: Iff53422b5e609a21e7165946d776e66fdfdbe431 Signed-off-by: ChristopherPrice <christopher.price@ericsson.com>
2016-02-08fix configguide filenameRyota MIBU3-6/+11
This patch also add .gitignore file. Change-Id: I46f2aaa3c5b057a37ba58c4ad9c2993e50f339b4 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2016-02-01Merge "Created a template for the User Guide"Tim Irnich1-4/+6
2016-01-20Created a template for the User GuideSofia Wallin1-4/+6
Please use the userguide.rst to desribce the <Feature> capabilities and usage. This information will be part of the OPNFV user guide. Feel free to use this as a good example, https://gerrit.opnfv.org/gerrit/#/c/7397/ Renamed config-overview.rst to userguide.rst Change-Id: I2ae80920dd4b61837813d379b5b2f0284ef41204 Signed-off-by: Sofia Wallin <sofia.wallin@ericsson.com>