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 | | [Tags] | EXPECTED_FAILING
66 | | Given Path for 3-node testing is set
67 | | ... | ${nodes['TG']} | ${nodes['DUT1']} | ${nodes['DUT2']} | ${nodes['TG']}
68 | | And Interfaces in 3-node path are up
69 | | And IP addresses are set on interfaces
70 | | ... | ${dut1_node} | ${dut1_to_dut2}
71 | | ... | ${dut1_to_dut2_ip4} | ${prefix4}
72 | | ... | ${dut1_node} | ${dut1_to_tg}
73 | | ... | ${dut1_to_tg_ip4} | ${prefix4}
74 | | ... | ${dut2_node} | ${dut2_to_dut1}
75 | | ... | ${dut2_to_dut1_ip4} | ${prefix4}
76 | | ... | ${dut2_node} | ${dut2_to_tg}
77 | | ... | ${dut2_to_tg_ip4} | ${prefix4}
78 | | And VPP IP Probe | ${dut1_node} | ${dut1_to_dut2} | ${dut2_to_dut1_ip4}
79 | | And VPP IP Probe | ${dut2_node} | ${dut2_to_dut1} | ${dut1_to_dut2_ip4}
80 | | And Add Arp On Dut | ${dut2_node} | ${dut2_to_tg} | ${tg2_ip4}
81 | | ... | ${tg_to_dut2_mac}
82 | | And Add Arp On Dut | ${dut1_node} | ${dut1_to_tg} | ${tg1_ip4}
83 | | ... | ${tg_to_dut1_mac}
84 | | When Set up Lisp topology
85 | | ... | ${dut1_node} | ${dut1_to_dut2} | ${NONE}
86 | | ... | ${dut2_node} | ${dut2_to_dut1} | ${NONE}
87 | | ... | ${duts_locator_set} | ${dut1_ip4_eid} | ${dut2_ip4_eid}
88 | | ... | ${dut1_to_dut2_ip4_static_adjacency}
89 | | ... | ${dut2_to_dut1_ip4_static_adjacency}
90 | | Then Send Packet And Check Headers
91 | | ... | ${tg_node} | ${tg1_ip4} | ${tg2_ip4}
92 | | ... | ${tg_to_dut1} | ${tg_to_dut1_mac} | ${dut1_to_tg_mac}
93 | | ... | ${tg_to_dut2} | ${dut2_to_tg_mac} | ${tg_to_dut2_mac}
94 | | And Send Packet And Check Headers
95 | | ... | ${tg_node} | ${tg2_ip4} | ${tg1_ip4}
96 | | ... | ${tg_to_dut2} | ${tg_to_dut2_mac} | ${dut2_to_tg_mac}
97 | | ... | ${tg_to_dut1} | ${dut1_to_tg_mac} | ${tg_to_dut1_mac}
98 | | When Change Lisp Configuration | ${dut1_node} | ${dut2_node}
99 | | ... | ${dut1_to_dut2} | ${dut2_to_dut1} | ${dut1_to_dut2_mac}
100 | | ... | ${dut2_to_dut1_mac} | ${dut1_to_dut2_ip4}
101 | | ... | ${dut2_to_dut1_ip4_reconf} | ${prefix4}
102 | | ... | ${dut1_to_dut2_ip4_static_adjacency}
103 | | ... | ${dut1_to_dut2_ip4_static_adjacency_reconf}
104 | | Then Send Packet And Check Headers
105 | | ... | ${tg_node} | ${tg1_ip4} | ${tg2_ip4}
106 | | ... | ${tg_to_dut1} | ${tg_to_dut1_mac} | ${dut1_to_tg_mac}
107 | | ... | ${tg_to_dut2} | ${dut2_to_tg_mac} | ${tg_to_dut2_mac}
108 | | And Send Packet And Check Headers
109 | | ... | ${tg_node} | ${tg2_ip4} | ${tg1_ip4}
110 | | ... | ${tg_to_dut2} | ${tg_to_dut2_mac} | ${dut2_to_tg_mac}
111 | | ... | ${tg_to_dut1} | ${dut1_to_tg_mac} | ${tg_to_dut1_mac}
113 | TC02: DUT1 and DUT2 route IPv6 bidirectionally over LISPoIPv6 tunnel
115 | | ... | [Top] TG-DUT1-DUT2-TG. \
116 | | ... | [Enc] Eth-IPv6-LISP-IPv6-ICMPv6 on DUT1-DUT2, Eth-IPv6-ICMPv6 on
118 | | ... | [Cfg] On DUT1 and DUT2 configure IPv6 LISP static adjacencies.
119 | | ... | [Ver] Make TG send ICMPv6 Echo Req between its interfaces across both
120 | | ... | DUTs and LISP tunnel between them; verify IPv4 headers on received
121 | | ... | packets are correct.
122 | | ... | [Cfg2] Reconf LISP.
123 | | ... | [Ver2] Verify packets are received again via LISP tunnel.
124 | | ... | [Ref] RFC6830.
125 | | [Tags] | EXPECTED_FAILING
126 | | Given Path for 3-node testing is set
127 | | ... | ${nodes['TG']} | ${nodes['DUT1']} | ${nodes['DUT2']} | ${nodes['TG']}
128 | | And Interfaces in 3-node path are up
129 | | And IP addresses are set on interfaces
130 | | ... | ${dut1_node} | ${dut1_to_dut2}
131 | | ... | ${dut1_to_dut2_ip6} | ${prefix6}
132 | | ... | ${dut1_node} | ${dut1_to_tg}
133 | | ... | ${dut1_to_tg_ip6} | ${prefix6}
134 | | ... | ${dut2_node} | ${dut2_to_dut1}
135 | | ... | ${dut2_to_dut1_ip6} | ${prefix6}
136 | | ... | ${dut2_node} | ${dut2_to_tg}
137 | | ... | ${dut2_to_tg_ip6} | ${prefix6}
138 | | And VPP IP Probe | ${dut1_node} | ${dut1_to_dut2} | ${dut2_to_dut1_ip6}
139 | | And VPP IP Probe | ${dut2_node} | ${dut2_to_dut1} | ${dut1_to_dut2_ip6}
140 | | And Add Arp On Dut | ${dut2_node} | ${dut2_to_tg} | ${tg2_ip6}
141 | | ... | ${tg_to_dut2_mac}
142 | | And Add Arp On Dut | ${dut1_node} | ${dut1_to_tg} | ${tg1_ip6}
143 | | ... | ${tg_to_dut1_mac}
144 | | When Set up Lisp topology
145 | | ... | ${dut1_node} | ${dut1_to_dut2} | ${NONE}
146 | | ... | ${dut2_node} | ${dut2_to_dut1} | ${NONE}
147 | | ... | ${duts_locator_set} | ${dut1_ip6_eid} | ${dut2_ip6_eid}
148 | | ... | ${dut1_to_dut2_ip6_static_adjacency}
149 | | ... | ${dut2_to_dut1_ip6_static_adjacency}
150 | | Then Send Packet And Check Headers
151 | | ... | ${tg_node} | ${tg1_ip6} | ${tg2_ip6}
152 | | ... | ${tg_to_dut1} | ${tg_to_dut1_mac} | ${dut1_to_tg_mac}
153 | | ... | ${tg_to_dut2} | ${dut2_to_tg_mac} | ${tg_to_dut2_mac}
154 | | And Send Packet And Check Headers
155 | | ... | ${tg_node} | ${tg2_ip6} | ${tg1_ip6}
156 | | ... | ${tg_to_dut2} | ${tg_to_dut2_mac} | ${dut2_to_tg_mac}
157 | | ... | ${tg_to_dut1} | ${dut1_to_tg_mac} | ${tg_to_dut1_mac}
158 | | When Change Lisp Configuration | ${dut1_node} | ${dut2_node}
159 | | ... | ${dut1_to_dut2} | ${dut2_to_dut1} | ${dut1_to_dut2_mac}
160 | | ... | ${dut2_to_dut1_mac} | ${dut1_to_dut2_ip6}
161 | | ... | ${dut2_to_dut1_ip6_reconf} | ${prefix6}
162 | | ... | ${dut1_to_dut2_ip6_static_adjacency}
163 | | ... | ${dut1_to_dut2_ip6_static_adjacency_reconf}
164 | | Then Send Packet And Check Headers
165 | | ... | ${tg_node} | ${tg1_ip6} | ${tg2_ip6}
166 | | ... | ${tg_to_dut1} | ${tg_to_dut1_mac} | ${dut1_to_tg_mac}
167 | | ... | ${tg_to_dut2} | ${dut2_to_tg_mac} | ${tg_to_dut2_mac}
168 | | And Send Packet And Check Headers
169 | | ... | ${tg_node} | ${tg2_ip6} | ${tg1_ip6}
170 | | ... | ${tg_to_dut2} | ${tg_to_dut2_mac} | ${dut2_to_tg_mac}
171 | | ... | ${tg_to_dut1} | ${dut1_to_tg_mac} | ${tg_to_dut1_mac}
173 | TC03: DUT1 and DUT2 route IPv4 bidirectionally over LISPoIPv6 tunnel
175 | | ... | [Top] TG-DUT1-DUT2-TG. \
176 | | ... | [Enc] Eth-IPv6-LISP-IPv4-ICMPv4 on DUT1-DUT2, Eth-IPv4-ICMPv4 on
178 | | ... | [Cfg] On DUT1 and DUT2 configure IPv6 LISP static adjacencies.
179 | | ... | [Ver] Make TG send ICMPv4 Echo Req between its interfaces across both
180 | | ... | DUTs and LISP tunnel between them; verify IPv4 headers on received
181 | | ... | packets are correct.
182 | | ... | [Cfg2] Reconf LISP.
183 | | ... | [Ver2] Verify packets are received again via LISP tunnel.
184 | | ... | [Ref] RFC6830.
185 | | [Tags] | EXPECTED_FAILING
186 | | Given Path for 3-node testing is set
187 | | ... | ${nodes['TG']} | ${nodes['DUT1']} | ${nodes['DUT2']} | ${nodes['TG']}
188 | | And Interfaces in 3-node path are up
189 | | And IP addresses are set on interfaces
190 | | ... | ${dut1_node} | ${dut1_to_dut2}
191 | | ... | ${dut1_to_dut2_ip4o6} | ${dut_prefix4o6}
192 | | ... | ${dut1_node} | ${dut1_to_tg}
193 | | ... | ${dut1_to_tg_ip4o6} | ${tg_prefix4o6}
194 | | ... | ${dut2_node} | ${dut2_to_dut1}
195 | | ... | ${dut2_to_dut1_ip4o6} | ${dut_prefix4o6}
196 | | ... | ${dut2_node} | ${dut2_to_tg}
197 | | ... | ${dut2_to_tg_ip4o6} | ${tg_prefix4o6}
198 | | And VPP IP Probe | ${dut1_node} | ${dut1_to_dut2} | ${dut2_to_dut1_ip4o6}
199 | | And VPP IP Probe | ${dut2_node} | ${dut2_to_dut1} | ${dut1_to_dut2_ip4o6}
200 | | And Add Arp On Dut | ${dut2_node} | ${dut2_to_tg} | ${tg2_ip4o6}
201 | | ... | ${tg_to_dut2_mac}
202 | | And Add Arp On Dut | ${dut1_node} | ${dut1_to_tg} | ${tg1_ip4o6}
203 | | ... | ${tg_to_dut1_mac}
204 | | When Set up Lisp topology
205 | | ... | ${dut1_node} | ${dut1_to_dut2} | ${NONE}
206 | | ... | ${dut2_node} | ${dut2_to_dut1} | ${NONE}
207 | | ... | ${duts_locator_set} | ${dut1_ip4o6_eid} | ${dut2_ip4o6_eid}
208 | | ... | ${dut1_ip4o6_static_adjacency} | ${dut2_ip4o6_static_adjacency}
209 | | Then Send Packet And Check Headers
210 | | ... | ${tg_node} | ${tg1_ip4o6} | ${tg2_ip4o6}
211 | | ... | ${tg_to_dut1} | ${tg_to_dut1_mac} | ${dut1_to_tg_mac}
212 | | ... | ${tg_to_dut2} | ${dut2_to_tg_mac} | ${tg_to_dut2_mac}
213 | | And Send Packet And Check Headers
214 | | ... | ${tg_node} | ${tg2_ip4o6} | ${tg1_ip4o6}
215 | | ... | ${tg_to_dut2} | ${tg_to_dut2_mac} | ${dut2_to_tg_mac}
216 | | ... | ${tg_to_dut1} | ${dut1_to_tg_mac} | ${tg_to_dut1_mac}
217 | | When Change Lisp Configuration | ${dut1_node} | ${dut2_node}
218 | | ... | ${dut1_to_dut2} | ${dut2_to_dut1} | ${dut1_to_dut2_mac}
219 | | ... | ${dut2_to_dut1_mac} | ${dut1_to_dut2_ip4o6}
220 | | ... | ${dut2_to_dut1_ip4o6_reconf} | ${dut_prefix4o6}
221 | | ... | ${dut1_ip4o6_static_adjacency}
222 | | ... | ${dut1_ip4o6_static_adjacency_reconf}
223 | | Then Send Packet And Check Headers
224 | | ... | ${tg_node} | ${tg1_ip4o6} | ${tg2_ip4o6}
225 | | ... | ${tg_to_dut1} | ${tg_to_dut1_mac} | ${dut1_to_tg_mac}
226 | | ... | ${tg_to_dut2} | ${dut2_to_tg_mac} | ${tg_to_dut2_mac}
227 | | And Send Packet And Check Headers
228 | | ... | ${tg_node} | ${tg2_ip4o6} | ${tg1_ip4o6}
229 | | ... | ${tg_to_dut2} | ${tg_to_dut2_mac} | ${dut2_to_tg_mac}
230 | | ... | ${tg_to_dut1} | ${dut1_to_tg_mac} | ${tg_to_dut1_mac}
232 | TC04: DUT1 and DUT2 route IPv6 bidirectionally over LISPoIPv4 tunnel
234 | | ... | [Top] TG-DUT1-DUT2-TG. \
235 | | ... | [Enc] Eth-IPv4-LISP-IPv6-ICMPv6 on DUT1-DUT2, Eth-IPv6-ICMPv6 on
237 | | ... | [Cfg] On DUT1 and DUT2 configure IPv4 LISP static adjacencies.
238 | | ... | [Ver] Make TG send ICMPv6 Echo Req between its interfaces across both
239 | | ... | DUTs and LISP tunnel between them; verify IPv4 headers on received
240 | | ... | packets are correct.
241 | | ... | [Cfg2] Reconf LISP.
242 | | ... | [Ver2] Verify packets are received again via LISP tunnel.
243 | | ... | [Ref] RFC6830.
244 | | [Tags] | EXPECTED_FAILING
245 | | Given Path for 3-node testing is set
246 | | ... | ${nodes['TG']} | ${nodes['DUT1']} | ${nodes['DUT2']} | ${nodes['TG']}
247 | | And Interfaces in 3-node path are up
248 | | And IP addresses are set on interfaces
249 | | ... | ${dut1_node} | ${dut1_to_dut2}
250 | | ... | ${dut1_to_dut2_ip6o4} | ${dut_prefix6o4}
251 | | ... | ${dut1_node} | ${dut1_to_tg}
252 | | ... | ${dut1_to_tg_ip6o4} | ${tg_prefix6o4}
253 | | ... | ${dut2_node} | ${dut2_to_dut1}
254 | | ... | ${dut2_to_dut1_ip6o4} | ${dut_prefix6o4}
255 | | ... | ${dut2_node} | ${dut2_to_tg}
256 | | ... | ${dut2_to_tg_ip6o4} | ${tg_prefix6o4}
257 | | And VPP IP Probe | ${dut1_node} | ${dut1_to_dut2} | ${dut2_to_dut1_ip6o4}
258 | | And VPP IP Probe | ${dut2_node} | ${dut2_to_dut1} | ${dut1_to_dut2_ip6o4}
259 | | And Add Arp On Dut | ${dut2_node} | ${dut2_to_tg} | ${tg2_ip6o4}
260 | | ... | ${tg_to_dut2_mac}
261 | | And Add Arp On Dut | ${dut1_node} | ${dut1_to_tg} | ${tg1_ip6o4}
262 | | ... | ${tg_to_dut1_mac}
263 | | When Set up Lisp topology
264 | | ... | ${dut1_node} | ${dut1_to_dut2} | ${NONE}
265 | | ... | ${dut2_node} | ${dut2_to_dut1} | ${NONE}
266 | | ... | ${duts_locator_set} | ${dut1_ip6o4_eid} | ${dut2_ip6o4_eid}
267 | | ... | ${dut1_ip6o4_static_adjacency} | ${dut2_ip6o4_static_adjacency}
268 | | Then Send Packet And Check Headers
269 | | ... | ${tg_node} | ${tg1_ip6o4} | ${tg2_ip6o4}
270 | | ... | ${tg_to_dut1} | ${tg_to_dut1_mac} | ${dut1_to_tg_mac}
271 | | ... | ${tg_to_dut2} | ${dut2_to_tg_mac} | ${tg_to_dut2_mac}
272 | | And Send Packet And Check Headers
273 | | ... | ${tg_node} | ${tg2_ip6o4} | ${tg1_ip6o4}
274 | | ... | ${tg_to_dut2} | ${tg_to_dut2_mac} | ${dut2_to_tg_mac}
275 | | ... | ${tg_to_dut1} | ${dut1_to_tg_mac} | ${tg_to_dut1_mac}
276 | | When Change Lisp Configuration | ${dut1_node} | ${dut2_node}
277 | | ... | ${dut1_to_dut2} | ${dut2_to_dut1} | ${dut1_to_dut2_mac}
278 | | ... | ${dut2_to_dut1_mac} | ${dut1_to_dut2_ip6o4}
279 | | ... | ${dut2_to_dut1_ip6o4_reconf} | ${dut_prefix6o4}
280 | | ... | ${dut1_ip6o4_static_adjacency}
281 | | ... | ${dut1_ip6o4_static_adjacency_reconf}
282 | | Then Send Packet And Check Headers
283 | | ... | ${tg_node} | ${tg1_ip6o4} | ${tg2_ip6o4}
284 | | ... | ${tg_to_dut1} | ${tg_to_dut1_mac} | ${dut1_to_tg_mac}
285 | | ... | ${tg_to_dut2} | ${dut2_to_tg_mac} | ${tg_to_dut2_mac}
286 | | And Send Packet And Check Headers
287 | | ... | ${tg_node} | ${tg2_ip6o4} | ${tg1_ip6o4}
288 | | ... | ${tg_to_dut2} | ${tg_to_dut2_mac} | ${dut2_to_tg_mac}
289 | | ... | ${tg_to_dut1} | ${dut1_to_tg_mac} | ${tg_to_dut1_mac}
291 | TC05: DUT1 and DUT2 route IPv4 over LISPoIPv4 tunnel after disable-enable
293 | | ... | [Top] TG-DUT1-DUT2-TG. \
294 | | ... | [Enc] Eth-IPv4-LISP-IPv4-ICMPv4 on DUT1-DUT2, Eth-IPv4-ICMPv4 on
296 | | ... | [Cfg1] On DUT1 and DUT2 configure IPv4 LISP static adjacencies.
297 | | ... | [Ver1] Make TG send ICMPv4 Echo Req between its interfaces across
298 | | ... | both DUTs and LISP tunnel between them; verify IPv4 headers on
299 | | ... | received packets are correct.
300 | | ... | [Cfg2] Disable LISP.
301 | | ... | [Ver2] Verify packets are not received via LISP tunnel.
302 | | ... | [Cfg3] Re-enable LISP.
303 | | ... | [Ver3] Verify packets are received again via LISP tunnel.
304 | | ... | [Ref] RFC6830.
305 | | [Tags] | EXPECTED_FAILING
306 | | Given Path for 3-node testing is set
307 | | ... | ${nodes['TG']} | ${nodes['DUT1']} | ${nodes['DUT2']} | ${nodes['TG']}
308 | | And Interfaces in 3-node path are up
309 | | And IP addresses are set on interfaces
310 | | ... | ${dut1_node} | ${dut1_to_dut2}
311 | | ... | ${dut1_to_dut2_ip4} | ${prefix4}
312 | | ... | ${dut1_node} | ${dut1_to_tg}
313 | | ... | ${dut1_to_tg_ip4} | ${prefix4}
314 | | ... | ${dut2_node} | ${dut2_to_dut1}
315 | | ... | ${dut2_to_dut1_ip4} | ${prefix4}
316 | | ... | ${dut2_node} | ${dut2_to_tg}
317 | | ... | ${dut2_to_tg_ip4} | ${prefix4}
318 | | And VPP IP Probe | ${dut1_node} | ${dut1_to_dut2} | ${dut2_to_dut1_ip4}
319 | | And VPP IP Probe | ${dut2_node} | ${dut2_to_dut1} | ${dut1_to_dut2_ip4}
320 | | And Add Arp On Dut | ${dut2_node} | ${dut2_to_tg} | ${tg2_ip4}
321 | | ... | ${tg_to_dut2_mac}
322 | | And Add Arp On Dut | ${dut1_node} | ${dut1_to_tg} | ${tg1_ip4}
323 | | ... | ${tg_to_dut1_mac}
324 | | When Set up Lisp topology
325 | | ... | ${dut1_node} | ${dut1_to_dut2} | ${NONE}
326 | | ... | ${dut2_node} | ${dut2_to_dut1} | ${NONE}
327 | | ... | ${duts_locator_set} | ${dut1_ip4_eid} | ${dut2_ip4_eid}
328 | | ... | ${dut1_to_dut2_ip4_static_adjacency}
329 | | ... | ${dut2_to_dut1_ip4_static_adjacency}
330 | | Then Send Packet And Check Headers
331 | | ... | ${tg_node} | ${tg1_ip4} | ${tg2_ip4}
332 | | ... | ${tg_to_dut1} | ${tg_to_dut1_mac} | ${dut1_to_tg_mac}
333 | | ... | ${tg_to_dut2} | ${dut2_to_tg_mac} | ${tg_to_dut2_mac}
334 | | And Send Packet And Check Headers
335 | | ... | ${tg_node} | ${tg2_ip4} | ${tg1_ip4}
336 | | ... | ${tg_to_dut2} | ${tg_to_dut2_mac} | ${dut2_to_tg_mac}
337 | | ... | ${tg_to_dut1} | ${dut1_to_tg_mac} | ${tg_to_dut1_mac}
338 | | When Disable Lisp | ${dut1_node}
339 | | Then Send packet from Port to Port should failed
340 | | ... | ${tg_node} | ${tg1_ip4} | ${tg2_ip4}
341 | | ... | ${tg_to_dut1} | ${tg_to_dut1_mac} | ${dut1_to_tg_mac}
342 | | ... | ${tg_to_dut2} | ${dut2_to_tg_mac} | ${tg_to_dut2_mac}
343 | | And Send packet from Port to Port should failed
344 | | ... | ${tg_node} | ${tg2_ip4} | ${tg1_ip4}
345 | | ... | ${tg_to_dut2} | ${tg_to_dut2_mac} | ${dut2_to_tg_mac}
346 | | ... | ${tg_to_dut1} | ${dut1_to_tg_mac} | ${tg_to_dut1_mac}
347 | | When Enable Lisp | ${dut1_node}
348 | | Then Wait Until Keyword Succeeds | 2x | 5s | Send Packet And Check Headers
349 | | ... | ${tg_node} | ${tg1_ip4} | ${tg2_ip4}
350 | | ... | ${tg_to_dut1} | ${tg_to_dut1_mac} | ${dut1_to_tg_mac}
351 | | ... | ${tg_to_dut2} | ${dut2_to_tg_mac} | ${tg_to_dut2_mac}
352 | | And Wait Until Keyword Succeeds | 2x | 5s | Send Packet And Check Headers
353 | | ... | ${tg_node} | ${tg2_ip4} | ${tg1_ip4}
354 | | ... | ${tg_to_dut2} | ${tg_to_dut2_mac} | ${dut2_to_tg_mac}
355 | | ... | ${tg_to_dut1} | ${dut1_to_tg_mac} | ${tg_to_dut1_mac}