2 Documentation Test suite to validate vpnservice functionality in an openstack integrated environment.
3 ... The assumption of this suite is that the environment is already configured with the proper
4 ... integration bridges and vxlan tunnels.
5 Suite Setup VpnOperations.Basic Suite Setup
6 Suite Teardown OpenStackOperations.OpenStack Suite Teardown
7 Test Setup SetupUtils.Setup_Test_With_Logging_And_Without_Fast_Failing
8 Test Teardown OpenStackOperations.Get Test Teardown Debugs
9 Library OperatingSystem
10 Library RequestsLibrary
11 Resource ../../../libraries/Utils.robot
12 Resource ../../../libraries/OpenStackOperations.robot
13 Resource ../../../libraries/DevstackUtils.robot
14 Resource ../../../libraries/VpnOperations.robot
15 Resource ../../../libraries/OVSDB.robot
16 Resource ../../../libraries/SetupUtils.robot
17 Resource ../../../libraries/Tcpdump.robot
18 Resource ../../../variables/Variables.robot
19 Resource ../../../variables/netvirt/Variables.robot
22 ${SECURITY_GROUP} vpn_sg
23 @{NETWORKS} vpn_net_1 vpn_net_2
24 @{SUBNETS} vpn_sub_1 vpn_sub_2
25 @{SUBNET_CIDRS} 10.1.1.0/24 20.1.1.0/24
26 @{PORTS} vpn_net_1_port_1 vpn_net_1_port_2 vpn_net_2_port_1 vpn_net_2_port_2
27 @{NET_1_VMS} vpn_net_1_vm_1 vpn_net_1_vm_2
28 @{NET_2_VMS} vpn_net_2_vm_1 vpn_net_2_vm_2
30 @{EXTRA_NW_IP} 71.1.1.2 72.1.1.2
31 @{EXTRA_NW_SUBNET} 71.1.1.0/24 72.1.1.0/24
32 ${UPDATE_NETWORK} UpdateNetwork
33 ${UPDATE_SUBNET} UpdateSubnet
34 ${UPDATE_PORT} UpdatePort
35 @{VPN_INSTANCE_IDS} 4ae8cd92-48ca-49b5-94e1-b2921a261441 4ae8cd92-48ca-49b5-94e1-b2921a261442 4ae8cd92-48ca-49b5-94e1-b2921a261443
36 @{VPN_NAMES} vpn_1 vpn_2 vpn_3
37 @{RDS} ["2200:2"] ["2300:2"] ["2400:2"]
40 Create Neutron Networks
41 # TODO: Many of these steps to verify if updates occurred should be in a different suite
42 # that is checking for such operations.
43 OpenStackOperations.Create Network @{NETWORKS}[0]
44 OpenStackOperations.Create Network @{NETWORKS}[1]
45 BuiltIn.Wait Until Keyword Succeeds 3s 1s Utils.Check For Elements At URI ${NETWORK_URL} ${NETWORKS}
46 OpenStackOperations.Update Network @{NETWORKS}[0] additional_args=--description ${UPDATE_NETWORK}
47 ${output} = OpenStackOperations.Show Network @{NETWORKS}[0]
48 BuiltIn.Should Contain ${output} ${UPDATE_NETWORK}
50 Create Neutron Subnets
51 OpenStackOperations.Create SubNet @{NETWORKS}[0] @{SUBNETS}[0] @{SUBNET_CIDRS}[0]
52 OpenStackOperations.Create SubNet @{NETWORKS}[1] @{SUBNETS}[1] @{SUBNET_CIDRS}[1]
53 BuiltIn.Wait Until Keyword Succeeds 3s 1s Utils.Check For Elements At URI ${SUBNETWORK_URL} ${SUBNETS}
54 OpenStackOperations.Update SubNet @{SUBNETS}[0] additional_args=--description ${UPDATE_SUBNET}
55 ${output} = OpenStackOperations.Show SubNet @{SUBNETS}[0]
56 BuiltIn.Should Contain ${output} ${UPDATE_SUBNET}
58 Add Ssh Allow All Rule
59 OpenStackOperations.Create Allow All SecurityGroup ${SECURITY_GROUP}
62 ${allowed_address_pairs_args}= Set Variable If '${OPENSTACK_BRANCH}'=='stable/newton' --allowed-address ip_address=@{EXTRA_NW_SUBNET}[0] --allowed-address ip_address=@{EXTRA_NW_SUBNET}[1] --allowed-address ip-address=@{EXTRA_NW_SUBNET}[0] --allowed-address ip-address=@{EXTRA_NW_SUBNET}[1]
63 Create Port @{NETWORKS}[0] @{PORTS}[0] sg=${SECURITY_GROUP} additional_args=${allowed_address_pairs_args}
64 Create Port @{NETWORKS}[0] @{PORTS}[1] sg=${SECURITY_GROUP} additional_args=${allowed_address_pairs_args}
65 Create Port @{NETWORKS}[1] @{PORTS}[2] sg=${SECURITY_GROUP} additional_args=${allowed_address_pairs_args}
66 Create Port @{NETWORKS}[1] @{PORTS}[3] sg=${SECURITY_GROUP} additional_args=${allowed_address_pairs_args}
67 Wait Until Keyword Succeeds 3s 1s Check For Elements At URI ${CONFIG_API}/neutron:neutron/ports/ ${PORTS}
68 ${PORTS_MACADDR} = Get Ports MacAddr ${PORTS}
69 Set Suite Variable ${PORTS_MACADDR}
70 Update Port @{PORTS}[0] additional_args=--description ${UPDATE_PORT}
71 ${output} = Show Port @{PORTS}[0]
72 Should Contain ${output} ${UPDATE_PORT}
75 OpenStackOperations.Create Vm Instance With Port On Compute Node @{PORTS}[0] @{NET_1_VMS}[0] ${OS_CMP1_HOSTNAME} sg=${SECURITY_GROUP}
76 OpenStackOperations.Create Vm Instance With Port On Compute Node @{PORTS}[1] @{NET_1_VMS}[1] ${OS_CMP2_HOSTNAME} sg=${SECURITY_GROUP}
77 OpenStackOperations.Create Vm Instance With Port On Compute Node @{PORTS}[2] @{NET_2_VMS}[0] ${OS_CMP1_HOSTNAME} sg=${SECURITY_GROUP}
78 OpenStackOperations.Create Vm Instance With Port On Compute Node @{PORTS}[3] @{NET_2_VMS}[1] ${OS_CMP2_HOSTNAME} sg=${SECURITY_GROUP}
79 @{NET_1_VM_IPS} ${NET_1_DHCP_IP} = OpenStackOperations.Get VM IPs @{NET_1_VMS}
80 @{NET_2_VM_IPS} ${NET_2_DHCP_IP} = OpenStackOperations.Get VM IPs @{NET_2_VMS}
81 BuiltIn.Set Suite Variable @{NET_1_VM_IPS}
82 BuiltIn.Set Suite Variable @{NET_2_VM_IPS}
83 BuiltIn.Should Not Contain ${NET_1_VM_IPS} None
84 BuiltIn.Should Not Contain ${NET_2_VM_IPS} None
85 BuiltIn.Should Not Contain ${NET_1_DHCP_IP} None
86 BuiltIn.Should Not Contain ${NET_2_DHCP_IP} None
87 BuiltIn.Wait Until Keyword Succeeds 30s 10s Wait For Routes To Propogate ${NETWORKS} ${SUBNET_CIDRS}
88 [Teardown] BuiltIn.Run Keywords OpenStackOperations.Show Debugs @{NET_1_VMS} @{NET_2_VMS}
89 ... AND OpenStackOperations.Get Test Teardown Debugs
91 Check ELAN Datapath Traffic Within The Networks
92 [Documentation] Checks datapath within the same network with different vlans.
93 ${output} = OpenStackOperations.Execute Command on VM Instance @{NETWORKS}[0] @{NET_1_VM_IPS}[0] ping -c 3 @{NET_1_VM_IPS}[1]
94 BuiltIn.Should Contain ${output} 64 bytes
95 ${output} = OpenStackOperations.Execute Command on VM Instance @{NETWORKS}[1] @{NET_2_VM_IPS}[0] ping -c 3 @{NET_2_VM_IPS}[1]
96 BuiltIn.Should Contain ${output} 64 bytes
99 OpenStackOperations.Create Router ${ROUTER}
100 ${router_list} = BuiltIn.Create List ${ROUTER}
101 BuiltIn.Wait Until Keyword Succeeds 3s 1s Utils.Check For Elements At URI ${ROUTER_URL} ${router_list}
103 Add Interfaces To Router
104 : FOR ${interface} IN @{SUBNETS}
105 \ OpenStackOperations.Add Router Interface ${ROUTER} ${interface}
106 ${interface_output} = OpenStackOperations.Show Router Interface ${ROUTER}
107 ${GWMAC_ADDRS} ${GWIP_ADDRS} = VpnOperations.Get Gateway MAC And IP Address ${ROUTER}
108 BuiltIn.Set Suite Variable ${GWMAC_ADDRS}
109 BuiltIn.Set Suite Variable ${GWIP_ADDRS}
111 Check L3_Datapath Traffic Across Networks With Router
112 @{tcpdump_conn_ids} = OpenStackOperations.Start Packet Capture On Nodes tcpdump_vpn ${EMPTY} ${OS_CONTROL_NODE_IP} ${OS_COMPUTE_1_IP} ${OS_COMPUTE_2_IP}
113 ${vm_ips} = BuiltIn.Create List @{NET_1_VM_IPS} @{NET_2_VM_IPS}
114 BuiltIn.Wait Until Keyword Succeeds 30s 10s Utils.Check For Elements At URI ${FIB_ENTRY_URL} ${vm_ips}
115 BuiltIn.Wait Until Keyword Succeeds 30s 10s VpnOperations.Verify Flows Are Present For L3VPN ${OS_COMPUTE_1_IP} ${vm_ips}
116 BuiltIn.Wait Until Keyword Succeeds 30s 10s VpnOperations.Verify Flows Are Present For L3VPN ${OS_COMPUTE_2_IP} ${vm_ips}
117 BuiltIn.Wait Until Keyword Succeeds 30s 10s VpnOperations.Verify GWMAC Entry On ODL ${GWMAC_ADDRS}
118 BuiltIn.Wait Until Keyword Succeeds 30s 10s VpnOperations.Verify GWMAC Flow Entry On Flow Table ${OS_COMPUTE_1_IP}
119 BuiltIn.Wait Until Keyword Succeeds 30s 10s VpnOperations.Verify GWMAC Flow Entry On Flow Table ${OS_COMPUTE_2_IP}
120 ${dst_ip_list} = BuiltIn.Create List @{NET_1_VM_IPS}[1] @{NET_2_VM_IPS}
121 OpenStackOperations.Test Operations From Vm Instance @{NETWORKS}[0] @{NET_1_VM_IPS}[0] ${dst_ip_list}
122 ${dst_ip_list} = BuiltIn.Create List @{NET_2_VM_IPS}[1] @{NET_1_VM_IPS}
123 OpenStackOperations.Test Operations From Vm Instance @{NETWORKS}[1] @{NET_2_VM_IPS}[0] ${dst_ip_list}
124 [Teardown] VpnOperations.Test Teardown With Tcpdump Stop ${tcpdump_conn_ids}
126 Add Multiple Extra Routes And Check Datapath Before L3VPN Creation
127 ${CONFIG_EXTRA_ROUTE_IP1} = BuiltIn.Catenate sudo ifconfig eth0:1 @{EXTRA_NW_IP}[0] netmask 255.255.255.0 up
128 ${output} = OpenStackOperations.Execute Command on VM Instance @{NETWORKS}[0] @{NET_1_VM_IPS}[0] ${CONFIG_EXTRA_ROUTE_IP1}
129 ${CONFIG_EXTRA_ROUTE_IP2} = BuiltIn.Catenate sudo ifconfig eth0:2 @{EXTRA_NW_IP}[1] netmask 255.255.255.0 up
130 ${output} = OpenStackOperations.Execute Command on VM Instance @{NETWORKS}[0] @{NET_1_VM_IPS}[0] ${CONFIG_EXTRA_ROUTE_IP2}
131 ${output} = OpenStackOperations.Execute Command on VM Instance @{NETWORKS}[0] @{NET_1_VM_IPS}[0] ifconfig
132 ${ext_rt1} = BuiltIn.Set Variable destination=@{EXTRA_NW_SUBNET}[0],gateway=@{NET_1_VM_IPS}[0]
133 ${ext_rt2} = BuiltIn.Set Variable destination=@{EXTRA_NW_SUBNET}[1],gateway=@{NET_1_VM_IPS}[0]
134 ${cmd} = BuiltIn.Catenate ${RT_OPTIONS} ${ext_rt1} ${RT_OPTIONS} ${ext_rt2}
135 OpenStackOperations.Update Router ${ROUTER} ${cmd}
136 OpenStackOperations.Show Router ${ROUTER} -D
137 ${vm_ips} = BuiltIn.Create List @{EXTRA_NW_SUBNET}
138 BuiltIn.Wait Until Keyword Succeeds 30s 10s Utils.Check For Elements At URI ${FIB_ENTRY_URL} ${vm_ips}
139 ${output} = OpenStackOperations.Execute Command on VM Instance @{NETWORKS}[0] @{NET_1_VM_IPS}[1] ping -c 3 @{EXTRA_NW_IP}[1]
140 BuiltIn.Should Contain ${output} 64 bytes
141 ${output} = OpenStackOperations.Execute Command on VM Instance @{NETWORKS}[1] @{NET_2_VM_IPS}[1] ping -c 3 @{EXTRA_NW_IP}[1]
142 BuiltIn.Should Contain ${output} 64 bytes
143 ${output} = OpenStackOperations.Execute Command on VM Instance @{NETWORKS}[0] @{NET_1_VM_IPS}[1] ping -c 3 @{EXTRA_NW_IP}[0]
144 BuiltIn.Should Contain ${output} 64 bytes
147 OpenStackOperations.Update Router ${ROUTER} ${RT_CLEAR}
148 OpenStackOperations.Show Router ${ROUTER} -D
150 Delete And Recreate Extra Route
151 [Documentation] Recreate multiple extra route and check data path before L3VPN creation
152 ${CONFIG_EXTRA_ROUTE_IP1} = BuiltIn.Catenate sudo ifconfig eth0:1 @{EXTRA_NW_IP}[0] netmask 255.255.255.0 up
153 ${output} = OpenStackOperations.Execute Command on VM Instance @{NETWORKS}[0] @{NET_1_VM_IPS}[0] ${CONFIG_EXTRA_ROUTE_IP1}
154 ${ext_rt1} = BuiltIn.Set Variable destination=@{EXTRA_NW_SUBNET}[0],gateway=@{NET_1_VM_IPS}[0]
155 ${cmd} = BuiltIn.Catenate ${RT_OPTIONS} ${ext_rt1}
156 OpenStackOperations.Update Router ${ROUTER} ${cmd}
157 OpenStackOperations.Show Router ${ROUTER} -D
158 ${output} = OpenStackOperations.Execute Command on VM Instance @{NETWORKS}[0] @{NET_1_VM_IPS}[1] ping -c 3 @{EXTRA_NW_IP}[0]
159 BuiltIn.Should Contain ${output} 64 bytes
160 # clear off extra-routes before the next set of tests
161 [Teardown] BuiltIn.Run Keywords OpenStackOperations.Update Router ${ROUTER} ${RT_CLEAR}
162 ... AND OpenStackOperations.Show Router ${ROUTER} -D
163 ... AND OpenStackOperations.Get Test Teardown Debugs
166 ${net_id} = OpenStackOperations.Get Net Id @{NETWORKS}[0]
167 ${tenant_id} = OpenStackOperations.Get Tenant ID From Network ${net_id}
168 BuiltIn.Log @{RDS}[0]
169 VpnOperations.VPN Create L3VPN vpnid=@{VPN_INSTANCE_IDS}[0] name=@{VPN_NAMES}[0] rd=@{RDS}[0] exportrt=@{RDS}[0] importrt=@{RDS}[0] tenantid=${tenant_id}
170 ${resp}= VpnOperations.VPN Get L3VPN vpnid=@{VPN_INSTANCE_IDS}[0]
171 BuiltIn.Should Contain ${resp} @{VPN_INSTANCE_IDS}[0]
173 Associate L3VPN To Routers
174 ${router_id} = OpenStackOperations.Get Router Id ${ROUTER}
175 VpnOperations.Associate VPN to Router routerid=${router_id} vpnid=@{VPN_INSTANCE_IDS}[0]
176 ${resp} = VpnOperations.VPN Get L3VPN vpnid=@{VPN_INSTANCE_IDS}[0]
177 BuiltIn.Should Contain ${resp} ${router_id}
179 Verify L3VPN Datapath With Router Association
180 ${vm_instances} = BuiltIn.Create List @{NET_1_VM_IPS} @{NET_2_VM_IPS}
181 BuiltIn.Wait Until Keyword Succeeds 30s 10s Utils.Check For Elements At URI ${VPN_IFACES_URL} ${vm_instances}
182 ${RD} = Strip String @{RDS}[0] characters="[]
183 BuiltIn.Wait Until Keyword Succeeds 60s 15s Utils.Check For Elements At URI ${CONFIG_API}/odl-fib:fibEntries/vrfTables/${RD}/ ${vm_instances}
184 BuiltIn.Wait Until Keyword Succeeds 60s 15s VpnOperations.Verify Flows Are Present For L3VPN ${OS_COMPUTE_1_IP} ${vm_instances}
185 BuiltIn.Wait Until Keyword Succeeds 60s 15s VpnOperations.Verify Flows Are Present For L3VPN ${OS_COMPUTE_2_IP} ${vm_instances}
186 BuiltIn.Wait Until Keyword Succeeds 30s 15s VpnOperations.Verify GWMAC Entry On ODL ${GWMAC_ADDRS}
187 BuiltIn.Wait Until Keyword Succeeds 30s 15s VpnOperations.Verify GWMAC Flow Entry On Flow Table ${OS_COMPUTE_1_IP}
188 BuiltIn.Wait Until Keyword Succeeds 30s 15s VpnOperations.Verify GWMAC Flow Entry On Flow Table ${OS_COMPUTE_2_IP}
189 BuiltIn.Log Check datapath from network1 to network2
190 ${dst_ip_list} = BuiltIn.Create List @{NET_1_VM_IPS}[1] @{NET_2_VM_IPS}
191 OpenStackOperations.Test Operations From Vm Instance @{NETWORKS}[0] @{NET_1_VM_IPS}[0] ${dst_ip_list}
192 BuiltIn.Log Check datapath from network2 to network1
193 ${dst_ip_list} = BuiltIn.Create List @{NET_2_VM_IPS}[1] @{NET_1_VM_IPS}
194 OpenStackOperations.Test Operations From Vm Instance @{NETWORKS}[1] @{NET_2_VM_IPS}[0] ${dst_ip_list}
196 Disassociate L3VPN From Router
197 ${router_id}= OpenStackOperations.Get Router Id ${ROUTER}
198 VpnOperations.Dissociate VPN to Router routerid=${router_id} vpnid=@{VPN_INSTANCE_IDS}[0]
199 ${resp}= VpnOperations.VPN Get L3VPN vpnid=@{VPN_INSTANCE_IDS}[0]
200 BuiltIn.Should Not Contain ${resp} ${router_id}
202 Delete Router And Router Interfaces With L3VPN
203 ${router_id}= OpenStackOperations.Get Router Id ${ROUTER}
204 VpnOperations.Associate VPN to Router routerid=${router_id} vpnid=@{VPN_INSTANCE_IDS}[0]
205 ${resp} = VpnOperations.VPN Get L3VPN vpnid=@{VPN_INSTANCE_IDS}[0]
206 BuiltIn.Should Contain ${resp} ${router_id}
207 : FOR ${INTERFACE} IN @{SUBNETS}
208 \ OpenStackOperations.Remove Interface ${ROUTER} ${INTERFACE}
209 ${interface_output} = OpenStackOperations.Show Router Interface ${ROUTER}
210 : FOR ${INTERFACE} IN @{SUBNETS}
211 \ ${subnet_id} = OpenStackOperations.Get Subnet Id ${INTERFACE}
212 \ BuiltIn.Should Not Contain ${interface_output} ${subnet_id}
213 Delete Router ${ROUTER}
214 ${router_output} = OpenStackOperations.List Routers
215 BuiltIn.Should Not Contain ${router_output} ${ROUTER}
216 @{router_list} = BuiltIn.Create List ${ROUTER}
217 BuiltIn.Wait Until Keyword Succeeds 3s 1s Utils.Check For Elements Not At URI ${ROUTER_URL} ${router_list}
218 ${resp} = VpnOperations.VPN Get L3VPN vpnid=@{VPN_INSTANCE_IDS}[0]
219 BuiltIn.Should Not Contain ${resp} ${router_id}
220 BuiltIn.Wait Until Keyword Succeeds 30s 10s VpnOperations.Verify GWMAC Flow Entry Removed From Flow Table ${OS_COMPUTE_1_IP}
221 BuiltIn.Wait Until Keyword Succeeds 30s 10s VpnOperations.Verify GWMAC Flow Entry Removed From Flow Table ${OS_COMPUTE_2_IP}
223 Delete Router With NonExistentRouter Name
224 [Documentation] Delete router with nonExistentRouter name
225 ${rc} ${output}= Run And Return Rc And Output neutron router-delete nonExistentRouter
226 BuiltIn.Should Match Regexp ${output} Unable Not At URIto find router with name or id 'nonExistentRouter'|Unable to find router\\(s\\) with id\\(s\\) 'nonExistentRouter'
228 Associate L3VPN To Networks
229 [Documentation] Associates L3VPN to networks and verify
230 ${network1_id} = OpenStackOperations.Get Net Id @{NETWORKS}[0]
231 ${network2_id} = OpenStackOperations.Get Net Id @{NETWORKS}[1]
232 VpnOperations.Associate L3VPN To Network networkid=${network1_id} vpnid=@{VPN_INSTANCE_IDS}[0]
233 ${resp} = VpnOperations.VPN Get L3VPN vpnid=@{VPN_INSTANCE_IDS}[0]
234 BuiltIn.Should Contain ${resp} ${network1_id}
235 VpnOperations.Associate L3VPN To Network networkid=${network2_id} vpnid=@{VPN_INSTANCE_IDS}[0]
236 ${resp} = VpnOperations.VPN Get L3VPN vpnid=@{VPN_INSTANCE_IDS}[0]
237 BuiltIn.Should Contain ${resp} ${network2_id}
239 Dissociate L3VPN From Networks
240 [Documentation] Dissociate L3VPN from networks
241 ${network1_id} = OpenStackOperations.Get Net Id @{NETWORKS}[0]
242 ${network2_id} = OpenStackOperations.Get Net Id @{NETWORKS}[1]
243 VpnOperations.Dissociate L3VPN From Networks networkid=${network1_id} vpnid=@{VPN_INSTANCE_IDS}[0]
244 ${resp} = VpnOperations.VPN Get L3VPN vpnid=@{VPN_INSTANCE_IDS}[0]
245 BuiltIn.Should Not Contain ${resp} ${network1_id}
246 VpnOperations.Dissociate L3VPN From Networks networkid=${network2_id} vpnid=@{VPN_INSTANCE_IDS}[0]
247 ${resp}= VpnOperations.VPN Get L3VPN vpnid=@{VPN_INSTANCE_IDS}[0]
248 BuiltIn.Should Not Contain ${resp} ${network2_id}
251 [Documentation] Delete L3VPN
252 VpnOperations.VPN Delete L3VPN vpnid=@{VPN_INSTANCE_IDS}[0]
254 Create Multiple L3VPN
255 [Documentation] Creates three L3VPNs and then verify the same
256 ${net_id} = OpenStackOperations.Get Net Id @{NETWORKS}[0]
257 ${tenant_id} = OpenStackOperations.Get Tenant ID From Network ${net_id}
258 VpnOperations.VPN Create L3VPN vpnid=@{VPN_INSTANCE_IDS}[0] name=@{VPN_NAMES}[0] rd=@{RDS}[0] exportrt=@{RDS}[0] importrt=@{RDS}[0] tenantid=${tenant_id}
259 VpnOperations.VPN Create L3VPN vpnid=@{VPN_INSTANCE_IDS}[1] name=@{VPN_NAMES}[1] rd=@{RDS}[1] exportrt=@{RDS}[1] importrt=@{RDS}[1] tenantid=${tenant_id}
260 VpnOperations.VPN Create L3VPN vpnid=@{VPN_INSTANCE_IDS}[2] name=@{VPN_NAMES}[2] rd=@{RDS}[2] exportrt=@{RDS}[2] importrt=@{RDS}[2] tenantid=${tenant_id}
261 ${resp}= VpnOperations.VPN Get L3VPN vpnid=@{VPN_INSTANCE_IDS}[0]
262 BuiltIn.Should Contain ${resp} @{VPN_INSTANCE_IDS}[0]
263 ${resp}= VpnOperations.VPN Get L3VPN vpnid=@{VPN_INSTANCE_IDS}[1]
264 BuiltIn.Should Contain ${resp} @{VPN_INSTANCE_IDS}[1]
265 ${resp}= VpnOperations.VPN Get L3VPN vpnid=@{VPN_INSTANCE_IDS}[2]
266 BuiltIn.Should Contain ${resp} @{VPN_INSTANCE_IDS}[2]
268 Check Datapath Traffic Across Networks With L3VPN
269 [Documentation] Datapath Test Across the networks with VPN.
271 BuiltIn.Log This test will be added in the next patch
273 Delete Multiple L3VPN
274 [Documentation] Delete three L3VPNs created using Multiple L3VPN Test
275 VpnOperations.VPN Delete L3VPN vpnid=@{VPN_INSTANCE_IDS}[0]
276 VpnOperations.VPN Delete L3VPN vpnid=@{VPN_INSTANCE_IDS}[1]
277 VpnOperations.VPN Delete L3VPN vpnid=@{VPN_INSTANCE_IDS}[2]