CSIT-56: modify honeycomb bootstrap file permissions
[csit.git] / tests / func / lisp / lisp_dataplane_untagged.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/testing_path.robot
17 | Resource | resources/libraries/robot/ipv4.robot
18 | Resource | resources/libraries/robot/traffic.robot
19 | Resource | resources/libraries/robot/lisp/lisp_static_adjacency.robot
20 | Resource | resources/libraries/robot/l2_traffic.robot
21 | Library  | resources.libraries.python.IPUtil
22 | Library  | resources.libraries.python.Trace
23 # import additional Lisp settings from resource file
24 | Variables | resources/test_data/lisp/static_adjacency/lisp_static_adjacency.py
25 | Force Tags | 3_NODE_SINGLE_LINK_TOPO | 3_NODE_DOUBLE_LINK_TOPO
26 | ... | VM_ENV | HW_ENV
27 | Test Setup | Run Keywords | Setup all DUTs before test
28 | ...        | AND          | Setup all TGs before traffic script
29 | ...        | AND          | Update All Interface Data On All Nodes | ${nodes}
30 | Test Teardown | Run Keywords | Show Packet Trace on All DUTs | ${nodes}
31 | ...           | AND          | Show vpp trace dump on all DUTs
32 | Documentation | *LISP static adjacency test cases*
33 | ...
34 | ... | *[Top] Network Topologies:* TG-DUT1-DUT2-TG 3-node circular topology
35 | ... | with single links between nodes.
36 | ... | *[Enc] Packet Encapsulations:* Eth-IPv4-LISP-IPv4-ICMPv4 on DUT1-DUT2,
37 | ... | Eth-IPv4-ICMPv4 on TG-DUTn for IPv4 routing over LISPoIPv4 tunnel;
38 | ... | Eth-IPv6-LISP-IPv6-ICMPv6 on DUT1-DUT2, Eth-IPv6-ICMPv6 on TG-DUTn for
39 | ... | IPv6 routing over LISPoIPv6 tunnel; Eth-IPv6-LISP-IPv4-ICMPv4 on
40 | ... | DUT1-DUT2, Eth-IPv4-ICMPv4 on TG-DUTn for IPv4 routing over LISPoIPv6
41 | ... | tunnel; Eth-IPv4-LISP-IPv6-ICMPv6 on DUT1-DUT2, Eth-IPv6-ICMPv6 on
42 | ... | TG-DUTn for IPv6 routing over LISPoIPv4 tunnel.
43 | ... | *[Cfg] DUT configuration:* DUT1 and DUT2 are configured with IPv4 (IPv6)
44 | ... | routing and static routes. LISPoIPv4 (oIPv6) tunnel is configured
45 | ... | between DUT1 and DUT2.
46 | ... | *[Ver] TG verification:* Test ICMPv4 (or ICMPv6) Echo Request packets
47 | ... | are sent in both directions by TG on links to DUT1 and DUT2; on receive
48 | ... | TG verifies packets for correctness and their IPv4 (IPv6) src-addr,
49 | ... | dst-addr and MAC addresses.
50 | ... | *[Ref] Applicable standard specifications:* RFC6830.
51
52 *** Test Cases ***
53 | TC01: DUT1 and DUT2 route IPv4 bidirectionally over LISPoIPv4 tunnel
54 | | [Documentation]
55 | | ... | [Top] TG-DUT1-DUT2-TG. \
56 | | ... | [Enc] Eth-IPv4-LISP-IPv4-ICMPv4 on DUT1-DUT2, Eth-IPv4-ICMPv4 on
57 | | ... | TG-DUTn.
58 | | ... | [Cfg] On DUT1 and DUT2 configure IPv4 LISP static adjacencies.
59 | | ... | [Ver] Make TG send ICMPv4 Echo Req between its interfaces across both
60 | | ... | DUTs and LISP tunnel between them; verify IPv4 headers on received
61 | | ... | packets are correct.
62 | | ... | [Cfg2] Reconf LISP.
63 | | ... | [Ver2] Verify packets are received again via LISP tunnel.
64 | | ... | [Ref] RFC6830.
65 | | Given Path for 3-node testing is set
66 | | ... | ${nodes['TG']} | ${nodes['DUT1']} | ${nodes['DUT2']} | ${nodes['TG']}
67 | | And   Interfaces in 3-node path are up
68 | | And   IP addresses are set on interfaces
69 | |       ... | ${dut1_node} | ${dut1_to_dut2}
70 | |       ... | ${dut1_to_dut2_ip4} | ${prefix4}
71 | |       ... | ${dut1_node} | ${dut1_to_tg}
72 | |       ... | ${dut1_to_tg_ip4} | ${prefix4}
73 | |       ... | ${dut2_node} | ${dut2_to_dut1}
74 | |       ... | ${dut2_to_dut1_ip4} | ${prefix4}
75 | |       ... | ${dut2_node} | ${dut2_to_tg}
76 | |       ... | ${dut2_to_tg_ip4} | ${prefix4}
77 | | And   VPP IP Probe | ${dut1_node} | ${dut1_to_dut2} | ${dut2_to_dut1_ip4}
78 | | And   VPP IP Probe | ${dut2_node} | ${dut2_to_dut1} | ${dut1_to_dut2_ip4}
79 | | And   Add Arp On Dut | ${dut2_node} | ${dut2_to_tg} | ${tg2_ip4}
80 | |       ... | ${tg_to_dut2_mac}
81 | | And   Add Arp On Dut | ${dut1_node} | ${dut1_to_tg} | ${tg1_ip4}
82 | |       ... | ${tg_to_dut1_mac}
83 | | When Set up Lisp topology
84 | |      ... | ${dut1_node} | ${dut1_to_dut2} | ${NONE}
85 | |      ... | ${dut2_node} | ${dut2_to_dut1} | ${NONE}
86 | |      ... | ${duts_locator_set} | ${dut1_ip4_eid} | ${dut2_ip4_eid}
87 | |      ... | ${dut1_to_dut2_ip4_static_adjacency}
88 | |      ... | ${dut2_to_dut1_ip4_static_adjacency}
89 | | Then Send Packet And Check Headers
90 | |      ... | ${tg_node} | ${tg1_ip4} | ${tg2_ip4}
91 | |      ... | ${tg_to_dut1} | ${tg_to_dut1_mac} | ${dut1_to_tg_mac}
92 | |      ... | ${tg_to_dut2} | ${dut2_to_tg_mac} | ${tg_to_dut2_mac}
93 | | And Send Packet And Check Headers
94 | |      ... | ${tg_node} | ${tg2_ip4} | ${tg1_ip4}
95 | |      ... | ${tg_to_dut2} | ${tg_to_dut2_mac} | ${dut2_to_tg_mac}
96 | |      ... | ${tg_to_dut1} | ${dut1_to_tg_mac} | ${tg_to_dut1_mac}
97 | | When Change Lisp Configuration | ${dut1_node} | ${dut2_node}
98 | |      ... | ${dut1_to_dut2} | ${dut2_to_dut1} | ${dut1_to_dut2_mac}
99 | |      ... | ${dut2_to_dut1_mac} | ${dut1_to_dut2_ip4}
100 | |      ... | ${dut2_to_dut1_ip4_reconf} | ${prefix4}
101 | |      ... | ${dut1_to_dut2_ip4_static_adjacency}
102 | |      ... | ${dut1_to_dut2_ip4_static_adjacency_reconf}
103 | | Then Send Packet And Check Headers
104 | |      ... | ${tg_node} | ${tg1_ip4} | ${tg2_ip4}
105 | |      ... | ${tg_to_dut1} | ${tg_to_dut1_mac} | ${dut1_to_tg_mac}
106 | |      ... | ${tg_to_dut2} | ${dut2_to_tg_mac} | ${tg_to_dut2_mac}
107 | | And Send Packet And Check Headers
108 | |      ... | ${tg_node} | ${tg2_ip4} | ${tg1_ip4}
109 | |      ... | ${tg_to_dut2} | ${tg_to_dut2_mac} | ${dut2_to_tg_mac}
110 | |      ... | ${tg_to_dut1} | ${dut1_to_tg_mac} | ${tg_to_dut1_mac}
111
112 | TC02: DUT1 and DUT2 route IPv6 bidirectionally over LISPoIPv6 tunnel
113 | | [Documentation]
114 | | ... | [Top] TG-DUT1-DUT2-TG. \
115 | | ... | [Enc] Eth-IPv6-LISP-IPv6-ICMPv6 on DUT1-DUT2, Eth-IPv6-ICMPv6 on
116 | | ... | TG-DUTn.
117 | | ... | [Cfg] On DUT1 and DUT2 configure IPv6 LISP static adjacencies.
118 | | ... | [Ver] Make TG send ICMPv6 Echo Req between its interfaces across both
119 | | ... | DUTs and LISP tunnel between them; verify IPv4 headers on received
120 | | ... | packets are correct.
121 | | ... | [Cfg2] Reconf LISP.
122 | | ... | [Ver2] Verify packets are received again via LISP tunnel.
123 | | ... | [Ref] RFC6830.
124 | | Given Path for 3-node testing is set
125 | | ... | ${nodes['TG']} | ${nodes['DUT1']} | ${nodes['DUT2']} | ${nodes['TG']}
126 | | And   Interfaces in 3-node path are up
127 | | And   IP addresses are set on interfaces
128 | |       ... | ${dut1_node} | ${dut1_to_dut2}
129 | |       ... | ${dut1_to_dut2_ip6} | ${prefix6}
130 | |       ... | ${dut1_node} | ${dut1_to_tg}
131 | |       ... | ${dut1_to_tg_ip6} | ${prefix6}
132 | |       ... | ${dut2_node} | ${dut2_to_dut1}
133 | |       ... | ${dut2_to_dut1_ip6} | ${prefix6}
134 | |       ... | ${dut2_node} | ${dut2_to_tg}
135 | |       ... | ${dut2_to_tg_ip6} | ${prefix6}
136 | | And   VPP IP Probe | ${dut1_node} | ${dut1_to_dut2} | ${dut2_to_dut1_ip6}
137 | | And   VPP IP Probe | ${dut2_node} | ${dut2_to_dut1} | ${dut1_to_dut2_ip6}
138 | | And   Add Arp On Dut | ${dut2_node} | ${dut2_to_tg} | ${tg2_ip6}
139 | |       ... | ${tg_to_dut2_mac}
140 | | And   Add Arp On Dut | ${dut1_node} | ${dut1_to_tg} | ${tg1_ip6}
141 | |       ... | ${tg_to_dut1_mac}
142 | | When Set up Lisp topology
143 | |      ... | ${dut1_node} | ${dut1_to_dut2} | ${NONE}
144 | |      ... | ${dut2_node} | ${dut2_to_dut1} | ${NONE}
145 | |      ... | ${duts_locator_set} | ${dut1_ip6_eid} | ${dut2_ip6_eid}
146 | |      ... | ${dut1_to_dut2_ip6_static_adjacency}
147 | |      ... | ${dut2_to_dut1_ip6_static_adjacency}
148 | | Then Send Packet And Check Headers
149 | |      ... | ${tg_node} | ${tg1_ip6} | ${tg2_ip6}
150 | |      ... | ${tg_to_dut1} | ${tg_to_dut1_mac} | ${dut1_to_tg_mac}
151 | |      ... | ${tg_to_dut2} | ${dut2_to_tg_mac} | ${tg_to_dut2_mac}
152 | | And Send Packet And Check Headers
153 | |      ... | ${tg_node} | ${tg2_ip6} | ${tg1_ip6}
154 | |      ... | ${tg_to_dut2} | ${tg_to_dut2_mac} | ${dut2_to_tg_mac}
155 | |      ... | ${tg_to_dut1} | ${dut1_to_tg_mac} | ${tg_to_dut1_mac}
156 | | When Change Lisp Configuration | ${dut1_node} | ${dut2_node}
157 | |      ... | ${dut1_to_dut2} | ${dut2_to_dut1} | ${dut1_to_dut2_mac}
158 | |      ... | ${dut2_to_dut1_mac} | ${dut1_to_dut2_ip6}
159 | |      ... | ${dut2_to_dut1_ip6_reconf} | ${prefix6}
160 | |      ... | ${dut1_to_dut2_ip6_static_adjacency}
161 | |      ... | ${dut1_to_dut2_ip6_static_adjacency_reconf}
162 | | Then Send Packet And Check Headers
163 | |      ... | ${tg_node} | ${tg1_ip6} | ${tg2_ip6}
164 | |      ... | ${tg_to_dut1} | ${tg_to_dut1_mac} | ${dut1_to_tg_mac}
165 | |      ... | ${tg_to_dut2} | ${dut2_to_tg_mac} | ${tg_to_dut2_mac}
166 | | And Send Packet And Check Headers
167 | |      ... | ${tg_node} | ${tg2_ip6} | ${tg1_ip6}
168 | |      ... | ${tg_to_dut2} | ${tg_to_dut2_mac} | ${dut2_to_tg_mac}
169 | |      ... | ${tg_to_dut1} | ${dut1_to_tg_mac} | ${tg_to_dut1_mac}
170
171 | TC03: DUT1 and DUT2 route IPv4 bidirectionally over LISPoIPv6 tunnel
172 | | [Documentation]
173 | | ... | [Top] TG-DUT1-DUT2-TG. \
174 | | ... | [Enc] Eth-IPv6-LISP-IPv4-ICMPv4 on DUT1-DUT2, Eth-IPv4-ICMPv4 on
175 | | ... | TG-DUTn.
176 | | ... | [Cfg] On DUT1 and DUT2 configure IPv6 LISP static adjacencies.
177 | | ... | [Ver] Make TG send ICMPv4 Echo Req between its interfaces across both
178 | | ... | DUTs and LISP tunnel between them; verify IPv4 headers on received
179 | | ... | packets are correct.
180 | | ... | [Cfg2] Reconf LISP.
181 | | ... | [Ver2] Verify packets are received again via LISP tunnel.
182 | | ... | [Ref] RFC6830.
183 | | Given Path for 3-node testing is set
184 | | ... | ${nodes['TG']} | ${nodes['DUT1']} | ${nodes['DUT2']} | ${nodes['TG']}
185 | | And   Interfaces in 3-node path are up
186 | | And   IP addresses are set on interfaces
187 | |       ... | ${dut1_node} | ${dut1_to_dut2}
188 | |       ... | ${dut1_to_dut2_ip4o6} | ${dut_prefix4o6}
189 | |       ... | ${dut1_node} | ${dut1_to_tg}
190 | |       ... | ${dut1_to_tg_ip4o6} | ${tg_prefix4o6}
191 | |       ... | ${dut2_node} | ${dut2_to_dut1}
192 | |       ... | ${dut2_to_dut1_ip4o6} | ${dut_prefix4o6}
193 | |       ... | ${dut2_node} | ${dut2_to_tg}
194 | |       ... | ${dut2_to_tg_ip4o6} | ${tg_prefix4o6}
195 | | And   VPP IP Probe | ${dut1_node} | ${dut1_to_dut2} | ${dut2_to_dut1_ip4o6}
196 | | And   VPP IP Probe | ${dut2_node} | ${dut2_to_dut1} | ${dut1_to_dut2_ip4o6}
197 | | And   Add Arp On Dut | ${dut2_node} | ${dut2_to_tg} | ${tg2_ip4o6}
198 | |       ... | ${tg_to_dut2_mac}
199 | | And   Add Arp On Dut | ${dut1_node} | ${dut1_to_tg} | ${tg1_ip4o6}
200 | |       ... | ${tg_to_dut1_mac}
201 | | When Set up Lisp topology
202 | |      ... | ${dut1_node} | ${dut1_to_dut2} | ${NONE}
203 | |      ... | ${dut2_node} | ${dut2_to_dut1} | ${NONE}
204 | |      ... | ${duts_locator_set} | ${dut1_ip4o6_eid} | ${dut2_ip4o6_eid}
205 | |      ... | ${dut1_ip4o6_static_adjacency} | ${dut2_ip4o6_static_adjacency}
206 | | Then Send Packet And Check Headers
207 | |      ... | ${tg_node} | ${tg1_ip4o6} | ${tg2_ip4o6}
208 | |      ... | ${tg_to_dut1} | ${tg_to_dut1_mac} | ${dut1_to_tg_mac}
209 | |      ... | ${tg_to_dut2} | ${dut2_to_tg_mac} | ${tg_to_dut2_mac}
210 | | And Send Packet And Check Headers
211 | |      ... | ${tg_node} | ${tg2_ip4o6} | ${tg1_ip4o6}
212 | |      ... | ${tg_to_dut2} | ${tg_to_dut2_mac} | ${dut2_to_tg_mac}
213 | |      ... | ${tg_to_dut1} | ${dut1_to_tg_mac} | ${tg_to_dut1_mac}
214 | | When Change Lisp Configuration | ${dut1_node} | ${dut2_node}
215 | |      ... | ${dut1_to_dut2} | ${dut2_to_dut1} | ${dut1_to_dut2_mac}
216 | |      ... | ${dut2_to_dut1_mac} | ${dut1_to_dut2_ip4o6}
217 | |      ... | ${dut2_to_dut1_ip4o6_reconf} | ${dut_prefix4o6}
218 | |      ... | ${dut1_ip4o6_static_adjacency}
219 | |      ... | ${dut1_ip4o6_static_adjacency_reconf}
220 | | Then Send Packet And Check Headers
221 | |      ... | ${tg_node} | ${tg1_ip4o6} | ${tg2_ip4o6}
222 | |      ... | ${tg_to_dut1} | ${tg_to_dut1_mac} | ${dut1_to_tg_mac}
223 | |      ... | ${tg_to_dut2} | ${dut2_to_tg_mac} | ${tg_to_dut2_mac}
224 | | And Send Packet And Check Headers
225 | |      ... | ${tg_node} | ${tg2_ip4o6} | ${tg1_ip4o6}
226 | |      ... | ${tg_to_dut2} | ${tg_to_dut2_mac} | ${dut2_to_tg_mac}
227 | |      ... | ${tg_to_dut1} | ${dut1_to_tg_mac} | ${tg_to_dut1_mac}
228
229 | TC04: DUT1 and DUT2 route IPv6 bidirectionally over LISPoIPv4 tunnel
230 | | [Documentation]
231 | | ... | [Top] TG-DUT1-DUT2-TG. \
232 | | ... | [Enc] Eth-IPv4-LISP-IPv6-ICMPv6 on DUT1-DUT2, Eth-IPv6-ICMPv6 on
233 | | ... | TG-DUTn.
234 | | ... | [Cfg] On DUT1 and DUT2 configure IPv4 LISP static adjacencies.
235 | | ... | [Ver] Make TG send ICMPv6 Echo Req between its interfaces across both
236 | | ... | DUTs and LISP tunnel between them; verify IPv4 headers on received
237 | | ... | packets are correct.
238 | | ... | [Cfg2] Reconf LISP.
239 | | ... | [Ver2] Verify packets are received again via LISP tunnel.
240 | | ... | [Ref] RFC6830.
241 | | Given Path for 3-node testing is set
242 | | ... | ${nodes['TG']} | ${nodes['DUT1']} | ${nodes['DUT2']} | ${nodes['TG']}
243 | | And   Interfaces in 3-node path are up
244 | | And   IP addresses are set on interfaces
245 | |       ... | ${dut1_node} | ${dut1_to_dut2}
246 | |       ... | ${dut1_to_dut2_ip6o4} | ${dut_prefix6o4}
247 | |       ... | ${dut1_node} | ${dut1_to_tg}
248 | |       ... | ${dut1_to_tg_ip6o4} | ${tg_prefix6o4}
249 | |       ... | ${dut2_node} | ${dut2_to_dut1}
250 | |       ... | ${dut2_to_dut1_ip6o4} | ${dut_prefix6o4}
251 | |       ... | ${dut2_node} | ${dut2_to_tg}
252 | |       ... | ${dut2_to_tg_ip6o4} | ${tg_prefix6o4}
253 | | And   VPP IP Probe | ${dut1_node} | ${dut1_to_dut2} | ${dut2_to_dut1_ip6o4}
254 | | And   VPP IP Probe | ${dut2_node} | ${dut2_to_dut1} | ${dut1_to_dut2_ip6o4}
255 | | And   Add Arp On Dut | ${dut2_node} | ${dut2_to_tg} | ${tg2_ip6o4}
256 | |       ... | ${tg_to_dut2_mac}
257 | | And   Add Arp On Dut | ${dut1_node} | ${dut1_to_tg} | ${tg1_ip6o4}
258 | |       ... | ${tg_to_dut1_mac}
259 | | When Set up Lisp topology
260 | |      ... | ${dut1_node} | ${dut1_to_dut2} | ${NONE}
261 | |      ... | ${dut2_node} | ${dut2_to_dut1} | ${NONE}
262 | |      ... | ${duts_locator_set} | ${dut1_ip6o4_eid} | ${dut2_ip6o4_eid}
263 | |      ... | ${dut1_ip6o4_static_adjacency} | ${dut2_ip6o4_static_adjacency}
264 | | Then Send Packet And Check Headers
265 | |      ... | ${tg_node} | ${tg1_ip6o4} | ${tg2_ip6o4}
266 | |      ... | ${tg_to_dut1} | ${tg_to_dut1_mac} | ${dut1_to_tg_mac}
267 | |      ... | ${tg_to_dut2} | ${dut2_to_tg_mac} | ${tg_to_dut2_mac}
268 | | And Send Packet And Check Headers
269 | |      ... | ${tg_node} | ${tg2_ip6o4} | ${tg1_ip6o4}
270 | |      ... | ${tg_to_dut2} | ${tg_to_dut2_mac} | ${dut2_to_tg_mac}
271 | |      ... | ${tg_to_dut1} | ${dut1_to_tg_mac} | ${tg_to_dut1_mac}
272 | | When Change Lisp Configuration | ${dut1_node} | ${dut2_node}
273 | |      ... | ${dut1_to_dut2} | ${dut2_to_dut1} | ${dut1_to_dut2_mac}
274 | |      ... | ${dut2_to_dut1_mac} | ${dut1_to_dut2_ip6o4}
275 | |      ... | ${dut2_to_dut1_ip6o4_reconf} | ${dut_prefix6o4}
276 | |      ... | ${dut1_ip6o4_static_adjacency}
277 | |      ... | ${dut1_ip6o4_static_adjacency_reconf}
278 | | Then Send Packet And Check Headers
279 | |      ... | ${tg_node} | ${tg1_ip6o4} | ${tg2_ip6o4}
280 | |      ... | ${tg_to_dut1} | ${tg_to_dut1_mac} | ${dut1_to_tg_mac}
281 | |      ... | ${tg_to_dut2} | ${dut2_to_tg_mac} | ${tg_to_dut2_mac}
282 | | And Send Packet And Check Headers
283 | |      ... | ${tg_node} | ${tg2_ip6o4} | ${tg1_ip6o4}
284 | |      ... | ${tg_to_dut2} | ${tg_to_dut2_mac} | ${dut2_to_tg_mac}
285 | |      ... | ${tg_to_dut1} | ${dut1_to_tg_mac} | ${tg_to_dut1_mac}
286
287 | TC05: DUT1 and DUT2 route IPv4 over LISPoIPv4 tunnel after disable-enable
288 | | [Documentation]
289 | | ... | [Top] TG-DUT1-DUT2-TG. \
290 | | ... | [Enc] Eth-IPv4-LISP-IPv4-ICMPv4 on DUT1-DUT2, Eth-IPv4-ICMPv4 on
291 | | ... | TG-DUTn.
292 | | ... | [Cfg1] On DUT1 and DUT2 configure IPv4 LISP static adjacencies.
293 | | ... | [Ver1] Make TG send ICMPv4 Echo Req between its interfaces across
294 | | ... | both DUTs and LISP tunnel between them; verify IPv4 headers on
295 | | ... | received packets are correct.
296 | | ... | [Cfg2] Disable LISP.
297 | | ... | [Ver2] Verify packets are not received via LISP tunnel.
298 | | ... | [Cfg3] Re-enable LISP.
299 | | ... | [Ver3] Verify packets are received again via LISP tunnel.
300 | | ... | [Ref] RFC6830.
301 | | Given Path for 3-node testing is set
302 | | ... | ${nodes['TG']} | ${nodes['DUT1']} | ${nodes['DUT2']} | ${nodes['TG']}
303 | | And   Interfaces in 3-node path are up
304 | | And   IP addresses are set on interfaces
305 | |       ... | ${dut1_node} | ${dut1_to_dut2}
306 | |       ... | ${dut1_to_dut2_ip4} | ${prefix4}
307 | |       ... | ${dut1_node} | ${dut1_to_tg}
308 | |       ... | ${dut1_to_tg_ip4} | ${prefix4}
309 | |       ... | ${dut2_node} | ${dut2_to_dut1}
310 | |       ... | ${dut2_to_dut1_ip4} | ${prefix4}
311 | |       ... | ${dut2_node} | ${dut2_to_tg}
312 | |       ... | ${dut2_to_tg_ip4} | ${prefix4}
313 | | And   VPP IP Probe | ${dut1_node} | ${dut1_to_dut2} | ${dut2_to_dut1_ip4}
314 | | And   VPP IP Probe | ${dut2_node} | ${dut2_to_dut1} | ${dut1_to_dut2_ip4}
315 | | And   Add Arp On Dut | ${dut2_node} | ${dut2_to_tg} | ${tg2_ip4}
316 | |       ... | ${tg_to_dut2_mac}
317 | | And   Add Arp On Dut | ${dut1_node} | ${dut1_to_tg} | ${tg1_ip4}
318 | |       ... | ${tg_to_dut1_mac}
319 | | When Set up Lisp topology
320 | |      ... | ${dut1_node} | ${dut1_to_dut2} | ${NONE}
321 | |      ... | ${dut2_node} | ${dut2_to_dut1} | ${NONE}
322 | |      ... | ${duts_locator_set} | ${dut1_ip4_eid} | ${dut2_ip4_eid}
323 | |      ... | ${dut1_to_dut2_ip4_static_adjacency}
324 | |      ... | ${dut2_to_dut1_ip4_static_adjacency}
325 | | Then Send Packet And Check Headers
326 | |      ... | ${tg_node} | ${tg1_ip4} | ${tg2_ip4}
327 | |      ... | ${tg_to_dut1} | ${tg_to_dut1_mac} | ${dut1_to_tg_mac}
328 | |      ... | ${tg_to_dut2} | ${dut2_to_tg_mac} | ${tg_to_dut2_mac}
329 | | And Send Packet And Check Headers
330 | |      ... | ${tg_node} | ${tg2_ip4} | ${tg1_ip4}
331 | |      ... | ${tg_to_dut2} | ${tg_to_dut2_mac} | ${dut2_to_tg_mac}
332 | |      ... | ${tg_to_dut1} | ${dut1_to_tg_mac} | ${tg_to_dut1_mac}
333 | | When Disable Lisp | ${dut1_node}
334 | | Then Send packet from Port to Port should failed
335 | |      ... | ${tg_node} | ${tg1_ip4} | ${tg2_ip4}
336 | |      ... | ${tg_to_dut1} | ${tg_to_dut1_mac} | ${dut1_to_tg_mac}
337 | |      ... | ${tg_to_dut2} | ${dut2_to_tg_mac} | ${tg_to_dut2_mac}
338 | | And Send packet from Port to Port should failed
339 | |      ... | ${tg_node} | ${tg2_ip4} | ${tg1_ip4}
340 | |      ... | ${tg_to_dut2} | ${tg_to_dut2_mac} | ${dut2_to_tg_mac}
341 | |      ... | ${tg_to_dut1} | ${dut1_to_tg_mac} | ${tg_to_dut1_mac}
342 | | When Enable Lisp | ${dut1_node}
343 | | And Vpp Add Lisp Adjacency | ${dut1_node} 
344 | |     ... | ${dut1_to_dut2_ip4_static_adjacency['vni']}
345 | |     ... | ${dut1_to_dut2_ip4_static_adjacency['deid']}
346 | |     ... | ${dut1_to_dut2_ip4_static_adjacency['prefix']}
347 | |     ... | ${dut1_to_dut2_ip4_static_adjacency['seid']}
348 | |     ... | ${dut1_to_dut2_ip4_static_adjacency['prefix']}
349 | | And Vpp Add Lisp Adjacency | ${dut2_node} 
350 | |     ... | ${dut2_to_dut1_ip4_static_adjacency['vni']}
351 | |     ... | ${dut2_to_dut1_ip4_static_adjacency['deid']}
352 | |     ... | ${dut2_to_dut1_ip4_static_adjacency['prefix']}
353 | |     ... | ${dut2_to_dut1_ip4_static_adjacency['seid']}
354 | |     ... | ${dut2_to_dut1_ip4_static_adjacency['prefix']}
355 | | Then Wait Until Keyword Succeeds | 2x | 5s | Send Packet And Check Headers
356 | |      ... | ${tg_node} | ${tg1_ip4} | ${tg2_ip4}
357 | |      ... | ${tg_to_dut1} | ${tg_to_dut1_mac} | ${dut1_to_tg_mac}
358 | |      ... | ${tg_to_dut2} | ${dut2_to_tg_mac} | ${tg_to_dut2_mac}
359 | | And Wait Until Keyword Succeeds | 2x | 5s | Send Packet And Check Headers
360 | |      ... | ${tg_node} | ${tg2_ip4} | ${tg1_ip4}
361 | |      ... | ${tg_to_dut2} | ${tg_to_dut2_mac} | ${dut2_to_tg_mac}
362 | |      ... | ${tg_to_dut1} | ${dut1_to_tg_mac} | ${tg_to_dut1_mac}