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 OpenStackOperations.OpenStack 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_COMPUTE_1_IP} sg=${SECURITY_GROUP}
76 OpenStackOperations.Create Vm Instance With Port On Compute Node @{PORTS}[1] @{NET_1_VMS}[1] ${OS_COMPUTE_2_IP} sg=${SECURITY_GROUP}
77 OpenStackOperations.Create Vm Instance With Port On Compute Node @{PORTS}[2] @{NET_2_VMS}[0] ${OS_COMPUTE_1_IP} sg=${SECURITY_GROUP}
78 OpenStackOperations.Create Vm Instance With Port On Compute Node @{PORTS}[3] @{NET_2_VMS}[1] ${OS_COMPUTE_2_IP} 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 ${cn1_conn_id} = Tcpdump.Start Packet Capture on Node ${OS_COMPUTE_1_IP} file_Name=tcpDumpCN1
113 ${cn2_conn_id} = Tcpdump.Start Packet Capture on Node ${OS_COMPUTE_2_IP} file_Name=tcpDumpCN2
114 ${os_conn_id} = Tcpdump.Start Packet Capture on Node ${OS_CONTROL_NODE_IP} file_Name=tcpDumpOS
115 ${vm_ips} = BuiltIn.Create List @{NET_1_VM_IPS} @{NET_2_VM_IPS}
116 BuiltIn.Wait Until Keyword Succeeds 30s 10s Utils.Check For Elements At URI ${FIB_ENTRY_URL} ${vm_ips}
117 BuiltIn.Wait Until Keyword Succeeds 30s 10s VpnOperations.Verify Flows Are Present For L3VPN ${OS_COMPUTE_1_IP} ${vm_ips}
118 BuiltIn.Wait Until Keyword Succeeds 30s 10s VpnOperations.Verify Flows Are Present For L3VPN ${OS_COMPUTE_2_IP} ${vm_ips}
119 BuiltIn.Wait Until Keyword Succeeds 30s 10s VpnOperations.Verify GWMAC Entry On ODL ${GWMAC_ADDRS}
120 BuiltIn.Wait Until Keyword Succeeds 30s 10s VpnOperations.Verify GWMAC Flow Entry On Flow Table ${OS_COMPUTE_1_IP}
121 BuiltIn.Wait Until Keyword Succeeds 30s 10s VpnOperations.Verify GWMAC Flow Entry On Flow Table ${OS_COMPUTE_2_IP}
122 ${dst_ip_list} = BuiltIn.Create List @{NET_1_VM_IPS}[1] @{NET_2_VM_IPS}
123 OpenStackOperations.Test Operations From Vm Instance @{NETWORKS}[0] @{NET_1_VM_IPS}[0] ${dst_ip_list}
124 ${dst_ip_list} = BuiltIn.Create List @{NET_2_VM_IPS}[1] @{NET_1_VM_IPS}
125 OpenStackOperations.Test Operations From Vm Instance @{NETWORKS}[1] @{NET_2_VM_IPS}[0] ${dst_ip_list}
126 [Teardown] VpnOperations.Test Teardown With Tcpdump Stop ${cn1_conn_id} ${cn2_conn_id} ${os_conn_id}
128 Add Multiple Extra Routes And Check Datapath Before L3VPN Creation
129 ${CONFIG_EXTRA_ROUTE_IP1} = BuiltIn.Catenate sudo ifconfig eth0:1 @{EXTRA_NW_IP}[0] netmask 255.255.255.0 up
130 ${output} = OpenStackOperations.Execute Command on VM Instance @{NETWORKS}[0] @{NET_1_VM_IPS}[0] ${CONFIG_EXTRA_ROUTE_IP1}
131 ${CONFIG_EXTRA_ROUTE_IP2} = BuiltIn.Catenate sudo ifconfig eth0:2 @{EXTRA_NW_IP}[1] netmask 255.255.255.0 up
132 ${output} = OpenStackOperations.Execute Command on VM Instance @{NETWORKS}[0] @{NET_1_VM_IPS}[0] ${CONFIG_EXTRA_ROUTE_IP2}
133 ${output} = OpenStackOperations.Execute Command on VM Instance @{NETWORKS}[0] @{NET_1_VM_IPS}[0] ifconfig
134 ${ext_rt1} = BuiltIn.Set Variable destination=@{EXTRA_NW_SUBNET}[0],gateway=@{NET_1_VM_IPS}[0]
135 ${ext_rt2} = BuiltIn.Set Variable destination=@{EXTRA_NW_SUBNET}[1],gateway=@{NET_1_VM_IPS}[0]
136 ${cmd} = BuiltIn.Catenate ${RT_OPTIONS} ${ext_rt1} ${RT_OPTIONS} ${ext_rt2}
137 OpenStackOperations.Update Router ${ROUTER} ${cmd}
138 OpenStackOperations.Show Router ${ROUTER} -D
139 ${vm_ips} = BuiltIn.Create List @{EXTRA_NW_SUBNET}
140 BuiltIn.Wait Until Keyword Succeeds 30s 10s Utils.Check For Elements At URI ${FIB_ENTRY_URL} ${vm_ips}
141 ${output} = OpenStackOperations.Execute Command on VM Instance @{NETWORKS}[0] @{NET_1_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}[1] @{NET_2_VM_IPS}[1] ping -c 3 @{EXTRA_NW_IP}[1]
144 BuiltIn.Should Contain ${output} 64 bytes
145 ${output} = OpenStackOperations.Execute Command on VM Instance @{NETWORKS}[0] @{NET_1_VM_IPS}[1] ping -c 3 @{EXTRA_NW_IP}[0]
146 BuiltIn.Should Contain ${output} 64 bytes
149 OpenStackOperations.Update Router ${ROUTER} ${RT_CLEAR}
150 OpenStackOperations.Show Router ${ROUTER} -D
152 Delete And Recreate Extra Route
153 [Documentation] Recreate multiple extra route and check data path before L3VPN creation
154 ${CONFIG_EXTRA_ROUTE_IP1} = BuiltIn.Catenate sudo ifconfig eth0:1 @{EXTRA_NW_IP}[0] netmask 255.255.255.0 up
155 ${output} = OpenStackOperations.Execute Command on VM Instance @{NETWORKS}[0] @{NET_1_VM_IPS}[0] ${CONFIG_EXTRA_ROUTE_IP1}
156 ${ext_rt1} = BuiltIn.Set Variable destination=@{EXTRA_NW_SUBNET}[0],gateway=@{NET_1_VM_IPS}[0]
157 ${cmd} = BuiltIn.Catenate ${RT_OPTIONS} ${ext_rt1}
158 OpenStackOperations.Update Router ${ROUTER} ${cmd}
159 OpenStackOperations.Show Router ${ROUTER} -D
160 ${output} = OpenStackOperations.Execute Command on VM Instance @{NETWORKS}[0] @{NET_1_VM_IPS}[1] ping -c 3 @{EXTRA_NW_IP}[0]
161 BuiltIn.Should Contain ${output} 64 bytes
162 # clear off extra-routes before the next set of tests
163 [Teardown] BuiltIn.Run Keywords OpenStackOperations.Update Router ${ROUTER} ${RT_CLEAR}
164 ... AND OpenStackOperations.Show Router ${ROUTER} -D
165 ... AND OpenStackOperations.Get Test Teardown Debugs
168 ${net_id} = OpenStackOperations.Get Net Id @{NETWORKS}[0]
169 ${tenant_id} = OpenStackOperations.Get Tenant ID From Network ${net_id}
170 BuiltIn.Log @{RDS}[0]
171 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}
172 ${resp}= VpnOperations.VPN Get L3VPN vpnid=@{VPN_INSTANCE_IDS}[0]
173 BuiltIn.Should Contain ${resp} @{VPN_INSTANCE_IDS}[0]
175 Associate L3VPN To Routers
176 ${router_id} = OpenStackOperations.Get Router Id ${ROUTER}
177 VpnOperations.Associate VPN to Router routerid=${router_id} vpnid=@{VPN_INSTANCE_IDS}[0]
178 ${resp} = VpnOperations.VPN Get L3VPN vpnid=@{VPN_INSTANCE_IDS}[0]
179 BuiltIn.Should Contain ${resp} ${router_id}
181 Verify L3VPN Datapath With Router Association
182 ${vm_instances} = BuiltIn.Create List @{NET_1_VM_IPS} @{NET_2_VM_IPS}
183 BuiltIn.Wait Until Keyword Succeeds 30s 10s Utils.Check For Elements At URI ${VPN_IFACES_URL} ${vm_instances}
184 ${RD} = Strip String @{RDS}[0] characters="[]
185 BuiltIn.Wait Until Keyword Succeeds 60s 15s Utils.Check For Elements At URI ${CONFIG_API}/odl-fib:fibEntries/vrfTables/${RD}/ ${vm_instances}
186 BuiltIn.Wait Until Keyword Succeeds 60s 15s VpnOperations.Verify Flows Are Present For L3VPN ${OS_COMPUTE_1_IP} ${vm_instances}
187 BuiltIn.Wait Until Keyword Succeeds 60s 15s VpnOperations.Verify Flows Are Present For L3VPN ${OS_COMPUTE_2_IP} ${vm_instances}
188 BuiltIn.Wait Until Keyword Succeeds 30s 15s VpnOperations.Verify GWMAC Entry On ODL ${GWMAC_ADDRS}
189 BuiltIn.Wait Until Keyword Succeeds 30s 15s VpnOperations.Verify GWMAC Flow Entry On Flow Table ${OS_COMPUTE_1_IP}
190 BuiltIn.Wait Until Keyword Succeeds 30s 15s VpnOperations.Verify GWMAC Flow Entry On Flow Table ${OS_COMPUTE_2_IP}
191 BuiltIn.Log Check datapath from network1 to network2
192 ${dst_ip_list} = BuiltIn.Create List @{NET_1_VM_IPS}[1] @{NET_2_VM_IPS}
193 OpenStackOperations.Test Operations From Vm Instance @{NETWORKS}[0] @{NET_1_VM_IPS}[0] ${dst_ip_list}
194 BuiltIn.Log Check datapath from network2 to network1
195 ${dst_ip_list} = BuiltIn.Create List @{NET_2_VM_IPS}[1] @{NET_1_VM_IPS}
196 OpenStackOperations.Test Operations From Vm Instance @{NETWORKS}[1] @{NET_2_VM_IPS}[0] ${dst_ip_list}
198 Disassociate L3VPN From Router
199 ${router_id}= OpenStackOperations.Get Router Id ${ROUTER}
200 VpnOperations.Dissociate VPN to Router routerid=${router_id} vpnid=@{VPN_INSTANCE_IDS}[0]
201 ${resp}= VpnOperations.VPN Get L3VPN vpnid=@{VPN_INSTANCE_IDS}[0]
202 BuiltIn.Should Not Contain ${resp} ${router_id}
204 Delete Router And Router Interfaces With L3VPN
205 ${router_id}= OpenStackOperations.Get Router Id ${ROUTER}
206 VpnOperations.Associate VPN to Router routerid=${router_id} vpnid=@{VPN_INSTANCE_IDS}[0]
207 ${resp} = VpnOperations.VPN Get L3VPN vpnid=@{VPN_INSTANCE_IDS}[0]
208 BuiltIn.Should Contain ${resp} ${router_id}
209 : FOR ${INTERFACE} IN @{SUBNETS}
210 \ OpenStackOperations.Remove Interface ${ROUTER} ${INTERFACE}
211 ${interface_output} = OpenStackOperations.Show Router Interface ${ROUTER}
212 : FOR ${INTERFACE} IN @{SUBNETS}
213 \ ${subnet_id} = OpenStackOperations.Get Subnet Id ${INTERFACE}
214 \ BuiltIn.Should Not Contain ${interface_output} ${subnet_id}
215 Delete Router ${ROUTER}
216 ${router_output} = OpenStackOperations.List Routers
217 BuiltIn.Should Not Contain ${router_output} ${ROUTER}
218 @{router_list} = BuiltIn.Create List ${ROUTER}
219 BuiltIn.Wait Until Keyword Succeeds 3s 1s Utils.Check For Elements Not At URI ${ROUTER_URL} ${router_list}
220 ${resp} = VpnOperations.VPN Get L3VPN vpnid=@{VPN_INSTANCE_IDS}[0]
221 BuiltIn.Should Not Contain ${resp} ${router_id}
222 BuiltIn.Wait Until Keyword Succeeds 30s 10s VpnOperations.Verify GWMAC Flow Entry Removed From Flow Table ${OS_COMPUTE_1_IP}
223 BuiltIn.Wait Until Keyword Succeeds 30s 10s VpnOperations.Verify GWMAC Flow Entry Removed From Flow Table ${OS_COMPUTE_2_IP}
225 Delete Router With NonExistentRouter Name
226 [Documentation] Delete router with nonExistentRouter name
227 ${rc} ${output}= Run And Return Rc And Output neutron router-delete nonExistentRouter
228 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'
230 Associate L3VPN To Networks
231 [Documentation] Associates L3VPN to networks and verify
232 ${network1_id} = OpenStackOperations.Get Net Id @{NETWORKS}[0]
233 ${network2_id} = OpenStackOperations.Get Net Id @{NETWORKS}[1]
234 VpnOperations.Associate L3VPN To Network networkid=${network1_id} vpnid=@{VPN_INSTANCE_IDS}[0]
235 ${resp} = VpnOperations.VPN Get L3VPN vpnid=@{VPN_INSTANCE_IDS}[0]
236 BuiltIn.Should Contain ${resp} ${network1_id}
237 VpnOperations.Associate L3VPN To Network networkid=${network2_id} vpnid=@{VPN_INSTANCE_IDS}[0]
238 ${resp} = VpnOperations.VPN Get L3VPN vpnid=@{VPN_INSTANCE_IDS}[0]
239 BuiltIn.Should Contain ${resp} ${network2_id}
241 Dissociate L3VPN From Networks
242 [Documentation] Dissociate L3VPN from networks
243 ${network1_id} = OpenStackOperations.Get Net Id @{NETWORKS}[0]
244 ${network2_id} = OpenStackOperations.Get Net Id @{NETWORKS}[1]
245 VpnOperations.Dissociate L3VPN From Networks networkid=${network1_id} vpnid=@{VPN_INSTANCE_IDS}[0]
246 ${resp} = VpnOperations.VPN Get L3VPN vpnid=@{VPN_INSTANCE_IDS}[0]
247 BuiltIn.Should Not Contain ${resp} ${network1_id}
248 VpnOperations.Dissociate L3VPN From Networks networkid=${network2_id} vpnid=@{VPN_INSTANCE_IDS}[0]
249 ${resp}= VpnOperations.VPN Get L3VPN vpnid=@{VPN_INSTANCE_IDS}[0]
250 BuiltIn.Should Not Contain ${resp} ${network2_id}
253 [Documentation] Delete L3VPN
254 VpnOperations.VPN Delete L3VPN vpnid=@{VPN_INSTANCE_IDS}[0]
256 Create Multiple L3VPN
257 [Documentation] Creates three L3VPNs and then verify the same
258 ${net_id} = OpenStackOperations.Get Net Id @{NETWORKS}[0]
259 ${tenant_id} = OpenStackOperations.Get Tenant ID From Network ${net_id}
260 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}
261 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}
262 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}
263 ${resp}= VpnOperations.VPN Get L3VPN vpnid=@{VPN_INSTANCE_IDS}[0]
264 BuiltIn.Should Contain ${resp} @{VPN_INSTANCE_IDS}[0]
265 ${resp}= VpnOperations.VPN Get L3VPN vpnid=@{VPN_INSTANCE_IDS}[1]
266 BuiltIn.Should Contain ${resp} @{VPN_INSTANCE_IDS}[1]
267 ${resp}= VpnOperations.VPN Get L3VPN vpnid=@{VPN_INSTANCE_IDS}[2]
268 BuiltIn.Should Contain ${resp} @{VPN_INSTANCE_IDS}[2]
270 Check Datapath Traffic Across Networks With L3VPN
271 [Documentation] Datapath Test Across the networks with VPN.
273 BuiltIn.Log This test will be added in the next patch
275 Delete Multiple L3VPN
276 [Documentation] Delete three L3VPNs created using Multiple L3VPN Test
277 VpnOperations.VPN Delete L3VPN vpnid=@{VPN_INSTANCE_IDS}[0]
278 VpnOperations.VPN Delete L3VPN vpnid=@{VPN_INSTANCE_IDS}[1]
279 VpnOperations.VPN Delete L3VPN vpnid=@{VPN_INSTANCE_IDS}[2]