From 75589404a758145d18bdcb7f5813c818f12b3729 Mon Sep 17 00:00:00 2001 From: George Paraskevopoulos Date: Thu, 1 Sep 2016 16:09:40 +0300 Subject: Add Router Association testcase 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 (cherry picked from commit 4d71268bc127fa0e92285fd4550dea794de2ee8f) --- test/functest/config.yaml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) (limited to 'test/functest/config.yaml') diff --git a/test/functest/config.yaml b/test/functest/config.yaml index 521b517..93f3552 100644 --- a/test/functest/config.yaml +++ b/test/functest/config.yaml @@ -68,3 +68,29 @@ testcases: succes_criteria: 100 # all the subtests must pass testname_db: functest_testcase_3 + testcase_4: + enabled: false + description: VPN provides connectivity between subnets using router association + succes_criteria: 75 # we let fail 25% of the subtests + testname_db: functest_testcase_4 + ping_timeout: 200 + flavor: m1.tiny # adapt to your environment + instance_1_name: sdnvpn-4-1 + instance_2_name: sdnvpn-4-2 + instance_3_name: sdnvpn-4-3 + instance_4_name: sdnvpn-4-4 + instance_5_name: sdnvpn-4-5 + image_name: sdnvpn-image + net_1_name: sdnvpn-4-1-net + subnet_1_name: sdnvpn-4-1-subnet + subnet_1_cidr: 10.10.10.0/24 + router_1_name: sdnvpn-4-1-router + net_2_name: sdnvpn-4-2-net + subnet_2_name: sdnvpn-4-2-subnet + subnet_2_cidr: 10.10.11.0/24 + router_2_name: sdnvpn-4-2-router + sdnvpn_sg_name: sdnvpn-sg + sdnvpn_sg_descr: Security group for SDNVPN test cases + targets1: '88:88' + targets2: '55:55' + -- cgit 1.2.3-korg