Fixes of IPv6 tests
[csit.git] / tests / func / vrf / vrf_tests_v6.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 | Run Keywords | Show Packet Trace on All DUTs | ${nodes}
28 | ...           | AND          | Show vpp trace dump on all DUTs
29 | Documentation | *Vpn routed forwarding - baseline IPv6*
30 | ... | *[Top] Network Topologies:* TG=DUT1=DUT2=TG 3-node topology with two
31 | ... | links in between nodes.
32 | ... | *[Enc] Packet Encapsulations:* Eth-IPv6-ICMPv6
33 | ... | *[Cfg] DUT configuration:* Each DUT is configured with two VRF tables;
34 | ... | Separation of traffic is tested by IP packets; Neighbors and Routes are
35 | ... | set on DUT nodes; IP addresses are set on DUT interfaces.
36 | ... | *[Ver] TG verification:* Test ICMPv6 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 IPv6 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}= | 2001:62::3
47 | ${dut1_to_tg_ip2}= | 2001:62::4
48 | ${dut2_to_tg_ip1}= | 2003:62::3
49 | ${dut2_to_tg_ip2}= | 2003:62::4
50
51 | ${dut1_to_dut2_ip1}= | 2002:62::1
52 | ${dut1_to_dut2_ip2}= | 2002:62::2
53 | ${dut2_to_dut1_ip1}= | 2002:62::3
54 | ${dut2_to_dut1_ip2}= | 2002:62::4
55
56 | ${tg_dut1_ip1}= | 2001:62::1
57 | ${tg_dut1_ip2}= | 2001:62::2
58 | ${tg_dut2_ip1}= | 2003:62::1
59 | ${tg_dut2_ip2}= | 2003:62::2
60
61 | ${ip_prefix}= | 64
62 | ${timeout}= | 5
63
64 *** Test Cases ***
65 | TC01: TG packets routed to DUT ingress interface, VPP configured with two VRFs
66 | | [Documentation]
67 | | ... | [Top] TG=DUT1=DUT2=TG
68 | | ... | [Enc] Eth-IPv6-ICMPv6.
69 | | ... | [Cfg] DUT1 and DUT2 are both configured with two fib tables. Each
70 | | ... | table is assigned to 2 interfaces to separate the traffic. Interfaces
71 | | ... | are configured with IP addresses from *Variables*. Neighbors are
72 | | ... | configured for each DUTs ingress/egress ports, and each VRF is
73 | | ... | configured with just one route.
74 | | ... | [Ver] Packet is sent from TG->DUT1-if1 to DUT1->TG-if1 and from
75 | | ... | TG->DUT1-if2 to DUT1->TG-if2 and checked if arrived.
76 | | Given Path for Double-Link 3-node testing is set
77 | | ... | ${nodes['TG']} | ${nodes['DUT1']}
78 | | ... | ${nodes['DUT2']} | ${nodes['TG']}
79 | | And Interfaces in Double-Link 3-node path are UP
80 | | When Setup Env - 2xVRF Each Node
81 | | Then Node replies to ICMP echo request | ${tg_node}
82 | | ... | ${tg_to_dut1_if1} | ${dut1_to_tg_if1_mac}
83 | | ... | ${tg_to_dut1_if1_mac} | ${dut1_to_tg_ip1}
84 | | ... | ${tg_dut1_ip1} | ${timeout}
85 | | And Node replies to ICMP echo request | ${tg_node}
86 | | ... | ${tg_to_dut1_if2} | ${dut1_to_tg_if2_mac}
87 | | ... | ${tg_to_dut1_if2_mac} | ${dut1_to_tg_ip2}
88 | | ... | ${tg_dut1_ip2} | ${timeout}
89
90 | TC02: TG packets routed to DUT egress interface, VPP configured with two VRFs
91 | | [Documentation]
92 | | ... | [Top] TG=DUT1=DUT2=TG
93 | | ... | [Enc] Eth-IPv6-ICMPv6.
94 | | ... | [Cfg] DUT1 and DUT2 are both configured with two fib tables. Each
95 | | ... | table is assigned to 2 interfaces to separate the traffic. Interfaces
96 | | ... | are configured with IP addresses from *Variables*. Neighbors are
97 | | ... | configured for each DUTs ingress/egress ports, and each VRF is
98 | | ... | configured with just one route.
99 | | ... | [Ver] Packet is sent from TG->DUT1-if1 to DUT1->DUT2-if1 and from
100 | | ... | TG->DUT1-if2 to DUT1->DUT2-if2 and checked if arrived.
101 | | Given Path for Double-Link 3-node testing is set
102 | | ... | ${nodes['TG']} | ${nodes['DUT1']}
103 | | ... | ${nodes['DUT2']} | ${nodes['TG']}
104 | | And Interfaces in Double-Link 3-node path are UP
105 | | When Setup Env - 2xVRF Each Node
106 | | Then Node replies to ICMP echo request | ${tg_node} | ${tg_to_dut1_if1}
107 | | ... | ${dut1_to_tg_if1_mac} | ${tg_to_dut1_if1_mac}
108 | | ... | ${dut1_to_dut2_ip1} | ${tg_dut1_ip1} | ${timeout}
109 | | And Node replies to ICMP echo request | ${tg_node} | ${tg_to_dut1_if2}
110 | | ... | ${dut1_to_tg_if2_mac} | ${tg_to_dut1_if2_mac}
111 | | ... | ${dut1_to_dut2_ip2} | ${tg_dut1_ip2} | ${timeout}
112
113 | TC03: TG packets routed to DUT2 ingress interface through DUT1, VPP configured with two VRFs
114 | | [Documentation]
115 | | ... | [Top] TG=DUT1=DUT2=TG
116 | | ... | [Enc] Eth-IPv6-ICMPv6.
117 | | ... | [Cfg] DUT1 and DUT2 are both configured with two fib tables. Each
118 | | ... | table is assigned to 2 interfaces to separate the traffic. Interfaces
119 | | ... | are configured with IP addresses from *Variables*. Neighbors are
120 | | ... | configured for each DUTs ingress/egress ports, and each VRF is
121 | | ... | configured with just one route.
122 | | ... | [Ver] Packet is sent from TG->DUT1-if1 to DUT2->DUT1-if1 and from
123 | | ... | TG->DUT1-if2 to DUT2->DUT1-if2 and checked if arrived.
124 | | Given Path for Double-Link 3-node testing is set
125 | | ... | ${nodes['TG']} | ${nodes['DUT1']}
126 | | ... | ${nodes['DUT2']} | ${nodes['TG']}
127 | | And Interfaces in Double-Link 3-node path are UP
128 | | When Setup Env - 2xVRF Each Node
129 | | Then Node replies to ICMP echo request | ${tg_node} | ${tg_to_dut1_if1}
130 | | ... | ${dut1_to_tg_if1_mac} | ${tg_to_dut1_if1_mac}
131 | | ... | ${dut2_to_dut1_ip1} | ${tg_dut1_ip1} | ${timeout}
132 | | And Node replies to ICMP echo request | ${tg_node} | ${tg_to_dut1_if2}
133 | | ... | ${dut1_to_tg_if2_mac} | ${tg_to_dut1_if2_mac}
134 | | ... | ${dut2_to_dut1_ip2} | ${tg_dut1_ip2} | ${timeout}
135
136 | TC04: TG packets routed to DUT2 egress interface through DUT1, VPP configured with two VRFs
137 | | [Documentation]
138 | | ... | [Top] TG=DUT1=DUT2=TG
139 | | ... | [Enc] Eth-IPv6-ICMPv6.
140 | | ... | [Cfg] DUT1 and DUT2 are both configured with two fib tables. Each
141 | | ... | table is assigned to 2 interfaces to separate the traffic. Interfaces
142 | | ... | are configured with IP addresses from *Variables*. Neighbors are
143 | | ... | configured for each DUTs ingress/egress ports, and each VRF is
144 | | ... | configured with just one route.
145 | | ... | [Ver] Packet is sent from TG->DUT1-if1 to DUT2->TG-if1 and from
146 | | ... | TG->DUT1-if2 to DUT2->TG-if2 and checked if arrived.
147 | | Given Path for Double-Link 3-node testing is set
148 | | ... | ${nodes['TG']} | ${nodes['DUT1']}
149 | | ... | ${nodes['DUT2']} | ${nodes['TG']}
150 | | And Interfaces in Double-Link 3-node path are UP
151 | | When Setup Env - 2xVRF Each Node
152 | | Then Node replies to ICMP echo request | ${tg_node} | ${tg_to_dut1_if1}
153 | | ... | ${dut1_to_tg_if1_mac} | ${tg_to_dut1_if1_mac}
154 | | ... | ${dut2_to_tg_ip1} | ${tg_dut1_ip1} | ${timeout}
155 | | And Node replies to ICMP echo request | ${tg_node} | ${tg_to_dut1_if2}
156 | | ... | ${dut1_to_tg_if2_mac} | ${tg_to_dut1_if2_mac}
157 | | ... | ${dut2_to_tg_ip2} | ${tg_dut1_ip2} | ${timeout}
158
159 | TC05: TG packets routed to TG through DUT1 and DUT2, VPP configured with two VRFs
160 | | [Documentation]
161 | | ... | [Top] TG=DUT1=DUT2=TG
162 | | ... | [Enc] Eth-IPv6-ICMPv6.
163 | | ... | [Cfg] DUT1 and DUT2 are both configured with two fib tables. Each
164 | | ... | table is assigned to 2 interfaces to separate the traffic. Interfaces
165 | | ... | are configured with IP addresses from *Variables*. Neighbors are
166 | | ... | configured for each DUTs ingress/egress ports, and each VRF is
167 | | ... | configured with just one route.
168 | | ... | [Ver] Packet is sent from TG->DUT1-if1 to TG->DUT2-if1 and from
169 | | ... | TG->DUT1-if2 to TG->DUT2-if2 and checked if arrived.
170 | | Given Path for Double-Link 3-node testing is set
171 | | ... | ${nodes['TG']} | ${nodes['DUT1']}
172 | | ... | ${nodes['DUT2']} | ${nodes['TG']}
173 | | And Interfaces in Double-Link 3-node path are UP
174 | | When Setup Env - 2xVRF Each Node
175 | | Then Send Packet And Check Headers | ${tg_node} | ${tg_dut1_ip1}
176 | | ... | ${tg_dut2_ip1} | ${tg_to_dut1_if1} | ${tg_to_dut1_if1_mac}
177 | | ... | ${dut1_to_tg_if1_mac} | ${tg_to_dut2_if1} | ${dut2_to_tg_if1_mac}
178 | | ... | ${tg_to_dut2_if1_mac}
179 | | And Send Packet And Check Headers | ${tg_node}
180 | | ... | ${tg_dut1_ip2} | ${tg_dut2_ip2} | ${tg_to_dut1_if2}
181 | | ... | ${tg_to_dut1_if2_mac} | ${dut1_to_tg_if2_mac} | ${tg_to_dut2_if2}
182 | | ... | ${dut2_to_tg_if2_mac} | ${tg_to_dut2_if2_mac}
183
184 | TC06: TG packets not routed to DUT ingress interface in different VRF, VPP configured with two VRFs
185 | | [Documentation]
186 | | ... | [Top] TG=DUT1=DUT2=TG
187 | | ... | [Enc] Eth-IPv6-ICMPv6.
188 | | ... | [Cfg] DUT1 and DUT2 are both configured with two fib tables. Each
189 | | ... | table is assigned to 2 interfaces to separate the traffic. Interfaces
190 | | ... | are configured with IP addresses from *Variables*. Neighbors are
191 | | ... | configured for each DUTs ingress/egress ports, and each VRF is
192 | | ... | configured with just one route.
193 | | ... | [Ver] Packet is sent from TG->DUT1-if1 to DUT1->TG-if2 where it
194 | | ... | should not arrive.
195 | | [Tags] | SKIP_PATCH
196 | | Given Path for Double-Link 3-node testing is set
197 | | ... | ${nodes['TG']} | ${nodes['DUT1']}
198 | | ... | ${nodes['DUT2']} | ${nodes['TG']}
199 | | And Interfaces in Double-Link 3-node path are UP
200 | | When Setup Env - 2xVRF Each Node
201 | | Then Run Keyword And Expect Error | ICMP echo Rx timeout
202 | | ... | Node replies to ICMP echo request
203 | | ... | ${tg_node} | ${tg_to_dut1_if1}
204 | | ... | ${dut1_to_tg_if1_mac} | ${tg_to_dut1_if1_mac}
205 | | ... | ${dut1_to_tg_ip2} | ${tg_dut1_ip1} | ${timeout}
206 | | And Run Keyword And Expect Error | ICMP echo Rx timeout
207 | | ... | Node replies to ICMP echo request
208 | | ... | ${tg_node} | ${tg_to_dut1_if2}
209 | | ... | ${dut1_to_tg_if2_mac} | ${tg_to_dut1_if2_mac}
210 | | ... | ${dut1_to_tg_ip1} | ${tg_dut1_ip2} | ${timeout}
211
212 | TC07: TG packets not routed to DUT egress interface in different VRF, VPP configured with two VRFs
213 | | [Documentation]
214 | | ... | [Top] TG=DUT1=DUT2=TG
215 | | ... | [Enc] Eth-IPv6-ICMPv6.
216 | | ... | [Cfg] DUT1 and DUT2 are both configured with two fib tables. Each
217 | | ... | table is assigned to 2 interfaces to separate the traffic. Interfaces
218 | | ... | are configured with IP addresses from *Variables*. Neighbors are
219 | | ... | configured for each DUTs ingress/egress ports, and each VRF is
220 | | ... | configured with just one route.
221 | | ... | [Ver] Packet is sent from TG->DUT1-if1 to DUT1->DUT2-if2 where it
222 | | ... | should not arrive.
223 | | [Tags] | SKIP_PATCH
224 | | Given Path for Double-Link 3-node testing is set
225 | | ... | ${nodes['TG']} | ${nodes['DUT1']}
226 | | ... | ${nodes['DUT2']} | ${nodes['TG']}
227 | | And Interfaces in Double-Link 3-node path are UP
228 | | When Setup Env - 2xVRF Each Node
229 | | Then Run Keyword And Expect Error | ICMP echo Rx timeout
230 | | ... | Node replies to ICMP echo request
231 | | ... | ${tg_node} | ${tg_to_dut1_if1}
232 | | ... | ${dut1_to_tg_if1_mac} | ${tg_to_dut1_if1_mac}
233 | | ... | ${dut1_to_dut2_ip2} | ${tg_dut1_ip1} | ${timeout}
234 | | And Run Keyword And Expect Error | ICMP echo Rx timeout
235 | | ... | Node replies to ICMP echo request
236 | | ... | ${tg_node} | ${tg_to_dut1_if2}
237 | | ... | ${dut1_to_tg_if2_mac} | ${tg_to_dut1_if2_mac}
238 | | ... | ${dut1_to_dut2_ip1} | ${tg_dut1_ip2} | ${timeout}
239
240
241 | TC08: TG packets not routed to DUT2 ingress interface in different VRF through DUT1, VPP configured with two VRFs
242 | | [Documentation]
243 | | ... | [Top] TG=DUT1=DUT2=TG
244 | | ... | [Enc] Eth-IPv6-ICMPv6.
245 | | ... | [Cfg] DUT1 and DUT2 are both configured with two fib tables. Each
246 | | ... | table is assigned to 2 interfaces to separate the traffic. Interfaces
247 | | ... | are configured with IP addresses from *Variables*. Neighbors are
248 | | ... | configured for each DUTs ingress/egress ports, and each VRF is
249 | | ... | configured with just one route.
250 | | ... | [Ver] Packet is sent from TG->DUT1-if1 to DUT2->DUT1-if2 where it
251 | | ... | should not arrive.
252 | | [Tags] | SKIP_PATCH
253 | | Given Path for Double-Link 3-node testing is set
254 | | ... | ${nodes['TG']} | ${nodes['DUT1']}
255 | | ... | ${nodes['DUT2']} | ${nodes['TG']}
256 | | And Interfaces in Double-Link 3-node path are UP
257 | | When Setup Env - 2xVRF Each Node
258 | | Then Run Keyword And Expect Error | ICMP echo Rx timeout
259 | | ... | Node replies to ICMP echo request
260 | | ... | ${tg_node} | ${tg_to_dut1_if1}
261 | | ... | ${dut1_to_tg_if1_mac} | ${tg_to_dut1_if1_mac}
262 | | ... | ${dut2_to_dut1_ip2} | ${tg_dut1_ip1} | ${timeout}
263 | | And Run Keyword And Expect Error | ICMP echo Rx timeout
264 | | ... | Node replies to ICMP echo request
265 | | ... | ${tg_node} | ${tg_to_dut1_if2}
266 | | ... | ${dut1_to_tg_if2_mac} | ${tg_to_dut1_if2_mac}
267 | | ... | ${dut2_to_dut1_ip1} | ${tg_dut1_ip2} | ${timeout}
268
269 | TC09: TG packets not routed to DUT2 egress interface in different VRF through DUT1, VPP configured with two VRFs
270 | | [Documentation]
271 | | ... | [Top] TG=DUT1=DUT2=TG
272 | | ... | [Enc] Eth-IPv6-ICMPv6.
273 | | ... | [Cfg] DUT1 and DUT2 are both configured with two fib tables. Each
274 | | ... | table is assigned to 2 interfaces to separate the traffic. Interfaces
275 | | ... | are configured with IP addresses from *Variables*. Neighbors are
276 | | ... | configured for each DUTs ingress/egress ports, and each VRF is
277 | | ... | configured with just one route.
278 | | ... | [Ver] Packet is sent from TG->DUT1-if1 to DUT2->TG-if2 where it
279 | | ... | should not arrive.
280 | | [Tags] | SKIP_PATCH
281 | | Given Path for Double-Link 3-node testing is set
282 | | ... | ${nodes['TG']} | ${nodes['DUT1']}
283 | | ... | ${nodes['DUT2']} | ${nodes['TG']}
284 | | And Interfaces in Double-Link 3-node path are UP
285 | | When Setup Env - 2xVRF Each Node
286 | | Then Run Keyword And Expect Error | ICMP echo Rx timeout
287 | | ... | Node replies to ICMP echo request
288 | | ... | ${tg_node} | ${tg_to_dut1_if1}
289 | | ... | ${dut1_to_tg_if1_mac} | ${tg_to_dut1_if1_mac}
290 | | ... | ${dut2_to_tg_ip2} | ${tg_dut1_ip1} | ${timeout}
291 | | And Run Keyword And Expect Error | ICMP echo Rx timeout
292 | | ... | Node replies to ICMP echo request
293 | | ... | ${tg_node} | ${tg_to_dut1_if2}
294 | | ... | ${dut1_to_tg_if2_mac} | ${tg_to_dut1_if2_mac}
295 | | ... | ${dut2_to_tg_ip1} | ${tg_dut1_ip2} | ${timeout}
296
297 | TC10: TG packets not routed to TG in different VRF through DUT1 and DUT2, VPP configured with two VRFs
298 | | [Documentation]
299 | | ... | [Top] TG=DUT1=DUT2=TG.
300 | | ... | [Enc] Eth-IPv6-ICMPv6.
301 | | ... | [Cfg] DUT1 and DUT2 are both configured with two fib tables. Each
302 | | ... | table is assigned to 2 interfaces to separate the traffic. Interfaces
303 | | ... | are configured with IP addresses from *Variables*. Neighbors are
304 | | ... | configured for each DUTs ingress/egress ports, and each VRF is
305 | | ... | configured with just one route.
306 | | ... | [Ver] Packet is sent from TG->DUT1-if1 to TG->DUT2-if2 where it
307 | | ... | should not arrive.
308 | | [Tags] | SKIP_PATCH
309 | | Given Path for Double-Link 3-node testing is set
310 | | ... | ${nodes['TG']} | ${nodes['DUT1']}
311 | | ... | ${nodes['DUT2']} | ${nodes['TG']}
312 | | And Interfaces in Double-Link 3-node path are UP
313 | | When Setup Env - 2xVRF Each Node
314 | | Then Run Keyword And Expect Error | ICMP echo Rx timeout
315 | | ... | Send Packet And Check Headers | ${tg_node} | ${tg_dut1_ip1}
316 | | ... | ${tg_dut2_ip2} | ${tg_to_dut1_if1}
317 | | ... | ${tg_to_dut1_if1_mac} | ${dut1_to_tg_if1_mac} | ${tg_to_dut2_if2}
318 | | ... | ${dut2_to_tg_if2_mac} | ${tg_to_dut2_if2_mac}
319 | | And Run Keyword And Expect Error | ICMP echo Rx timeout
320 | | ... | Send Packet And Check Headers | ${tg_node} | ${tg_dut1_ip2}
321 | | ... | ${tg_dut2_ip1} | ${tg_to_dut1_if2}
322 | | ... | ${tg_to_dut1_if2_mac} | ${dut1_to_tg_if2_mac} | ${tg_to_dut2_if1}
323 | | ... | ${dut2_to_tg_if1_mac} | ${tg_to_dut2_if1_mac}
324
325 *** Keywords ***
326 | Setup Env - 2xVRF Each Node
327 | | [Documentation]
328 | | ... | Environment is set up with 2 fib tables on each DUT. DUT1-TG-IF1 and \
329 | | ... | DUT1-DUT2-IF1 are assigned to FIB1, and DUT1-TG-IF2 and DUT1-DUT2-IF2
330 | | ... | are assigned to FIB2 (the same done on DUT2, just opposite).
331 | | ... | IP addresses and IP Neighbors are subsequently set for interfaces.
332 | | ... | The last setting is route for each fib table.
333 | | ...
334 | | ${dut1_if1_idx}= | Get Interface SW Index
335 | | ... | ${dut1_node} | ${dut1_to_dut2_if1}
336 | | ${dut1_if2_idx}= | Get Interface SW Index
337 | | ... | ${dut1_node} | ${dut1_to_dut2_if2}
338 | | ${dut2_if1_idx}= | Get Interface SW Index
339 | | ... | ${dut2_node} | ${dut2_to_dut1_if1}
340 | | ${dut2_if2_idx}= | Get Interface SW Index
341 | | ... | ${dut2_node} | ${dut2_to_dut1_if2}
342
343 | | Assign Interface To Fib Table
344 | | ... | ${dut1_node} | ${dut1_to_dut2_if1} | ${fib_table_1} | ipv6=${TRUE}
345 | | Assign Interface To Fib Table
346 | | ... | ${dut1_node} | ${dut1_to_dut2_if2} | ${fib_table_2} | ipv6=${TRUE}
347 | | Assign Interface To Fib Table
348 | | ... | ${dut1_node} | ${dut1_to_tg_if1} | ${fib_table_1} | ipv6=${TRUE}
349 | | Assign Interface To Fib Table
350 | | ... | ${dut1_node} | ${dut1_to_tg_if2} | ${fib_table_2} | ipv6=${TRUE}
351
352 | | Assign Interface To Fib Table
353 | | ... | ${dut2_node} | ${dut2_to_dut1_if1} | ${fib_table_1} | ipv6=${TRUE}
354 | | Assign Interface To Fib Table
355 | | ... | ${dut2_node} | ${dut2_to_dut1_if2} | ${fib_table_2} | ipv6=${TRUE}
356 | | Assign Interface To Fib Table
357 | | ... | ${dut2_node} | ${dut2_to_tg_if1} | ${fib_table_1} | ipv6=${TRUE}
358 | | Assign Interface To Fib Table
359 | | ... | ${dut2_node} | ${dut2_to_tg_if2} | ${fib_table_2} | ipv6=${TRUE}
360
361 | | And Set Interface Address
362 | | ... | ${dut1_node} | ${dut1_to_tg_if1} | ${dut1_to_tg_ip1} | ${ip_prefix}
363 | | And Set Interface Address
364 | | ... | ${dut1_node} | ${dut1_to_tg_if2} | ${dut1_to_tg_ip2} | ${ip_prefix}
365 | | And Set Interface Address
366 | | ... | ${dut1_node} | ${dut1_to_dut2_if1}
367 | | ... | ${dut1_to_dut2_ip1} | ${ip_prefix}
368 | | And Set Interface Address
369 | | ... | ${dut1_node} | ${dut1_to_dut2_if2}
370 | | ... | ${dut1_to_dut2_ip2} | ${ip_prefix}
371
372 | | And Set Interface Address
373 | | ... | ${dut2_node} | ${dut2_to_tg_if1} | ${dut2_to_tg_ip1} | ${ip_prefix}
374 | | And Set Interface Address
375 | | ... | ${dut2_node} | ${dut2_to_tg_if2} | ${dut2_to_tg_ip2} | ${ip_prefix}
376 | | And Set Interface Address
377 | | ... | ${dut2_node} | ${dut2_to_dut1_if1}
378 | | ... | ${dut2_to_dut1_ip1} | ${ip_prefix}
379 | | And Set Interface Address
380 | | ... | ${dut2_node} | ${dut2_to_dut1_if2}
381 | | ... | ${dut2_to_dut1_ip2} | ${ip_prefix}
382
383 | | And Add IP Neighbor | ${dut1_node} | ${dut1_to_tg_if1}
384 | | ... | ${tg_dut1_ip1} | ${tg_to_dut1_if1_mac} | vrf=${fib_table_1}
385 | | And Add IP Neighbor | ${dut1_node} | ${dut1_to_dut2_if1}
386 | | ... | ${dut2_to_dut1_ip1} | ${dut2_to_dut1_if1_mac} | vrf=${fib_table_1}
387 | | And Add IP Neighbor | ${dut2_node} | ${dut2_to_tg_if1}
388 | | ... | ${tg_dut2_ip1} | ${tg_to_dut2_if1_mac} | vrf=${fib_table_1}
389 | | And Add IP Neighbor | ${dut2_node} | ${dut2_to_dut1_if1}
390 | | ... | ${dut1_to_dut2_ip1} | ${dut1_to_dut2_if1_mac} | vrf=${fib_table_1}
391
392 | | And Add IP Neighbor | ${dut1_node} | ${dut1_to_tg_if2}
393 | | ... | ${tg_dut1_ip2} | ${tg_to_dut1_if2_mac} | vrf=${fib_table_2}
394 | | And Add IP Neighbor | ${dut1_node} | ${dut1_to_dut2_if2}
395 | | ... | ${dut2_to_dut1_ip2} | ${dut2_to_dut1_if2_mac} | vrf=${fib_table_2}
396 | | And Add IP Neighbor | ${dut2_node} | ${dut2_to_tg_if2}
397 | | ... | ${tg_dut2_ip2} | ${tg_to_dut2_if2_mac} | vrf=${fib_table_2}
398 | | And Add IP Neighbor | ${dut2_node} | ${dut2_to_dut1_if2}
399 | | ... | ${dut1_to_dut2_ip2} | ${dut1_to_dut2_if2_mac} | vrf=${fib_table_2}
400
401 | | And Vpp Route Add | ${dut1_node} | ${tg_dut2_ip1} | ${ip_prefix}
402 | | ... | ${dut2_to_dut1_ip1} | ${dut1_to_dut2_if1} | vrf=${fib_table_1}
403 | | And Vpp Route Add | ${dut2_node} | ${tg_dut1_ip1} | ${ip_prefix}
404 | | ... | ${dut1_to_dut2_ip1} | ${dut2_to_dut1_if1} | vrf=${fib_table_1}
405
406 | | And Vpp Route Add | ${dut1_node} | ${tg_dut2_ip2} | ${ip_prefix}
407 | | ... | ${dut2_to_dut1_ip2} | ${dut1_to_dut2_if2} | vrf=${fib_table_2}
408 | | And Vpp Route Add | ${dut2_node} | ${tg_dut1_ip2} | ${ip_prefix}
409 | | ... | ${dut1_to_dut2_ip2} | ${dut2_to_dut1_if2} | vrf=${fib_table_2}
410
411 | | Vpp All RA Suppress Link Layer | ${nodes}