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