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:
6 # http://www.apache.org/licenses/LICENSE-2.0
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.
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*
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.
53 | TC01: DUT1 and DUT2 route IPv4 bidirectionally over LISPoIPv4 tunnel
55 | | ... | [Top] TG-DUT1-DUT2-TG. \
56 | | ... | [Enc] Eth-IPv4-LISP-IPv4-ICMPv4 on DUT1-DUT2, Eth-IPv4-ICMPv4 on
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}
112 | TC02: DUT1 and DUT2 route IPv6 bidirectionally over LISPoIPv6 tunnel
114 | | ... | [Top] TG-DUT1-DUT2-TG. \
115 | | ... | [Enc] Eth-IPv6-LISP-IPv6-ICMPv6 on DUT1-DUT2, Eth-IPv6-ICMPv6 on
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 | | [Tags] | EXPECTED_FAILING
125 | | Given Path for 3-node testing is set
126 | | ... | ${nodes['TG']} | ${nodes['DUT1']} | ${nodes['DUT2']} | ${nodes['TG']}
127 | | And Interfaces in 3-node path are up
128 | | And IP addresses are set on interfaces
129 | | ... | ${dut1_node} | ${dut1_to_dut2}
130 | | ... | ${dut1_to_dut2_ip6} | ${prefix6}
131 | | ... | ${dut1_node} | ${dut1_to_tg}
132 | | ... | ${dut1_to_tg_ip6} | ${prefix6}
133 | | ... | ${dut2_node} | ${dut2_to_dut1}
134 | | ... | ${dut2_to_dut1_ip6} | ${prefix6}
135 | | ... | ${dut2_node} | ${dut2_to_tg}
136 | | ... | ${dut2_to_tg_ip6} | ${prefix6}
137 | | And VPP IP Probe | ${dut1_node} | ${dut1_to_dut2} | ${dut2_to_dut1_ip6}
138 | | And VPP IP Probe | ${dut2_node} | ${dut2_to_dut1} | ${dut1_to_dut2_ip6}
139 | | And Add Arp On Dut | ${dut2_node} | ${dut2_to_tg} | ${tg2_ip6}
140 | | ... | ${tg_to_dut2_mac}
141 | | And Add Arp On Dut | ${dut1_node} | ${dut1_to_tg} | ${tg1_ip6}
142 | | ... | ${tg_to_dut1_mac}
143 | | When Set up Lisp topology
144 | | ... | ${dut1_node} | ${dut1_to_dut2} | ${NONE}
145 | | ... | ${dut2_node} | ${dut2_to_dut1} | ${NONE}
146 | | ... | ${duts_locator_set} | ${dut1_ip6_eid} | ${dut2_ip6_eid}
147 | | ... | ${dut1_to_dut2_ip6_static_adjacency}
148 | | ... | ${dut2_to_dut1_ip6_static_adjacency}
149 | | Then Send Packet And Check Headers
150 | | ... | ${tg_node} | ${tg1_ip6} | ${tg2_ip6}
151 | | ... | ${tg_to_dut1} | ${tg_to_dut1_mac} | ${dut1_to_tg_mac}
152 | | ... | ${tg_to_dut2} | ${dut2_to_tg_mac} | ${tg_to_dut2_mac}
153 | | And Send Packet And Check Headers
154 | | ... | ${tg_node} | ${tg2_ip6} | ${tg1_ip6}
155 | | ... | ${tg_to_dut2} | ${tg_to_dut2_mac} | ${dut2_to_tg_mac}
156 | | ... | ${tg_to_dut1} | ${dut1_to_tg_mac} | ${tg_to_dut1_mac}
157 | | When Change Lisp Configuration | ${dut1_node} | ${dut2_node}
158 | | ... | ${dut1_to_dut2} | ${dut2_to_dut1} | ${dut1_to_dut2_mac}
159 | | ... | ${dut2_to_dut1_mac} | ${dut1_to_dut2_ip6}
160 | | ... | ${dut2_to_dut1_ip6_reconf} | ${prefix6}
161 | | ... | ${dut1_to_dut2_ip6_static_adjacency}
162 | | ... | ${dut1_to_dut2_ip6_static_adjacency_reconf}
163 | | Then Send Packet And Check Headers
164 | | ... | ${tg_node} | ${tg1_ip6} | ${tg2_ip6}
165 | | ... | ${tg_to_dut1} | ${tg_to_dut1_mac} | ${dut1_to_tg_mac}
166 | | ... | ${tg_to_dut2} | ${dut2_to_tg_mac} | ${tg_to_dut2_mac}
167 | | And Send Packet And Check Headers
168 | | ... | ${tg_node} | ${tg2_ip6} | ${tg1_ip6}
169 | | ... | ${tg_to_dut2} | ${tg_to_dut2_mac} | ${dut2_to_tg_mac}
170 | | ... | ${tg_to_dut1} | ${dut1_to_tg_mac} | ${tg_to_dut1_mac}
172 | TC03: DUT1 and DUT2 route IPv4 bidirectionally over LISPoIPv6 tunnel
174 | | ... | [Top] TG-DUT1-DUT2-TG. \
175 | | ... | [Enc] Eth-IPv6-LISP-IPv4-ICMPv4 on DUT1-DUT2, Eth-IPv4-ICMPv4 on
177 | | ... | [Cfg] On DUT1 and DUT2 configure IPv6 LISP static adjacencies.
178 | | ... | [Ver] Make TG send ICMPv4 Echo Req between its interfaces across both
179 | | ... | DUTs and LISP tunnel between them; verify IPv4 headers on received
180 | | ... | packets are correct.
181 | | ... | [Cfg2] Reconf LISP.
182 | | ... | [Ver2] Verify packets are received again via LISP tunnel.
183 | | ... | [Ref] RFC6830.
184 | | [Tags] | EXPECTED_FAILING
185 | | Given Path for 3-node testing is set
186 | | ... | ${nodes['TG']} | ${nodes['DUT1']} | ${nodes['DUT2']} | ${nodes['TG']}
187 | | And Interfaces in 3-node path are up
188 | | And IP addresses are set on interfaces
189 | | ... | ${dut1_node} | ${dut1_to_dut2}
190 | | ... | ${dut1_to_dut2_ip4o6} | ${dut_prefix4o6}
191 | | ... | ${dut1_node} | ${dut1_to_tg}
192 | | ... | ${dut1_to_tg_ip4o6} | ${tg_prefix4o6}
193 | | ... | ${dut2_node} | ${dut2_to_dut1}
194 | | ... | ${dut2_to_dut1_ip4o6} | ${dut_prefix4o6}
195 | | ... | ${dut2_node} | ${dut2_to_tg}
196 | | ... | ${dut2_to_tg_ip4o6} | ${tg_prefix4o6}
197 | | And VPP IP Probe | ${dut1_node} | ${dut1_to_dut2} | ${dut2_to_dut1_ip4o6}
198 | | And VPP IP Probe | ${dut2_node} | ${dut2_to_dut1} | ${dut1_to_dut2_ip4o6}
199 | | And Add Arp On Dut | ${dut2_node} | ${dut2_to_tg} | ${tg2_ip4o6}
200 | | ... | ${tg_to_dut2_mac}
201 | | And Add Arp On Dut | ${dut1_node} | ${dut1_to_tg} | ${tg1_ip4o6}
202 | | ... | ${tg_to_dut1_mac}
203 | | When Set up Lisp topology
204 | | ... | ${dut1_node} | ${dut1_to_dut2} | ${NONE}
205 | | ... | ${dut2_node} | ${dut2_to_dut1} | ${NONE}
206 | | ... | ${duts_locator_set} | ${dut1_ip4o6_eid} | ${dut2_ip4o6_eid}
207 | | ... | ${dut1_ip4o6_static_adjacency} | ${dut2_ip4o6_static_adjacency}
208 | | Then Send Packet And Check Headers
209 | | ... | ${tg_node} | ${tg1_ip4o6} | ${tg2_ip4o6}
210 | | ... | ${tg_to_dut1} | ${tg_to_dut1_mac} | ${dut1_to_tg_mac}
211 | | ... | ${tg_to_dut2} | ${dut2_to_tg_mac} | ${tg_to_dut2_mac}
212 | | And Send Packet And Check Headers
213 | | ... | ${tg_node} | ${tg2_ip4o6} | ${tg1_ip4o6}
214 | | ... | ${tg_to_dut2} | ${tg_to_dut2_mac} | ${dut2_to_tg_mac}
215 | | ... | ${tg_to_dut1} | ${dut1_to_tg_mac} | ${tg_to_dut1_mac}
216 | | When Change Lisp Configuration | ${dut1_node} | ${dut2_node}
217 | | ... | ${dut1_to_dut2} | ${dut2_to_dut1} | ${dut1_to_dut2_mac}
218 | | ... | ${dut2_to_dut1_mac} | ${dut1_to_dut2_ip4o6}
219 | | ... | ${dut2_to_dut1_ip4o6_reconf} | ${dut_prefix4o6}
220 | | ... | ${dut1_ip4o6_static_adjacency}
221 | | ... | ${dut1_ip4o6_static_adjacency_reconf}
222 | | Then Send Packet And Check Headers
223 | | ... | ${tg_node} | ${tg1_ip4o6} | ${tg2_ip4o6}
224 | | ... | ${tg_to_dut1} | ${tg_to_dut1_mac} | ${dut1_to_tg_mac}
225 | | ... | ${tg_to_dut2} | ${dut2_to_tg_mac} | ${tg_to_dut2_mac}
226 | | And Send Packet And Check Headers
227 | | ... | ${tg_node} | ${tg2_ip4o6} | ${tg1_ip4o6}
228 | | ... | ${tg_to_dut2} | ${tg_to_dut2_mac} | ${dut2_to_tg_mac}
229 | | ... | ${tg_to_dut1} | ${dut1_to_tg_mac} | ${tg_to_dut1_mac}
231 | TC04: DUT1 and DUT2 route IPv6 bidirectionally over LISPoIPv4 tunnel
233 | | ... | [Top] TG-DUT1-DUT2-TG. \
234 | | ... | [Enc] Eth-IPv4-LISP-IPv6-ICMPv6 on DUT1-DUT2, Eth-IPv6-ICMPv6 on
236 | | ... | [Cfg] On DUT1 and DUT2 configure IPv4 LISP static adjacencies.
237 | | ... | [Ver] Make TG send ICMPv6 Echo Req between its interfaces across both
238 | | ... | DUTs and LISP tunnel between them; verify IPv4 headers on received
239 | | ... | packets are correct.
240 | | ... | [Cfg2] Reconf LISP.
241 | | ... | [Ver2] Verify packets are received again via LISP tunnel.
242 | | ... | [Ref] RFC6830.
243 | | [Tags] | EXPECTED_FAILING
244 | | Given Path for 3-node testing is set
245 | | ... | ${nodes['TG']} | ${nodes['DUT1']} | ${nodes['DUT2']} | ${nodes['TG']}
246 | | And Interfaces in 3-node path are up
247 | | And IP addresses are set on interfaces
248 | | ... | ${dut1_node} | ${dut1_to_dut2}
249 | | ... | ${dut1_to_dut2_ip6o4} | ${dut_prefix6o4}
250 | | ... | ${dut1_node} | ${dut1_to_tg}
251 | | ... | ${dut1_to_tg_ip6o4} | ${tg_prefix6o4}
252 | | ... | ${dut2_node} | ${dut2_to_dut1}
253 | | ... | ${dut2_to_dut1_ip6o4} | ${dut_prefix6o4}
254 | | ... | ${dut2_node} | ${dut2_to_tg}
255 | | ... | ${dut2_to_tg_ip6o4} | ${tg_prefix6o4}
256 | | And VPP IP Probe | ${dut1_node} | ${dut1_to_dut2} | ${dut2_to_dut1_ip6o4}
257 | | And VPP IP Probe | ${dut2_node} | ${dut2_to_dut1} | ${dut1_to_dut2_ip6o4}
258 | | And Add Arp On Dut | ${dut2_node} | ${dut2_to_tg} | ${tg2_ip6o4}
259 | | ... | ${tg_to_dut2_mac}
260 | | And Add Arp On Dut | ${dut1_node} | ${dut1_to_tg} | ${tg1_ip6o4}
261 | | ... | ${tg_to_dut1_mac}
262 | | When Set up Lisp topology
263 | | ... | ${dut1_node} | ${dut1_to_dut2} | ${NONE}
264 | | ... | ${dut2_node} | ${dut2_to_dut1} | ${NONE}
265 | | ... | ${duts_locator_set} | ${dut1_ip6o4_eid} | ${dut2_ip6o4_eid}
266 | | ... | ${dut1_ip6o4_static_adjacency} | ${dut2_ip6o4_static_adjacency}
267 | | Then Send Packet And Check Headers
268 | | ... | ${tg_node} | ${tg1_ip6o4} | ${tg2_ip6o4}
269 | | ... | ${tg_to_dut1} | ${tg_to_dut1_mac} | ${dut1_to_tg_mac}
270 | | ... | ${tg_to_dut2} | ${dut2_to_tg_mac} | ${tg_to_dut2_mac}
271 | | And Send Packet And Check Headers
272 | | ... | ${tg_node} | ${tg2_ip6o4} | ${tg1_ip6o4}
273 | | ... | ${tg_to_dut2} | ${tg_to_dut2_mac} | ${dut2_to_tg_mac}
274 | | ... | ${tg_to_dut1} | ${dut1_to_tg_mac} | ${tg_to_dut1_mac}
275 | | When Change Lisp Configuration | ${dut1_node} | ${dut2_node}
276 | | ... | ${dut1_to_dut2} | ${dut2_to_dut1} | ${dut1_to_dut2_mac}
277 | | ... | ${dut2_to_dut1_mac} | ${dut1_to_dut2_ip6o4}
278 | | ... | ${dut2_to_dut1_ip6o4_reconf} | ${dut_prefix6o4}
279 | | ... | ${dut1_ip6o4_static_adjacency}
280 | | ... | ${dut1_ip6o4_static_adjacency_reconf}
281 | | Then Send Packet And Check Headers
282 | | ... | ${tg_node} | ${tg1_ip6o4} | ${tg2_ip6o4}
283 | | ... | ${tg_to_dut1} | ${tg_to_dut1_mac} | ${dut1_to_tg_mac}
284 | | ... | ${tg_to_dut2} | ${dut2_to_tg_mac} | ${tg_to_dut2_mac}
285 | | And Send Packet And Check Headers
286 | | ... | ${tg_node} | ${tg2_ip6o4} | ${tg1_ip6o4}
287 | | ... | ${tg_to_dut2} | ${tg_to_dut2_mac} | ${dut2_to_tg_mac}
288 | | ... | ${tg_to_dut1} | ${dut1_to_tg_mac} | ${tg_to_dut1_mac}
290 | TC05: DUT1 and DUT2 route IPv4 over LISPoIPv4 tunnel after disable-enable
292 | | ... | [Top] TG-DUT1-DUT2-TG. \
293 | | ... | [Enc] Eth-IPv4-LISP-IPv4-ICMPv4 on DUT1-DUT2, Eth-IPv4-ICMPv4 on
295 | | ... | [Cfg1] On DUT1 and DUT2 configure IPv4 LISP static adjacencies.
296 | | ... | [Ver1] Make TG send ICMPv4 Echo Req between its interfaces across
297 | | ... | both DUTs and LISP tunnel between them; verify IPv4 headers on
298 | | ... | received packets are correct.
299 | | ... | [Cfg2] Disable LISP.
300 | | ... | [Ver2] Verify packets are not received via LISP tunnel.
301 | | ... | [Cfg3] Re-enable LISP.
302 | | ... | [Ver3] Verify packets are received again via LISP tunnel.
303 | | ... | [Ref] RFC6830.
304 | | Given Path for 3-node testing is set
305 | | ... | ${nodes['TG']} | ${nodes['DUT1']} | ${nodes['DUT2']} | ${nodes['TG']}
306 | | And Interfaces in 3-node path are up
307 | | And IP addresses are set on interfaces
308 | | ... | ${dut1_node} | ${dut1_to_dut2}
309 | | ... | ${dut1_to_dut2_ip4} | ${prefix4}
310 | | ... | ${dut1_node} | ${dut1_to_tg}
311 | | ... | ${dut1_to_tg_ip4} | ${prefix4}
312 | | ... | ${dut2_node} | ${dut2_to_dut1}
313 | | ... | ${dut2_to_dut1_ip4} | ${prefix4}
314 | | ... | ${dut2_node} | ${dut2_to_tg}
315 | | ... | ${dut2_to_tg_ip4} | ${prefix4}
316 | | And VPP IP Probe | ${dut1_node} | ${dut1_to_dut2} | ${dut2_to_dut1_ip4}
317 | | And VPP IP Probe | ${dut2_node} | ${dut2_to_dut1} | ${dut1_to_dut2_ip4}
318 | | And Add Arp On Dut | ${dut2_node} | ${dut2_to_tg} | ${tg2_ip4}
319 | | ... | ${tg_to_dut2_mac}
320 | | And Add Arp On Dut | ${dut1_node} | ${dut1_to_tg} | ${tg1_ip4}
321 | | ... | ${tg_to_dut1_mac}
322 | | When Set up Lisp topology
323 | | ... | ${dut1_node} | ${dut1_to_dut2} | ${NONE}
324 | | ... | ${dut2_node} | ${dut2_to_dut1} | ${NONE}
325 | | ... | ${duts_locator_set} | ${dut1_ip4_eid} | ${dut2_ip4_eid}
326 | | ... | ${dut1_to_dut2_ip4_static_adjacency}
327 | | ... | ${dut2_to_dut1_ip4_static_adjacency}
328 | | Then Send Packet And Check Headers
329 | | ... | ${tg_node} | ${tg1_ip4} | ${tg2_ip4}
330 | | ... | ${tg_to_dut1} | ${tg_to_dut1_mac} | ${dut1_to_tg_mac}
331 | | ... | ${tg_to_dut2} | ${dut2_to_tg_mac} | ${tg_to_dut2_mac}
332 | | And Send Packet And Check Headers
333 | | ... | ${tg_node} | ${tg2_ip4} | ${tg1_ip4}
334 | | ... | ${tg_to_dut2} | ${tg_to_dut2_mac} | ${dut2_to_tg_mac}
335 | | ... | ${tg_to_dut1} | ${dut1_to_tg_mac} | ${tg_to_dut1_mac}
336 | | When Disable Lisp | ${dut1_node}
337 | | Then Send packet from Port to Port should failed
338 | | ... | ${tg_node} | ${tg1_ip4} | ${tg2_ip4}
339 | | ... | ${tg_to_dut1} | ${tg_to_dut1_mac} | ${dut1_to_tg_mac}
340 | | ... | ${tg_to_dut2} | ${dut2_to_tg_mac} | ${tg_to_dut2_mac}
341 | | And Send packet from Port to Port should failed
342 | | ... | ${tg_node} | ${tg2_ip4} | ${tg1_ip4}
343 | | ... | ${tg_to_dut2} | ${tg_to_dut2_mac} | ${dut2_to_tg_mac}
344 | | ... | ${tg_to_dut1} | ${dut1_to_tg_mac} | ${tg_to_dut1_mac}
345 | | When Enable Lisp | ${dut1_node}
346 | | And Vpp Add Lisp Adjacency | ${dut1_node}
347 | | ... | ${dut1_to_dut2_ip4_static_adjacency['vni']}
348 | | ... | ${dut1_to_dut2_ip4_static_adjacency['deid']}
349 | | ... | ${dut1_to_dut2_ip4_static_adjacency['prefix']}
350 | | ... | ${dut1_to_dut2_ip4_static_adjacency['seid']}
351 | | ... | ${dut1_to_dut2_ip4_static_adjacency['prefix']}
352 | | And Vpp Add Lisp Adjacency | ${dut2_node}
353 | | ... | ${dut2_to_dut1_ip4_static_adjacency['vni']}
354 | | ... | ${dut2_to_dut1_ip4_static_adjacency['deid']}
355 | | ... | ${dut2_to_dut1_ip4_static_adjacency['prefix']}
356 | | ... | ${dut2_to_dut1_ip4_static_adjacency['seid']}
357 | | ... | ${dut2_to_dut1_ip4_static_adjacency['prefix']}
358 | | Then Wait Until Keyword Succeeds | 2x | 5s | Send Packet And Check Headers
359 | | ... | ${tg_node} | ${tg1_ip4} | ${tg2_ip4}
360 | | ... | ${tg_to_dut1} | ${tg_to_dut1_mac} | ${dut1_to_tg_mac}
361 | | ... | ${tg_to_dut2} | ${dut2_to_tg_mac} | ${tg_to_dut2_mac}
362 | | And Wait Until Keyword Succeeds | 2x | 5s | Send Packet And Check Headers
363 | | ... | ${tg_node} | ${tg2_ip4} | ${tg1_ip4}
364 | | ... | ${tg_to_dut2} | ${tg_to_dut2_mac} | ${dut2_to_tg_mac}
365 | | ... | ${tg_to_dut1} | ${dut1_to_tg_mac} | ${tg_to_dut1_mac}