... presence of LPort tags, ELAN tags and MPLS labels on the
... wire and instead, replaces them with VNIs supplied by the
... tenant’s OpenStack.
-Suite Setup Start Suite
-Suite Teardown Stop Suite
+Suite Setup Suite Setup
+Suite Teardown Suite Teardown
Test Setup VpnOperations.VNI Test Setup
Test Teardown VpnOperations.VNI Test Teardown
Library OperatingSystem
*** Test Cases ***
VNI Based L2 Switching
[Documentation] verify VNI id for L2 Unicast frames exchanged over OVS datapaths that are on different hypervisors
- BuiltIn.Pass Execution If "${OS_DEPLOY}" == "1cmb-0ctl-0cmp" "Test is not supported for combo node"
+ BuiltIn.Pass Execution If "${OPENSTACK_TOPO}" == "1cmb-0ctl-0cmp" "Test is not supported for combo node"
${port_mac1} = OpenStackOperations.Get Port Mac @{VNI_NET_1_PORTS}[0]
${port_mac2} = OpenStackOperations.Get Port Mac @{VNI_NET_1_PORTS}[1]
${segmentation_id} = OpenStackOperations.Get Network Segmentation Id @{VNI_NETWORKS}[0]
BuiltIn.Should Be True ${diff_count_ingress_port2} >= ${DEFAULT_PING_COUNT}
*** Keywords ***
-Start Suite
+Suite Setup
[Documentation] Create Basic setup for the feature. Creates single network, subnet, two ports and two VMs.
- BuiltIn.Return From Keyword If "${OS_DEPLOY}" == "1cmb-0ctl-0cmp"
+ BuiltIn.Return From Keyword If "${OPENSTACK_TOPO}" == "1cmb-0ctl-0cmp"
VpnOperations.Basic Suite Setup
OpenStackOperations.Create Allow All SecurityGroup ${VNI_SECURITY_GROUP}
OpenStackOperations.Create Network @{VNI_NETWORKS}[0]
BuiltIn.Set Suite Variable @{VNI_NET_1_VM_IPS}
BuiltIn.Should Not Contain ${VNI_NET_1_VM_IPS} None
BuiltIn.Should Not Contain ${vni_net_1_dhcp_ip} None
- Get OvsDebugInfo
+ OpenStackOperations.Show Debugs @{NET_1_VMS}
+ OpenStackOperations.Get Suite Debugs
-Stop Suite
- BuiltIn.Return From Keyword If "${OS_DEPLOY}" == "1cmb-0ctl-0cmp"
+Suite Teardown
+ BuiltIn.Return From Keyword If "${OPENSTACK_TOPO}" == "1cmb-0ctl-0cmp"
OpenStackOperations.OpenStack Suite Teardown