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