Test case for NETVIRT-430 00/69400/17
authorAswin Suryanarayanan <asuryana@redhat.com>
Mon, 12 Mar 2018 19:05:01 +0000 (00:35 +0530)
committerSam Hague <shague@redhat.com>
Fri, 15 Jun 2018 23:40:38 +0000 (23:40 +0000)
Tests FIP-FIP traffic in the same compute node

Change-Id: If0961bec61a0288b054685233547bf5d918c7b85
Signed-off-by: Aswin Suryanarayanan <asuryana@redhat.com>
csit/suites/openstack/connectivity/external_network.robot

index 320364b26b7a41f25d47cb05e864838dceace6d0..b2687d76bf4ce57229a174bbb2cb7ecf295cedf0 100644 (file)
@@ -21,7 +21,7 @@ ${SECURITY_GROUP}    l3_ext_sg
 @{NETWORKS}       l3_ext_net_1    l3_ext_net_2
 @{SUBNETS}        l3_ext_sub_1    l3_ext_sub_2
 @{ROUTERS}        l3_ext_router_1    l3_ext_router_2
-@{NET1_FIP_VMS}    l3_ext_net_1_fip_vm_1    l3_ext_net_1_fip_vm_2
+@{NET1_FIP_VMS}    l3_ext_net_1_fip_vm_1    l3_ext_net_1_fip_vm_2    l3_ext_net_1_fip_vm_3
 @{NET1_SNAT_VMS}    l3_ext_net_1_snat_vm_1    l3_ext_net_1_snat_vm_2
 @{NET2_SNAT_VMS}    l3_ext_net_2_snat_vm_3
 @{SNAT_VMS}       @{NET1_SNAT_VMS}    @{NET2_SNAT_VMS}
@@ -57,6 +57,7 @@ Create Vm Instances
     [Documentation]    Create VM instances using flavor and image names for a network.
     OpenStackOperations.Create Vm Instance On Compute Node    @{NETWORKS}[0]    @{NET1_FIP_VMS}[0]    ${OS_CMP1_HOSTNAME}    sg=${SECURITY_GROUP}
     OpenStackOperations.Create Vm Instance On Compute Node    @{NETWORKS}[0]    @{NET1_FIP_VMS}[1]    ${OS_CMP2_HOSTNAME}    sg=${SECURITY_GROUP}
+    OpenStackOperations.Create Vm Instance On Compute Node    @{NETWORKS}[0]    @{NET1_FIP_VMS}[2]    ${OS_CMP2_HOSTNAME}    sg=${SECURITY_GROUP}
     OpenStackOperations.Create Vm Instance On Compute Node    @{NETWORKS}[0]    @{NET_1_SNAT_VMS}[0]    ${OS_CMP1_HOSTNAME}    sg=${SECURITY_GROUP}
     OpenStackOperations.Create Vm Instance On Compute Node    @{NETWORKS}[0]    @{NET_1_SNAT_VMS}[1]    ${OS_CMP1_HOSTNAME}    sg=${SECURITY_GROUP}
     OpenStackOperations.Create Vm Instance On Compute Node    @{NETWORKS}[1]    @{NET_2_SNAT_VMS}[0]    ${OS_CMP2_HOSTNAME}    sg=${SECURITY_GROUP}
@@ -140,6 +141,11 @@ Ping Vm Instance2 Floating IP From Vm Instance1 With Floating IP (Hairpinning)
     ${dst_ip} =    BuiltIn.Create List    @{VM_FLOATING_IPS}[1]
     OpenStackOperations.Test Operations From Vm Instance    @{NETWORKS}[0]    @{NET1_FIP_VM_IPS}[0]    ${dst_ip}    ttl=1
 
+Connectivity Tests To Vm Instance2 Floating IP From Vm Instance3 With Floating IP (FIP-FIP in the same compute node)
+    [Documentation]    Check reachability of VM instance floating IP from another VM instance with FIP (FIP-FIP in the same compute node)
+    ${dst_ip} =    BuiltIn.Create List    @{VM_FLOATING_IPS}[1]
+    OpenStackOperations.Test Netcat Operations From Vm Instance    @{NETWORKS}[0]    @{NET1_FIP_VM_IPS}[2]    ${dst_ip}
+
 Ping Vm Instance1 Floating IP From SNAT VM Instance1
     [Documentation]    Check reachability of VM instance floating IP from another VM without Floating IP
     ${expect_ping_to_work} =    Set Variable If    "skip_if_controller" in @{TEST_TAGS}    False    True