- \ Create Port ${network} ${port} sg=${SECURITY_GROUP}
- Wait Until Keyword Succeeds 3s 1s Check For Elements At URI ${PORT_URL} ${PORTS}
- Create Vm Instance With Port On Compute Node ${PORTS[0]} ${VM_NAMES[0]} ${OS_COMPUTE_1_IP} sg=${SECURITY_GROUP}
- Create Vm Instance With Port On Compute Node ${PORTS[1]} ${VM_NAMES[1]} ${OS_COMPUTE_1_IP} sg=${SECURITY_GROUP}
- Create Vm Instance With Port On Compute Node ${PORTS[2]} ${VM_NAMES[2]} ${OS_COMPUTE_2_IP} sg=${SECURITY_GROUP}
- Create Vm Instance With Port On Compute Node ${PORTS[3]} ${VM_NAMES[3]} ${OS_COMPUTE_2_IP} sg=${SECURITY_GROUP}
- @{VM_IPS} ${DHCP_IPS} = Get VM IPs @{VM_NAMES}
- Set Suite Variable @{VM_IPS}
- Should Not Contain ${VM_IPS} None
- Should Not Contain ${DHCP_IPS} None
- ${net_id} = Get Net Id @{NETWORKS}[0] ${devstack_conn_id}
- ${tenant_id} = Get Tenant ID From Network ${net_id}
- VPN Create L3VPN vpnid=${VPN_INSTANCE_IDS[0]} name=${VPN_NAMES[0]} rd=${RD_LIST[0]} exportrt=${RD_LIST[0]} importrt=${RD_LIST[0]} tenantid=${tenant_id}
+ \ OpenStackOperations.Create Port ${network} ${port} sg=${SECURITY_GROUP}
+ BuiltIn.Wait Until Keyword Succeeds 3s 1s Utils.Check For Elements At URI ${PORT_URL} ${PORTS}
+ OpenStackOperations.Create Vm Instance With Port On Compute Node @{PORTS}[0] @{VM_NAMES}[0] ${OS_COMPUTE_1_IP} sg=${SECURITY_GROUP}
+ OpenStackOperations.Create Vm Instance With Port On Compute Node @{PORTS}[1] @{VM_NAMES}[1] ${OS_COMPUTE_1_IP} sg=${SECURITY_GROUP}
+ OpenStackOperations.Create Vm Instance With Port On Compute Node @{PORTS}[2] @{VM_NAMES}[2] ${OS_COMPUTE_2_IP} sg=${SECURITY_GROUP}
+ OpenStackOperations.Create Vm Instance With Port On Compute Node @{PORTS}[3] @{VM_NAMES}[3] ${OS_COMPUTE_2_IP} sg=${SECURITY_GROUP}
+ @{VM_IPS} ${DHCP_IPS} = OpenStackOperations.Get VM IPs @{VM_NAMES}
+ BuiltIn.Set Suite Variable @{VM_IPS}
+ BuiltIn.Should Not Contain ${VM_IPS} None
+ BuiltIn.Should Not Contain ${DHCP_IPS} None
+ ${net_id} = OpenStackOperations.Get Net Id @{NETWORKS}[0] ${devstack_conn_id}
+ ${tenant_id} = OpenStackOperations.Get Tenant ID From Network ${net_id}
+ VpnOperations.VPN Create L3VPN vpnid=@{VPN_INSTANCE_IDS}[0] name=@{VPN_NAMES}[0] rd=@{RD_LIST}[0] exportrt=@{RD_LIST}[0] importrt=@{RD_LIST}[0] tenantid=${tenant_id}