CSIT-158: Tap interface tests
[csit.git] / tests / suites / vrf / vrf_tests.robot
1 # Copyright (c) 2016 Cisco and/or its affiliates.
2 # Licensed under the Apache License, Version 2.0 (the "License");
3 # you may not use this file except in compliance with the License.
4 # You may obtain a copy of the License at:
5 #
6 #     http://www.apache.org/licenses/LICENSE-2.0
7 #
8 # Unless required by applicable law or agreed to in writing, software
9 # distributed under the License is distributed on an "AS IS" BASIS,
10 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11 # See the License for the specific language governing permissions and
12 # limitations under the License.
13
14 *** Settings ***
15 | Resource | resources/libraries/robot/default.robot
16 | Resource | resources/libraries/robot/ipv4.robot
17 | Resource | resources/libraries/robot/ipv6.robot
18 | Resource | resources/libraries/robot/interfaces.robot
19 | Resource | resources/libraries/robot/testing_path.robot
20 | Resource | resources/libraries/robot/traffic.robot
21 | Resource | resources/libraries/robot/l2_traffic.robot
22 | Library  | resources.libraries.python.Trace
23 | Library  | resources.libraries.python.IPUtil
24 | Force Tags | HW_ENV | VM_ENV | 3_NODE_DOUBLE_LINK_TOPO
25 | Test Setup | Run Keywords | Setup all DUTs before test
26 | ...        | AND          | Setup all TGs before traffic script
27 | Test Teardown | Show Packet Trace on All DUTs | ${nodes}
28 | Documentation | *Vpn routed forwarding - baseline*
29 | ... | *[Top] Network Topologies:* TG=DUT1=DUT2=TG 3-node topology with two
30 | ... | links in between nodes.
31 | ... | *[Enc] Packet Encapsulations:* Eth-IPv4-ICMPv4 for L2 switching of
32 | ... | IPv4.
33 | ... | *[Cfg] DUT configuration:*Each DUT is configured with two VRF tables;
34 | ... | Separation of traffic is tested by IP packets; Basic ARP and ROUTES are
35 | ... | set on DUT nodes; IP addresses are set on DUT interfaces.
36 | ... | *[Ver] TG verification:* Test ICMPv4 Echo Request packets
37 | ... | are sent by TG on link to DUT1, DUT2 or back to TG; On receipt TG
38 | ... | verifies packets for correctness and their IPv4 src-addr, dst-addr,
39 | ... | and MAC addresses.
40 | ... | *[Ref] Applicable standard specifications:*
41
42 *** Variables ***
43 | ${fib_table_1}= | 9
44 | ${fib_table_2}= | 99
45
46 | ${dut1_to_tg_ip1}= | 10.0.0.3
47 | ${dut1_to_tg_ip2}= | 10.0.0.4
48 | ${dut2_to_tg_ip1}= | 30.0.0.3
49 | ${dut2_to_tg_ip2}= | 30.0.0.4
50
51 | ${dut1_to_dut2_ip1}= | 20.0.0.1
52 | ${dut1_to_dut2_ip2}= | 20.0.0.2
53 | ${dut2_to_dut1_ip1}= | 20.0.0.3
54 | ${dut2_to_dut1_ip2}= | 20.0.0.4
55
56 | ${tg_dut1_ip1}= | 10.0.0.1
57 | ${tg_dut1_ip2}= | 10.0.0.2
58 | ${tg_dut2_ip1}= | 30.0.0.1
59 | ${tg_dut2_ip2}= | 30.0.0.2
60
61 | ${ip_prefix}= | 24
62
63 *** Test Cases ***
64 | TC01: TG packets routed to DUT ingress interface, VPP configured with two VRFs
65 | | [Documentation]
66 | | ... | [Top] TG=DUT1=DUT2=TG
67 | | ... | [Enc] Eth-IPv4-ICMPv4.
68 | | ... | [Cfg] DUT1 and DUT2 are both configured with two fib tables. Each
69 | | ... | table is assigned to 2 interfaces to separate the traffic. Interfaces
70 | | ... | are configured with IP addresses from *Variables*. On every ingress
71 | | ... | and egress port on DUT is configured ARP and each DUT is configured
72 | | ... | with one route.
73 | | ... | [Ver] Packet is send from TG->DUT1-if1 to DUT1->TG-if1 and from
74 | | ... | TG->DUT1-if2 to DUT1->TG-if2 and checked if arrived.
75 | | Given Path for Double-Link 3-node testing is set
76 | | ... | ${nodes['TG']} | ${nodes['DUT1']}
77 | | ... | ${nodes['DUT2']} | ${nodes['TG']}
78 | | And Interfaces in Double-Link 3-node path are UP
79 | | When Setup Env - 2xVRF Each Node
80 | | Then Node replies to ICMP echo request | ${tg_node}
81 | | ... | ${tg_to_dut1_if1} | ${dut1_to_tg_if1_mac}
82 | | ... | ${tg_to_dut1_if1_mac} | ${dut1_to_tg_ip1} | ${tg_dut1_ip1} | 5
83 | | And Node replies to ICMP echo request | ${tg_node}
84 | | ... | ${tg_to_dut1_if2} | ${dut1_to_tg_if2_mac}
85 | | ... | ${tg_to_dut1_if2_mac} | ${dut1_to_tg_ip2} | ${tg_dut1_ip2} | 5
86
87 | TC02: TG packets routed to DUT egress interface, VPP configured with two VRFs
88 | | [Documentation]
89 | | ... | [Top] TG=DUT1=DUT2=TG
90 | | ... | [Enc] Eth-IPv4-ICMPv4.
91 | | ... | [Cfg] DUT1 and DUT2 are both configured with two fib tables. Each
92 | | ... | table is assigned to 2 interfaces to separate the traffic. Interfaces
93 | | ... | are configured with IP addresses from *Variables*. On every ingress
94 | | ... | and egress port on DUT is configured ARP and each DUT is configured
95 | | ... | with one route.
96 | | ... | [Ver] Packet is send from TG->DUT1-if1 to DUT1->DUT2-if1 and from
97 | | ... | TG->DUT1-if2 to DUT1->DUT2-if2 and checked if arrived.
98 | | Given Path for Double-Link 3-node testing is set
99 | | ... | ${nodes['TG']} | ${nodes['DUT1']}
100 | | ... | ${nodes['DUT2']} | ${nodes['TG']}
101 | | And Interfaces in Double-Link 3-node path are UP
102 | | When Setup Env - 2xVRF Each Node
103 | | Then Node replies to ICMP echo request | ${tg_node} | ${tg_to_dut1_if1}
104 | | ... | ${dut1_to_tg_if1_mac} | ${tg_to_dut1_if1_mac}
105 | | ... | ${dut1_to_dut2_ip1} | ${tg_dut1_ip1} | 5
106 | | And Node replies to ICMP echo request | ${tg_node} | ${tg_to_dut1_if2}
107 | | ... | ${dut1_to_tg_if2_mac} | ${tg_to_dut1_if2_mac}
108 | | ... | ${dut1_to_dut2_ip2} | ${tg_dut1_ip2} | 5
109
110 | TC03: TG packets routed to DUT2 ingress interface through DUT1, VPP configured with two VRFs
111 | | [Documentation]
112 | | ... | [Top] TG=DUT1=DUT2=TG
113 | | ... | [Enc] Eth-IPv4-ICMPv4.
114 | | ... | [Cfg] DUT1 and DUT2 are both configured with two fib tables. Each
115 | | ... | table is assigned to 2 interfaces to separate the traffic. Interfaces
116 | | ... | are configured with IP addresses from *Variables*. On every ingress
117 | | ... | and egress port on DUT is configured ARP and each DUT is configured
118 | | ... | with one route.
119 | | ... | [Ver] Packet is send from TG->DUT1-if1 to DUT2->DUT1-if1 and from
120 | | ... | TG->DUT1-if2 to DUT2->DUT1-if2 and checked if arrived.
121 | | Given Path for Double-Link 3-node testing is set
122 | | ... | ${nodes['TG']} | ${nodes['DUT1']}
123 | | ... | ${nodes['DUT2']} | ${nodes['TG']}
124 | | And Interfaces in Double-Link 3-node path are UP
125 | | When Setup Env - 2xVRF Each Node
126 | | Then Node replies to ICMP echo request | ${tg_node} | ${tg_to_dut1_if1}
127 | | ... | ${dut1_to_tg_if1_mac} | ${tg_to_dut1_if1_mac}
128 | | ... | ${dut2_to_dut1_ip1} | ${tg_dut1_ip1} | 5
129 | | And Node replies to ICMP echo request | ${tg_node} | ${tg_to_dut1_if2}
130 | | ... | ${dut1_to_tg_if2_mac} | ${tg_to_dut1_if2_mac}
131 | | ... | ${dut2_to_dut1_ip2} | ${tg_dut1_ip2} | 5
132
133 | TC04: TG packets routed to DUT2 egress interface through DUT1, VPP configured with two VRFs
134 | | [Documentation]
135 | | ... | [Top] TG=DUT1=DUT2=TG
136 | | ... | [Enc] Eth-IPv4-ICMPv4.
137 | | ... | [Cfg] DUT1 and DUT2 are both configured with two fib tables. Each
138 | | ... | table is assigned to 2 interfaces to separate the traffic. Interfaces
139 | | ... | are configured with IP addresses from *Variables*. On every ingress
140 | | ... | and egress port on DUT is configured ARP and each DUT is configured
141 | | ... | with one route.
142 | | ... | [Ver] Packet is send from TG->DUT1-if1 to DUT2->TG-if1 and from
143 | | ... | TG->DUT1-if2 to DUT2->TG-if2 and checked if arrived.
144 | | Given Path for Double-Link 3-node testing is set
145 | | ... | ${nodes['TG']} | ${nodes['DUT1']}
146 | | ... | ${nodes['DUT2']} | ${nodes['TG']}
147 | | And Interfaces in Double-Link 3-node path are UP
148 | | When Setup Env - 2xVRF Each Node
149 | | Then Node replies to ICMP echo request | ${tg_node} | ${tg_to_dut1_if1}
150 | | ... | ${dut1_to_tg_if1_mac} | ${tg_to_dut1_if1_mac}
151 | | ... | ${dut2_to_tg_ip1} | ${tg_dut1_ip1} | 5
152 | | And Node replies to ICMP echo request | ${tg_node} | ${tg_to_dut1_if2}
153 | | ... | ${dut1_to_tg_if2_mac} | ${tg_to_dut1_if2_mac}
154 | | ... | ${dut2_to_tg_ip2} | ${tg_dut1_ip2} | 5
155
156 | TC05: TG packets routed to TG through DUT1 and DUT2, VPP configured with two VRFs
157 | | [Documentation]
158 | | ... | [Top] TG=DUT1=DUT2=TG
159 | | ... | [Enc] Eth-IPv4-ICMPv4.
160 | | ... | [Cfg] DUT1 and DUT2 are both configured with two fib tables. Each
161 | | ... | table is assigned to 2 interfaces to separate the traffic. Interfaces
162 | | ... | are configured with IP addresses from *Variables*. On every ingress
163 | | ... | and egress port on DUT is configured ARP and each DUT is configured
164 | | ... | with one route.
165 | | ... | [Ver] Packet is send from TG->DUT1-if1 to TG->DUT2-if1 and from
166 | | ... | TG->DUT1-if2 to TG->DUT2-if2 and checked if arrived.
167 | | Given Path for Double-Link 3-node testing is set
168 | | ... | ${nodes['TG']} | ${nodes['DUT1']}
169 | | ... | ${nodes['DUT2']} | ${nodes['TG']}
170 | | And Interfaces in Double-Link 3-node path are UP
171 | | When Setup Env - 2xVRF Each Node
172 | | Then Send Packet And Check Headers | ${tg_node} | ${tg_dut1_ip1}
173 | | ... | ${tg_dut2_ip1} | ${tg_to_dut1_if1} | ${tg_to_dut1_if1_mac}
174 | | ... | ${dut1_to_tg_if1_mac} | ${tg_to_dut2_if1} | ${dut2_to_tg_if1_mac}
175 | | ... | ${tg_to_dut2_if1_mac}
176 | | And Send Packet And Check Headers | ${tg_node}
177 | | ... | ${tg_dut1_ip2} | ${tg_dut2_ip2} | ${tg_to_dut1_if2}
178 | | ... | ${tg_to_dut1_if2_mac} | ${dut1_to_tg_if2_mac} | ${tg_to_dut2_if2}
179 | | ... | ${dut2_to_tg_if2_mac} | ${tg_to_dut2_if2_mac}
180
181 | TC06: TG packets not routed to DUT ingress interface in different VRF, VPP configured with two VRFs
182 | | [Documentation]
183 | | ... | [Top] TG=DUT1=DUT2=TG
184 | | ... | [Enc] Eth-IPv4-ICMPv4.
185 | | ... | [Cfg] DUT1 and DUT2 are both configured with two fib tables. Each
186 | | ... | table is assigned to 2 interfaces to separate the traffic. Interfaces
187 | | ... | are configured with IP addresses from *Variables*. On every ingress
188 | | ... | and egress port on DUT is configured ARP and each DUT is configured
189 | | ... | with one route.
190 | | ... | [Ver] Packet is send from TG->DUT1-if1 to DUT1->TG-if2 where it
191 | | ... | should not arrive.
192 | | [Tags] | SKIP_PATCH
193 | | Given Path for Double-Link 3-node testing is set
194 | | ... | ${nodes['TG']} | ${nodes['DUT1']}
195 | | ... | ${nodes['DUT2']} | ${nodes['TG']}
196 | | And Interfaces in Double-Link 3-node path are UP
197 | | When Setup Env - 2xVRF Each Node
198 | | Then Run Keyword And Expect Error | ICMP echo Rx timeout
199 | | ... | Node replies to ICMP echo request
200 | | ... | ${tg_node} | ${tg_to_dut1_if1}
201 | | ... | ${dut1_to_tg_if1_mac} | ${tg_to_dut1_if1_mac}
202 | | ... | ${dut1_to_tg_ip2} | ${tg_dut1_ip1} | 5
203
204 | TC07: TG packets not routed to DUT egress interface in different VRF, VPP configured with two VRFs
205 | | [Documentation]
206 | | ... | [Top] TG=DUT1=DUT2=TG
207 | | ... | [Enc] Eth-IPv4-ICMPv4.
208 | | ... | [Cfg] DUT1 and DUT2 are both configured with two fib tables. Each
209 | | ... | table is assigned to 2 interfaces to separate the traffic. Interfaces
210 | | ... | are configured with IP addresses from *Variables*. On every ingress
211 | | ... | and egress port on DUT is configured ARP and each DUT is configured
212 | | ... | with one route.
213 | | ... | [Ver] Packet is send from TG->DUT1-if1 to DUT1->DUT2-if2 where it
214 | | ... | should not arrive.
215 | | [Tags] | SKIP_PATCH
216 | | Given Path for Double-Link 3-node testing is set
217 | | ... | ${nodes['TG']} | ${nodes['DUT1']}
218 | | ... | ${nodes['DUT2']} | ${nodes['TG']}
219 | | And Interfaces in Double-Link 3-node path are UP
220 | | When Setup Env - 2xVRF Each Node
221 | | Then Run Keyword And Expect Error | ICMP echo Rx timeout
222 | | ... | Node replies to ICMP echo request
223 | | ... | ${tg_node} | ${tg_to_dut1_if1}
224 | | ... | ${dut1_to_tg_if1_mac} | ${tg_to_dut1_if1_mac}
225 | | ... | ${dut1_to_dut2_ip2} | ${tg_dut1_ip1} | 5
226
227 | TC08: TG packets not routed to DUT2 ingress interface in different VRF through DUT1, VPP configured with two VRFs
228 | | [Documentation]
229 | | ... | [Top] TG=DUT1=DUT2=TG
230 | | ... | [Enc] Eth-IPv4-ICMPv4.
231 | | ... | [Cfg] DUT1 and DUT2 are both configured with two fib tables. Each
232 | | ... | table is assigned to 2 interfaces to separate the traffic. Interfaces
233 | | ... | are configured with IP addresses from *Variables*. On every ingress
234 | | ... | and egress port on DUT is configured ARP and each DUT is configured
235 | | ... | with one route.
236 | | ... | [Ver] Packet is send from TG->DUT1-if1 to DUT2->DUT1-if2 where it
237 | | ... | should not arrive.
238 | | [Tags] | SKIP_PATCH
239 | | Given Path for Double-Link 3-node testing is set
240 | | ... | ${nodes['TG']} | ${nodes['DUT1']}
241 | | ... | ${nodes['DUT2']} | ${nodes['TG']}
242 | | And Interfaces in Double-Link 3-node path are UP
243 | | When Setup Env - 2xVRF Each Node
244 | | Then Run Keyword And Expect Error | ICMP echo Rx timeout
245 | | ... | Node replies to ICMP echo request
246 | | ... | ${tg_node} | ${tg_to_dut1_if1}
247 | | ... | ${dut1_to_tg_if1_mac} | ${tg_to_dut1_if1_mac}
248 | | ... | ${dut2_to_dut1_ip2} | ${tg_dut1_ip1} | 5
249
250 | TC09: TG packets not routed to DUT2 egress interface in different VRF through DUT1, VPP configured with two VRFs
251 | | [Documentation]
252 | | ... | [Top] TG=DUT1=DUT2=TG
253 | | ... | [Enc] Eth-IPv4-ICMPv4.
254 | | ... | [Cfg] DUT1 and DUT2 are both configured with two fib tables. Each
255 | | ... | table is assigned to 2 interfaces to separate the traffic. Interfaces
256 | | ... | are configured with IP addresses from *Variables*. On every ingress
257 | | ... | and egress port on DUT is configured ARP and each DUT is configured
258 | | ... | with one route.
259 | | ... | [Ver] Packet is send from TG->DUT1-if1 to DUT2->TG-if2 where it
260 | | ... | should not arrive.
261 | | [Tags] | SKIP_PATCH
262 | | Given Path for Double-Link 3-node testing is set
263 | | ... | ${nodes['TG']} | ${nodes['DUT1']}
264 | | ... | ${nodes['DUT2']} | ${nodes['TG']}
265 | | And Interfaces in Double-Link 3-node path are UP
266 | | When Setup Env - 2xVRF Each Node
267 | | Then Run Keyword And Expect Error | ICMP echo Rx timeout
268 | | ... | Node replies to ICMP echo request
269 | | ... | ${tg_node} | ${tg_to_dut1_if1}
270 | | ... | ${dut1_to_tg_if1_mac} | ${tg_to_dut1_if1_mac}
271 | | ... | ${dut2_to_tg_ip2} | ${tg_dut1_ip1} | 5
272
273 | TC10: TG packets not routed to TG in different VRF through DUT1 and DUT2, VPP configured with two VRFs
274 | | [Documentation]
275 | | ... | [Top] TG=DUT1=DUT2=TG.
276 | | ... | [Enc] Eth-IPv4-ICMPv4.
277 | | ... | [Cfg] DUT1 and DUT2 are both configured with two fib tables. Each
278 | | ... | table is assigned to 2 interfaces to separate the traffic. Interfaces
279 | | ... | are configured with IP addresses from *Variables*. On every ingress
280 | | ... | and egress port on DUT is configured ARP and each DUT is configured
281 | | ... | with one route.
282 | | ... | [Ver] Packet is send from TG->DUT1-if1 to TG->DUT2-if2 where it
283 | | ... | should not arrive.
284 | | [Tags] | SKIP_PATCH
285 | | Given Path for Double-Link 3-node testing is set
286 | | ... | ${nodes['TG']} | ${nodes['DUT1']}
287 | | ... | ${nodes['DUT2']} | ${nodes['TG']}
288 | | And Interfaces in Double-Link 3-node path are UP
289 | | When Setup Env - 2xVRF Each Node
290 | | Then Run Keyword And Expect Error | ICMP echo Rx timeout
291 | | ... | Send Packet And Check Headers | ${tg_node} | ${tg_dut1_ip1}
292 | | ... | ${tg_dut2_ip2} | ${tg_to_dut1_if1}
293 | | ... | ${tg_to_dut1_if1_mac} | ${dut1_to_tg_if1_mac} | ${tg_to_dut2_if2}
294 | | ... | ${dut2_to_tg_if2_mac} | ${tg_to_dut2_if2_mac}
295
296 *** Keywords ***
297 | Setup Env - 2xVRF Each Node
298 | | [Documentation]
299 | | ... | Environment is set up with 2 fib tables on each DUT. DUT1-TG-IF1 and \
300 | | ... | DUT1-DUT2-IF1 are assigned to FIB1, and DUT1-TG-IF2 and DUT1-DUT2-IF2
301 | | ... | are assigned to FIB2 (the some done on DUT2, just opposite). IP
302 | | ... | addresses are subsequently set on interfaces, and ARP is set for
303 | | ... | neighbors. The last setting is route for each fib table.
304 | | ...
305 | | ${dut1_if1_idx}= | Get Interface SW Index
306 | | ... | ${dut1_node} | ${dut1_to_dut2_if1}
307 | | ${dut1_if2_idx}= | Get Interface SW Index
308 | | ... | ${dut1_node} | ${dut1_to_dut2_if2}
309 | | ${dut2_if1_idx}= | Get Interface SW Index
310 | | ... | ${dut2_node} | ${dut2_to_dut1_if1}
311 | | ${dut2_if2_idx}= | Get Interface SW Index
312 | | ... | ${dut2_node} | ${dut2_to_dut1_if2}
313 | | And Add fib table | ${dut1_node}
314 | | ... | ${tg_dut2_ip1} | ${ip_prefix} | ${fib_table_1}
315 | | ... | via ${dut2_to_dut1_ip1} sw_if_index ${dut1_if1_idx} multipath
316 | | And Add fib table | ${dut1_node}
317 | | ... | ${tg_dut2_ip2} | ${ip_prefix} | ${fib_table_2}
318 | | ... | via ${dut1_to_dut2_ip2} sw_if_index ${dut1_if2_idx} multipath
319 | | And Add fib table | ${dut2_node}
320 | | ... | ${tg_dut1_ip1} | ${ip_prefix} | ${fib_table_1}
321 | | ... | via ${dut2_to_dut1_ip1} sw_if_index ${dut2_if1_idx} multipath
322 | | And Add fib table | ${dut2_node}
323 | | ... | ${tg_dut1_ip2} | ${ip_prefix} | ${fib_table_2}
324 | | ... | via ${dut2_to_dut1_ip2} sw_if_index ${dut2_if2_idx} multipath
325
326 | | Assign Interface To Fib Table
327 | | ... | ${dut1_node} | ${dut1_to_dut2_if1} | ${fib_table_1}
328 | | Assign Interface To Fib Table
329 | | ... | ${dut1_node} | ${dut1_to_dut2_if2} | ${fib_table_2}
330 | | Assign Interface To Fib Table
331 | | ... | ${dut1_node} | ${dut1_to_tg_if1} | ${fib_table_1}
332 | | Assign Interface To Fib Table
333 | | ... | ${dut1_node} | ${dut1_to_tg_if2} | ${fib_table_2}
334
335 | | Assign Interface To Fib Table
336 | | ... | ${dut2_node} | ${dut2_to_dut1_if1} | ${fib_table_1}
337 | | Assign Interface To Fib Table
338 | | ... | ${dut2_node} | ${dut2_to_dut1_if2} | ${fib_table_2}
339 | | Assign Interface To Fib Table
340 | | ... | ${dut2_node} | ${dut2_to_tg_if1} | ${fib_table_1}
341 | | Assign Interface To Fib Table
342 | | ... | ${dut2_node} | ${dut2_to_tg_if2} | ${fib_table_2}
343
344 | | And Set Interface Address
345 | | ... | ${dut1_node} | ${dut1_to_tg_if1} | ${dut1_to_tg_ip1} | ${ip_prefix}
346 | | And Set Interface Address
347 | | ... | ${dut1_node} | ${dut1_to_tg_if2} | ${dut1_to_tg_ip2} | ${ip_prefix}
348 | | And Set Interface Address
349 | | ... | ${dut1_node} | ${dut1_to_dut2_if1}
350 | | ... | ${dut1_to_dut2_ip1} | ${ip_prefix}
351 | | And Set Interface Address
352 | | ... | ${dut1_node} | ${dut1_to_dut2_if2}
353 | | ... | ${dut1_to_dut2_ip2} | ${ip_prefix}
354
355 | | And Set Interface Address
356 | | ... | ${dut2_node} | ${dut2_to_tg_if1} | ${dut2_to_tg_ip1} | ${ip_prefix}
357 | | And Set Interface Address
358 | | ... | ${dut2_node} | ${dut2_to_tg_if2} | ${dut2_to_tg_ip2} | ${ip_prefix}
359 | | And Set Interface Address
360 | | ... | ${dut2_node} | ${dut2_to_dut1_if1}
361 | | ... | ${dut2_to_dut1_ip1} | ${ip_prefix}
362 | | And Set Interface Address
363 | | ... | ${dut2_node} | ${dut2_to_dut1_if2}
364 | | ... | ${dut2_to_dut1_ip2} | ${ip_prefix}
365
366 | | And Add Arp On Dut | ${dut1_node} | ${dut1_to_tg_if1}
367 | | ... | ${tg_dut1_ip1} | ${tg_to_dut1_if1_mac} | vrf=${fib_table_1}
368 | | And Add Arp On Dut | ${dut1_node} | ${dut1_to_dut2_if1}
369 | | ... | ${dut2_to_dut1_ip1} | ${dut2_to_dut1_if1_mac} | vrf=${fib_table_1}
370 | | And Add Arp On Dut | ${dut2_node} | ${dut2_to_tg_if1}
371 | | ... | ${tg_dut2_ip1} | ${tg_to_dut2_if1_mac} | vrf=${fib_table_1}
372 | | And Add Arp On Dut | ${dut2_node} | ${dut2_to_dut1_if1}
373 | | ... | ${dut1_to_dut2_ip1} | ${dut1_to_dut2_if1_mac} | vrf=${fib_table_1}
374
375 | | And Add Arp On Dut | ${dut1_node} | ${dut1_to_tg_if2}
376 | | ... | ${tg_dut1_ip2} | ${tg_to_dut1_if2_mac} | vrf=${fib_table_2}
377 | | And Add Arp On Dut | ${dut1_node} | ${dut1_to_dut2_if2}
378 | | ... | ${dut2_to_dut1_ip2} | ${dut2_to_dut1_if2_mac} | vrf=${fib_table_2}
379 | | And Add Arp On Dut | ${dut2_node} | ${dut2_to_tg_if2}
380 | | ... | ${tg_dut2_ip2} | ${tg_to_dut2_if2_mac} | vrf=${fib_table_2}
381 | | And Add Arp On Dut | ${dut2_node} | ${dut2_to_dut1_if2}
382 | | ... | ${dut1_to_dut2_ip2} | ${dut1_to_dut2_if2_mac} | vrf=${fib_table_2}
383
384 | | And Vpp Route Add | ${dut1_node} | ${tg_dut2_ip1} | ${ip_prefix}
385 | | ... | ${dut2_to_dut1_ip1} | ${dut1_to_dut2_if1} | vrf=${fib_table_1}
386 | | And Vpp Route Add | ${dut2_node} | ${tg_dut1_ip1} | ${ip_prefix}
387 | | ... | ${dut1_to_dut2_ip1} | ${dut2_to_dut1_if1} | vrf=${fib_table_1}
388
389 | | And Vpp Route Add | ${dut1_node} | ${tg_dut2_ip2} | ${ip_prefix}
390 | | ... | ${dut2_to_dut1_ip2} | ${dut1_to_dut2_if2} | vrf=${fib_table_2}
391 | | And Vpp Route Add | ${dut2_node} | ${tg_dut1_ip2} | ${ip_prefix}
392 | | ... | ${dut1_to_dut2_ip2} | ${dut2_to_dut1_if2} | vrf=${fib_table_2}