summaryrefslogtreecommitdiffstats
path: root/test/functest/config.yaml
AgeCommit message (Collapse)AuthorFilesLines
2016-12-01Modified testcase_2 according to the Limitations of BoronVenkata Guravareddy1-0/+2
Change-Id: I79fa899a5deb917f5d87298b7c1b2dd17ad7770d JIRA: SDNVPN-85 Signed-off-by: Romanos Skiadas <rski@intracom-telecom.com>
2016-11-18Refactor config global variablesGeorge Paraskevopoulos1-11/+16
- 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-03Fix router assoc in BoronRomanos Skiadas1-0/+1
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 Skiadas1-0/+1
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-15RefactoringRomanos Skiadas1-7/+3
- 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-02Add Router Association testcaseGeorge Paraskevopoulos1-0/+26
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-07-14Add support to push the results to the DBjose.lausuch1-0/+13
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-14Add tempest wrapper to enable the bgpvpn plugin for tempestjose.lausuch1-12/+3
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-12Adding test case 2Tim Irnich1-4/+9
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.lausuch1-22/+39
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.lausuch1-0/+26
JIRA: SDNVPN-19 Change-Id: I358efcb377211182a93b2db43f248ca82c14fb36 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>