- Set Suite Variable ${DPN2} ${dpn}
- @{tep_data} = BuiltIn.Create List ${DPN1} ${DPN2} ${DEFAULT_TRANSPORT_ZONE}
- ${itm_data} = Utils.Get Data From URI session ${TRANSPORTZONE_POST_URL}
- : FOR ${data} IN @{tep_data}
- \ BuiltIn.Should Contain ${itm_data} ${data}
- ${tep_show_output} = KarafKeywords.Issue Command On Karaf Console ${TEP_SHOW_STATE}
- BuiltIn.Should Not Contain ${tep_show_output} ${STATUS_CHECK}
- BuiltIn.Should Contain ${tep_show_output} ${DPN1}
- BuiltIn.Should Contain ${tep_show_output} ${DPN2}
- OpenStackOperations.Create Allow All SecurityGroup ${SECURITY_GROUP}
- OpenStackOperations.Create Network @{NETWORKS}[0]
- OpenStackOperations.Create SubNet @{NETWORKS}[0] @{SUBNETS}[0] @{SUBNET_CIDRS}[0]
- OpenStackOperations.Create Port @{NETWORKS}[0] @{PORTS}[0] sg=${SECURITY_GROUP}
- OpenStackOperations.Create Port @{NETWORKS}[0] @{PORTS}[1] sg=${SECURITY_GROUP}
- OpenStackOperations.Create Vm Instance With Port On Compute Node @{PORTS}[0] @{NET_1_VMS}[0] ${OS_CMP1_HOSTNAME} sg=${SECURITY_GROUP}
- OpenStackOperations.Create Vm Instance With Port On Compute Node @{PORTS}[1] @{NET_1_VMS}[1] ${OS_CMP2_HOSTNAME} sg=${SECURITY_GROUP}
- ${VM1_IP} ${dhcp1} ${console} = BuiltIn.Wait Until Keyword Succeeds 240s 10s OpenStackOperations.Get VM IP
- ... true @{NET_1_VMS}[0]
- BuiltIn.Set Suite Variable ${VM1_IP}
- ${VM2_IP} ${dhcp2} ${console1} = BuiltIn.Wait Until Keyword Succeeds 240s 10s OpenStackOperations.Get VM IP
- ... true @{NET_1_VMS}[1]
- BuiltIn.Set Suite Variable ${VM2_IP}
- ${output} = OpenStackOperations.Execute Command on VM Instance @{NETWORKS}[0] ${VM1_IP} ping -c ${DEFAULT_PING_COUNT} ${VM2_IP}
- BuiltIn.Should Contain ${output} ${PING_REGEXP}
+ BuiltIn.Set Suite Variable ${DPN2} ${dpn}
+ ${ip} = OvsManager.Get OVS Local Ip ${TOOLS_SYSTEM_1_IP}
+ BuiltIn.Set Suite Variable ${LOCAL_IP_COMPUTE1} ${ip}
+ ${ip} = OvsManager.Get OVS Local Ip ${TOOLS_SYSTEM_2_IP}
+ BuiltIn.Set Suite Variable ${LOCAL_IP_COMPUTE2} ${ip}
+ BuiltIn.Wait Until Keyword Succeeds 3x 10 sec Genius.Verify Tunnel Status as UP ${DEFAULT_TRANSPORT_ZONE}