CSIT-1459: Migrate IP libraries from VAT to PAPI
[csit.git] / tests / honeycomb / func / mgmt-cfg-pluginacl-apihc-apivat-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 *** Variables ***
15 | &{if_settings}= | enabled=True
16 # Bridge domain settings
17 | ${bd_name}= | bd1
18 | &{bd_settings}= | flood=${True} | forward=${True} | learn=${True}
19 | ... | unknown-unicast-flood=${True} | arp-termination=${False}
20 | &{bd_if_settings}= | split_horizon_group=${0} | bvi=${False}
21 # Names for AC lists
22 | ${acl_name_macip}= | macip
23 | ${acl_name_l3_ip4}= | acl_l3_ip4
24 | ${acl_name_l3_ip6}= | acl_l3_ip6
25 | ${acl_name_l4}= | acl_l4
26 | ${acl_name_mixed}= | acl_mixed
27 | ${acl_name_icmp}= | acl_icmp
28 | ${acl_name_icmpv6}= | acl_icmpv6
29 | ${acl_name_reflex}= | acl_reflex
30
31 *** Settings ***
32 | Resource | resources/libraries/robot/shared/default.robot
33 | Resource | resources/libraries/robot/honeycomb/honeycomb.robot
34 | Resource | resources/libraries/robot/honeycomb/interfaces.robot
35 | Resource | resources/libraries/robot/honeycomb/bridge_domain.robot
36 | Resource | resources/libraries/robot/honeycomb/access_control_lists.robot
37 | Resource | resources/libraries/robot/shared/testing_path.robot
38 | Resource | resources/libraries/robot/shared/traffic.robot
39 | Library | resources.libraries.python.honeycomb.HcAPIKwACL.ACLKeywords
40 | Library | resources.libraries.python.Trace
41 | Library | resources.libraries.python.IPUtil
42 | Library | resources.libraries.python.IPv6Util
43 | ...
44 | Test Setup | Clear Packet Trace on All DUTs | ${nodes}
45 | ...
46 | Suite Setup | Set Up Honeycomb Functional Test Suite | ${node}
47 | ...
48 | Suite Teardown | Tear Down Honeycomb Functional Test Suite | ${node}
49 | ...
50 | Documentation | *Honeycomb access control lists test suite for ACL plugin.*
51 | ...
52 | Force Tags | HC_FUNC
53
54 *** Test Cases ***
55 | TC01: ACL MAC filtering through plugin-acl node - bridged
56 | | [Documentation]
57 | | ... | [Top] TG=DUT1=TG.
58 | | ... | [Enc] Eth-IPv4-TCP.
59 | | ... | [Cfg] (Using Honeycomb API) On DUT1 bridge both interfaces to TG\
60 | | ... | and configure L2 MAC ACL on ingress interface.
61 | | ... | [Ver] Send simple TCP packets from one TG interface to the other,\
62 | | ... | using different MACs. Receive all packets except those with\
63 | | ... | MACs in the filtered ranges.
64 | | ...
65 | | [Teardown] | Bridged ACL test teardown
66 | | ...
67 | | Given Setup Interfaces And Bridge Domain For plugin-acl Test
68 | | ... | macip | ${acl_name_macip}
69 | | When Honeycomb Creates ACL Chain Through ACL plugin
70 | | ... | ${dut_node} | ${acl_name_macip} | ${acl_settings} | macip=${True}
71 | | And Honeycomb Assigns plugin-acl Chain To Interface
72 | | ... | ${dut_node} | ${dut_to_tg_if1} | ${acl_name_macip}
73 | | ... | ingress | macip=${True}
74 | | Then Send TCP or UDP packet and verify received packet | ${tg_node}
75 | | ... | ${src_ip} | ${dst_ip}
76 | | ... | ${tg_to_dut_if1} | ${tg_to_dut_if1_mac}
77 | | ... | ${tg_to_dut_if2} | ${dut_to_tg_if1_mac}
78 | | ... | TCP | ${src_port} | ${dst_port}
79 | | And Run Keyword And Expect Error | TCP/UDP Rx timeout
80 | | ... | Send TCP or UDP packet and verify received packet | ${tg_node}
81 | | ... | ${src_ip} | ${dst_ip}
82 | | ... | ${tg_to_dut_if1} | ${classify_src}
83 | | ... | ${tg_to_dut_if2} | ${dut_to_tg_if1_mac}
84 | | ... | TCP | ${src_port} | ${dst_port}
85 | | And Run Keyword And Expect Error | TCP/UDP Rx timeout
86 | | ... | Send TCP or UDP packet and verify received packet | ${tg_node}
87 | | ... | ${src_ip} | ${dst_ip}
88 | | ... | ${tg_to_dut_if1} | ${classify_src2}
89 | | ... | ${tg_to_dut_if2} | ${dut_to_tg_if1_mac}
90 | | ... | TCP | ${src_port} | ${dst_port}
91
92 | TC02: ACL IPv4 filtering through plugin-acl node - bridged
93 | | [Documentation]
94 | | ... | [Top] TG=DUT1=TG.
95 | | ... | [Enc] Eth-IPv4-TCP.
96 | | ... | [Cfg] (Using Honeycomb API) On DUT1 bridge both interfaces to TG\
97 | | ... | and configure L3 IPv4 ACL on ingress interface with src/dst IP
98 | | ... | and protocol number.
99 | | ... | [Ver] Send simple TCP and UDP packets from one TG interface\
100 | | ... | to the other, using different IPv4 IPs. Receive all packets except\
101 | | ... | those with IPs in the filtered ranges and UDP protocol payload.
102 | | ...
103 # HC2VPP-337: enable after ACL test failures in ODL tests are fixed
104 | | [Tags] | HC_REST_ONLY
105 | | ...
106 | | [Teardown] | Bridged ACL test teardown
107 | | ...
108 | | Given Setup Interfaces And Bridge Domain For plugin-acl Test
109 | | ... | l3_ip4 | ${acl_name_l3_ip4}
110 | | When Honeycomb Creates ACL Chain Through ACL plugin
111 | | ... | ${dut_node} | ${acl_name_l3_ip4} | ${acl_settings}
112 | | And Honeycomb Assigns plugin-acl Chain To Interface
113 | | ... | ${dut_node} | ${dut_to_tg_if1} | ${acl_name_l3_ip4} | ingress
114 | | Then Send TCP or UDP packet and verify received packet | ${tg_node}
115 | | ... | ${src_ip} | ${dst_ip}
116 | | ... | ${tg_to_dut_if1} | ${tg_to_dut_if1_mac}
117 | | ... | ${tg_to_dut_if2} | ${dut_to_tg_if1_mac}
118 | | ... | UDP | ${src_port} | ${dst_port}
119 | | And Send TCP or UDP packet and verify received packet | ${tg_node}
120 | | ... | ${classify_src} | ${classify_dst}
121 | | ... | ${tg_to_dut_if1} | ${tg_to_dut_if1_mac}
122 | | ... | ${tg_to_dut_if2} | ${dut_to_tg_if1_mac}
123 | | ... | TCP | ${src_port} | ${dst_port}
124 | | And Run Keyword And Expect Error | TCP/UDP Rx timeout
125 | | ... | Send TCP or UDP packet and verify received packet | ${tg_node}
126 | | ... | ${classify_src} | ${classify_dst}
127 | | ... | ${tg_to_dut_if1} | ${tg_to_dut_if1_mac}
128 | | ... | ${tg_to_dut_if2} | ${dut_to_tg_if1_mac}
129 | | ... | UDP | ${src_port} | ${dst_port}
130
131 | TC03: ACL IPv6 filtering through plugin-acl node - bridged
132 | | [Documentation]
133 | | ... | [Top] TG=DUT1=TG.
134 | | ... | [Enc] Eth-IPv6-TCP.
135 | | ... | [Cfg] (Using Honeycomb API) On DUT1 bridge both interfaces to TG\
136 | | ... | and configure L3 IPv6 ACL on ingress interface with src/dst IP
137 | | ... | and protocol number.
138 | | ... | [Ver] Send simple TCP and UDP packets from one TG interface\
139 | | ... | to the other, using different IPv6 IPs. Receive all packets except\
140 | | ... | those with IPs in the filtered ranges and UDP protocol payload.
141 | | ...
142 # HC2VPP-337: enable after ACL test failures in ODL tests are fixed
143 | | [Tags] | HC_REST_ONLY
144 | | ...
145 | | [Teardown] | Bridged ACL test teardown
146 | | ...
147 | | Given Setup interfaces and bridge domain for plugin-acl test
148 | | ... | l3_ip6 | ${acl_name_l3_ip6}
149 | | When Honeycomb Creates ACL Chain Through ACL plugin
150 | | ... | ${dut_node} | ${acl_name_l3_ip6} | ${acl_settings}
151 | | And Honeycomb Assigns plugin-acl Chain To Interface
152 | | ... | ${dut_node} | ${dut_to_tg_if1} | ${acl_name_l3_ip6} | ingress
153 | | Then Send TCP or UDP packet and verify received packet | ${tg_node}
154 | | ... | ${src_ip} | ${dst_ip}
155 | | ... | ${tg_to_dut_if1} | ${tg_to_dut_if1_mac}
156 | | ... | ${tg_to_dut_if2} | ${dut_to_tg_if1_mac}
157 | | ... | UDP | ${src_port} | ${dst_port}
158 | | And Send TCP or UDP packet and verify received packet | ${tg_node}
159 | | ... | ${classify_src} | ${classify_dst}
160 | | ... | ${tg_to_dut_if1} | ${tg_to_dut_if1_mac}
161 | | ... | ${tg_to_dut_if2} | ${dut_to_tg_if1_mac}
162 | | ... | TCP | ${src_port} | ${dst_port}
163 | | And Run Keyword And Expect Error | TCP/UDP Rx timeout
164 | | ... | Send TCP or UDP packet and verify received packet | ${tg_node}
165 | | ... | ${classify_src} | ${classify_dst}
166 | | ... | ${tg_to_dut_if1} | ${tg_to_dut_if1_mac}
167 | | ... | ${tg_to_dut_if2} | ${dut_to_tg_if1_mac}
168 | | ... | UDP | ${src_port} | ${dst_port}
169
170 | TC04: ACL port filtering through plugin-acl node - bridged
171 | | [Documentation]
172 | | ... | [Top] TG=DUT1=TG.
173 | | ... | [Enc] Eth-IPv4-TCP.
174 | | ... | [Cfg] (Using Honeycomb API) On DUT1 bridge both interfaces to TG\
175 | | ... | and and configure L4 port ACL on ingress interface
176 | | ... | with src/dst port ranges.
177 | | ... | [Ver] Send simple TCP and UDP packets from one TG interface\
178 | | ... | to the other, using different ports. Receive all packets except\
179 | | ... | those with ports in the filtered ranges.
180 | | ...
181 # HC2VPP-337: enable after ACL test failures in ODL tests are fixed
182 | | [Tags] | HC_REST_ONLY
183 | | ...
184 | | [Teardown] | Bridged ACL test teardown
185 | | ...
186 | | Given Setup interfaces and bridge domain for plugin-acl test
187 | | ... | L4 | ${acl_name_l4}
188 | | When Honeycomb Creates ACL Chain Through ACL plugin
189 | | ... | ${dut_node} | ${acl_name_l4} | ${acl_settings}
190 | | And Honeycomb Assigns plugin-acl Chain To Interface
191 | | ... | ${dut_node} | ${dut_to_tg_if1} | ${acl_name_l4} | ingress
192 | | Then Send TCP or UDP packet and verify received packet | ${tg_node}
193 | | ... | ${src_ip} | ${dst_ip}
194 | | ... | ${tg_to_dut_if1} | ${tg_to_dut_if1_mac}
195 | | ... | ${tg_to_dut_if2} | ${dut_to_tg_if1_mac}
196 | | ... | TCP | ${src_port} | ${dst_port}
197 | | And Run Keyword And Expect Error | TCP/UDP Rx timeout
198 | | ... | Send TCP or UDP packet and verify received packet | ${tg_node}
199 | | ... | ${src_ip} | ${dst_ip}
200 | | ... | ${tg_to_dut_if1} | ${tg_to_dut_if1_mac}
201 | | ... | ${tg_to_dut_if2} | ${dut_to_tg_if1_mac}
202 | | ... | TCP | ${classify_src} | ${classify_dst}
203 | | And Run Keyword And Expect Error | TCP/UDP Rx timeout
204 | | ... | Send TCP or UDP packet and verify received packet | ${tg_node}
205 | | ... | ${src_ip} | ${dst_ip}
206 | | ... | ${tg_to_dut_if1} | ${tg_to_dut_if1_mac}
207 | | ... | ${tg_to_dut_if2} | ${dut_to_tg_if1_mac}
208 | | ... | TCP | ${classify_src+5} | ${classify_dst+5}
209
210 | TC05: ACL filtering with IPv4 address and TCP port in one rule - bridged
211 | | [Documentation]
212 | | ... | [Top] TG=DUT1=TG.
213 | | ... | [Enc] Eth-IPv4-TCP.
214 | | ... | [Cfg] (Using Honeycomb API) On DUT1 bridge both interfaces to TG\
215 | | ... | and configure a mixed rule with src/dst IP, TCP protocol
216 | | ... | and port ranges.
217 | | ... | [Ver] Send simple TCP packets from one TG interface to the other,\
218 | | ... | using IPs and ports. Receive all packets except those with\
219 | | ... | both IPs and ports in the filtered ranges.
220 | | ...
221 # HC2VPP-337: enable after ACL test failures in ODL tests are fixed
222 | | [Tags] | HC_REST_ONLY
223 | | ...
224 | | [Teardown] | Bridged ACL test teardown
225 | | ...
226 | | Given Setup Interfaces And Bridge Domain For plugin-acl Test
227 | | ... | mixed | ${acl_name_mixed}
228 | | When Honeycomb Creates ACL Chain Through ACL plugin
229 | | ... | ${dut_node} | ${acl_name_mixed} | ${acl_settings}
230 | | And Honeycomb Assigns plugin-acl Chain To Interface
231 | | ... | ${dut_node} | ${dut_to_tg_if1} | ${acl_name_mixed} | ingress
232 | | Then Send TCP or UDP packet and verify received packet | ${tg_node}
233 | | ... | ${src_ip} | ${dst_ip}
234 | | ... | ${tg_to_dut_if1} | ${tg_to_dut_if1_mac}
235 | | ... | ${tg_to_dut_if2} | ${dut_to_tg_if1_mac}
236 | | ... | TCP | ${src_port} | ${dst_port}
237 | | Then Send TCP or UDP packet and verify received packet | ${tg_node}
238 | | ... | ${classify_src_ip} | ${classify_dst_ip}
239 | | ... | ${tg_to_dut_if1} | ${tg_to_dut_if1_mac}
240 | | ... | ${tg_to_dut_if2} | ${dut_to_tg_if1_mac}
241 | | ... | TCP | ${src_port} | ${dst_port}
242 | | And Run Keyword And Expect Error | TCP/UDP Rx timeout
243 | | ... | Send TCP or UDP packet and verify received packet | ${tg_node}
244 | | ... | ${classify_src_ip} | ${classify_dst_ip}
245 | | ... | ${tg_to_dut_if1} | ${tg_to_dut_if1_mac}
246 | | ... | ${tg_to_dut_if2} | ${dut_to_tg_if1_mac}
247 | | ... | TCP | ${classify_src_port} | ${classify_dst_port}
248
249 | TC06: ACL ICMP packet filtering - bridged
250 | | [Documentation]
251 | | ... | [Top] TG=DUT1=TG.
252 | | ... | [Enc] Eth-IPv4-ICMP.
253 | | ... | [Cfg] (Using Honeycomb API) On DUT1 bridge both interfaces to TG\
254 | | ... | and configure a ICMP protocol filtering by ICMP type and code.
255 | | ... | [Ver] Send ICMP packets from one TG interface\
256 | | ... | to the other, using different codes and types. Receive all packets\
257 | | ... | except those with types and codes in the filtered ranges.
258 | | ...
259 # HC2VPP-337: enable after ACL test failures in ODL tests are fixed
260 | | [Tags] | HC_REST_ONLY
261 | | ...
262 | | [Teardown] | Bridged ACL test teardown
263 | | ...
264 | | Given Setup interfaces and bridge domain for plugin-acl test
265 | | ... | icmp | ${acl_name_icmp}
266 | | When Honeycomb Creates ACL Chain Through ACL plugin
267 | | ... | ${dut_node} | ${acl_name_icmp} | ${acl_settings}
268 | | And Honeycomb Assigns plugin-acl Chain To Interface
269 | | ... | ${dut_node} | ${dut_to_tg_if1} | ${acl_name_icmp} | ingress
270 | | Then Send ICMP packet with type and code and verify received packet
271 | | ... | ${tg_node}
272 | | ... | ${src_ip} | ${dst_ip}
273 | | ... | ${tg_to_dut_if1} | ${tg_to_dut_if1_mac}
274 | | ... | ${tg_to_dut_if2} | ${dut_to_tg_if1_mac}
275 | | ... | ${icmp_type} | ${icmp_code}
276 | | Then Send ICMP packet with type and code and verify received packet
277 | | ... | ${tg_node}
278 | | ... | ${src_ip} | ${dst_ip}
279 | | ... | ${tg_to_dut_if1} | ${tg_to_dut_if1_mac}
280 | | ... | ${tg_to_dut_if2} | ${dut_to_tg_if1_mac}
281 | | ... | ${classify_type} | ${icmp_code}
282 | | And Run Keyword And Expect Error | ICMP echo Rx timeout
283 | | ... | Send ICMP packet with type and code and verify received packet
284 | | ... | ${tg_node}
285 | | ... | ${src_ip} | ${dst_ip}
286 | | ... | ${tg_to_dut_if1} | ${tg_to_dut_if1_mac}
287 | | ... | ${tg_to_dut_if2} | ${dut_to_tg_if1_mac}
288 | | ... | ${classify_type} | ${classify_code}
289
290 | TC07: ACL ICMPv6 packet filtering - bridged
291 | | [Documentation]
292 | | ... | [Top] TG=DUT1=TG.
293 | | ... | [Enc] Eth-IPv6-ICMP.
294 | | ... | [Cfg] (Using Honeycomb API) On DUT1 bridge both interfaces to TG\
295 | | ... | and configure a ICMPv6 protocol filtering by ICMPv6 type and code.
296 | | ... | [Ver] Send ICMPv6 packets from one TG interface\
297 | | ... | to the other, using different codes and types. Receive all packets\
298 | | ... | except those with the filtered type and code.
299 | | ...
300 # HC2VPP-337: enable after ACL test failures in ODL tests are fixed
301 | | [Tags] | HC_REST_ONLY
302 | | ...
303 | | [Teardown] | Bridged ACL test teardown
304 | | ...
305 | | Given Setup interfaces and bridge domain for plugin-acl test
306 | | ... | icmpv6 | ${acl_name_icmpv6}
307 | | When Honeycomb Creates ACL Chain Through ACL plugin
308 | | ... | ${dut_node} | ${acl_name_icmpv6} | ${acl_settings}
309 | | And Honeycomb Assigns plugin-acl Chain To Interface
310 | | ... | ${dut_node} | ${dut_to_tg_if1} | ${acl_name_icmpv6} | ingress
311 | | Then Send ICMP packet with type and code and verify received packet
312 | | ... | ${tg_node}
313 | | ... | ${src_ip} | ${dst_ip}
314 | | ... | ${tg_to_dut_if1} | ${tg_to_dut_if1_mac}
315 | | ... | ${tg_to_dut_if2} | ${dut_to_tg_if1_mac}
316 | | ... | ${icmp_type} | ${icmp_code}
317 | | Then Send ICMP packet with type and code and verify received packet
318 | | ... | ${tg_node}
319 | | ... | ${src_ip} | ${dst_ip}
320 | | ... | ${tg_to_dut_if1} | ${tg_to_dut_if1_mac}
321 | | ... | ${tg_to_dut_if2} | ${dut_to_tg_if1_mac}
322 | | ... | ${classify_type} | ${icmp_code}
323 | | And Run Keyword And Expect Error | ICMP echo Rx timeout
324 | | ... | Send ICMP packet with type and code and verify received packet
325 | | ... | ${tg_node}
326 | | ... | ${src_ip} | ${dst_ip}
327 | | ... | ${tg_to_dut_if1} | ${tg_to_dut_if1_mac}
328 | | ... | ${tg_to_dut_if2} | ${dut_to_tg_if1_mac}
329 | | ... | ${classify_type} | ${classify_code}
330
331 | TC08: ACL reflexive IPv4 filtering through plugin-acl node - bridged
332 | | [Documentation]
333 | | ... | [Top] TG=DUT1=TG.
334 | | ... | [Enc] Eth-IPv4-TCP.
335 | | ... | [Cfg] (Using Honeycomb API) On DUT1 bridge both interfaces to TG,\
336 | | ... | configure a "drop all" ACL on ingress and reflexive ACL on egress.
337 | | ... | [Ver] Send a simple TCP packet to VPP interface 1 and do not receive\
338 | | ... | it back. Then send the packet with reversed src/dst IP address\
339 | | ... | to VPP interface 2 and receive it from interface 1(this should create\
340 | | ... | a reflexive "permit" rule) Finally, send the original packet again\
341 | | ... | and receive it from interface 2.
342 | | ...
343 # CSIT-863: running ODL and HC on single node may cause out of memory errors
344 | | [Tags] | HC_REST_ONLY
345 | | ...
346 | | [Teardown] | Bridged ACL test teardown
347 | | ...
348 | | Given Setup Interfaces And Bridge Domain For plugin-acl Test
349 | | ... | reflex | ${acl_name_reflex}
350 | | When Honeycomb Creates ACL Chain Through ACL plugin
351 | | ... | ${dut_node} | ${acl_name_reflex} | ${acl_settings}
352 | | And Honeycomb Assigns plugin-acl Chain To Interface
353 | | ... | ${dut_node} | ${dut_to_tg_if1} | ${acl_name_reflex} | egress
354 | | And Import Variables | resources/test_data/honeycomb/plugin_acl.py
355 | | ... | block_all | block_all
356 | | When Honeycomb Creates ACL Chain Through ACL plugin
357 | | ... | ${dut_node} | block_all | ${acl_settings}
358 | | And Honeycomb Assigns plugin-acl Chain To Interface
359 | | ... | ${dut_node} | ${dut_to_tg_if1} | block_all | ingress
360 | | And Run Keyword And Expect Error | TCP/UDP Rx timeout
361 | | ... | Send TCP or UDP packet and verify received packet | ${tg_node}
362 | | ... | ${classify_src} | ${classify_dst}
363 | | ... | ${tg_to_dut_if1} | ${tg_to_dut_if1_mac}
364 | | ... | ${tg_to_dut_if2} | ${dut_to_tg_if1_mac}
365 | | ... | TCP | ${src_port} | ${dst_port}
366 | | And Send TCP or UDP packet and verify received packet | ${tg_node}
367 | | ... | ${classify_dst} | ${classify_src}
368 | | ... | ${tg_to_dut_if2} | ${tg_to_dut_if2_mac}
369 | | ... | ${tg_to_dut_if1} | ${dut_to_tg_if2_mac}
370 | | ... | TCP | ${dst_port} | ${src_port}
371 | | And Send TCP or UDP packet and verify received packet | ${tg_node}
372 | | ... | ${classify_src} | ${classify_dst}
373 | | ... | ${tg_to_dut_if1} | ${tg_to_dut_if1_mac}
374 | | ... | ${tg_to_dut_if2} | ${dut_to_tg_if1_mac}
375 | | ... | TCP | ${src_port} | ${dst_port}
376
377 # Routing section
378 # ===============
379
380 | TC09: ACL IPv4 filtering through plugin-acl node - routed
381 | | [Documentation]
382 | | ... | [Top] TG=DUT1=TG.
383 | | ... | [Enc] Eth-IPv4-TCP.
384 | | ... | [Cfg] (Using Honeycomb API) On DUT1 set IPv4 addresses on both\
385 | | ... | interfaces to TG, add ARP entry and routes, and configure L3 IPv4 ACL\
386 | | ... | on ingress interface with src/dst IP and protocol.
387 | | ... | [Ver] Send simple TCP and UDP packets from one TG interface\
388 | | ... | to the other, using different IPv4 IPs. Receive all packets except\
389 | | ... | those with IPs in the filtered ranges and UDP protocol payload.
390 | | ...
391 # CSIT-863: running ODL and HC on single node may cause out of memory errors
392 | | [Tags] | HC_REST_ONLY
393 | | ...
394 | | [Teardown] | Routed ACL test teardown - ipv4
395 | | ...
396 | | Given Setup Interface IPs And Routes For IPv4 plugin-acl Test
397 | | ... | l3_ip4 | ${acl_name_l3_ip4}
398 | | When Honeycomb Creates ACL Chain Through ACL plugin
399 | | ... | ${dut_node} | ${acl_name_l3_ip4} | ${acl_settings}
400 | | And Honeycomb Assigns plugin-acl Chain To Interface
401 | | ... | ${dut_node} | ${dut_to_tg_if1} | ${acl_name_l3_ip4} | ingress
402 | | Then Send TCP or UDP packet and verify received packet | ${tg_node}
403 | | ... | ${src_ip} | ${dst_ip}
404 | | ... | ${tg_to_dut_if1} | ${tg_to_dut_if1_mac}
405 | | ... | ${tg_to_dut_if2} | ${dut_to_tg_if1_mac}
406 | | ... | UDP | ${src_port} | ${dst_port}
407 | | And Send TCP or UDP packet and verify received packet | ${tg_node}
408 | | ... | ${classify_src} | ${classify_dst}
409 | | ... | ${tg_to_dut_if1} | ${tg_to_dut_if1_mac}
410 | | ... | ${tg_to_dut_if2} | ${dut_to_tg_if1_mac}
411 | | ... | TCP | ${src_port} | ${dst_port}
412 | | And Run Keyword And Expect Error | TCP/UDP Rx timeout
413 | | ... | Send TCP or UDP packet and verify received packet | ${tg_node}
414 | | ... | ${classify_src} | ${classify_dst}
415 | | ... | ${tg_to_dut_if1} | ${tg_to_dut_if1_mac}
416 | | ... | ${tg_to_dut_if2} | ${dut_to_tg_if1_mac}
417 | | ... | UDP | ${src_port} | ${dst_port}
418
419 | TC10: ACL IPv6 filtering through plugin-acl node - routed
420 | | [Documentation]
421 | | ... | [Top] TG=DUT1=TG.
422 | | ... | [Enc] Eth-IPv6-TCP.
423 | | ... | [Cfg] (Using Honeycomb API) On DUT1 set IPv6 addresses on both\
424 | | ... | interfaces to TG, add IP neighbor entry and routes, and configure\
425 | | ... | L3 IPv6 ACL on ingress interface with src/dst IP and next-header.
426 | | ... | [Ver] Send simple TCP and UDP packets from one TG interface\
427 | | ... | to the other, using different IPv6 IPs. Receive all packets except\
428 | | ... | those with IPs in the filtered ranges and UDP protocol payload.
429 | | ...
430 # CSIT-863: running ODL and HC on single node may cause out of memory errors
431 | | [Tags] | HC_REST_ONLY
432 | | ...
433 | | [Teardown] | Routed ACL test teardown - ipv6
434 | | ...
435 | | Given Configure path in 2-node circular topology
436 | | ... | ${nodes['TG']} | ${nodes['DUT1']} | ${nodes['TG']}
437 | | And Import Variables | resources/test_data/honeycomb/plugin_acl.py
438 | | ... | L3_IP6 | ${acl_name_l3_ip6}
439 | | And Honeycomb configures interface state
440 | | ... | ${dut_node} | ${dut_to_tg_if1} | up
441 | | And Honeycomb configures interface state
442 | | ... | ${dut_node} | ${dut_to_tg_if2} | up
443 | | And Honeycomb sets interface IPv6 address | ${dut_node}
444 | | ... | ${dut_to_tg_if1} | ${dut_to_tg_if1_ip} | ${prefix_length}
445 | | And Honeycomb sets interface IPv6 address | ${dut_node}
446 | | ... | ${dut_to_tg_if2} | ${dut_to_tg_if2_ip} | ${prefix_length}
447 | | And VPP RA suppress link layer | ${dut_node} | ${dut_to_tg_if2}
448 | | And Honeycomb adds interface IPv6 neighbor
449 | | ... | ${node} | ${dut_to_tg_if2} | ${gateway} | ${tg_to_dut_if2_mac}
450 | | And VPP Route Add | ${node} | ${dst_net} | ${prefix_length}
451 | | ... | gateway=${gateway} | interface=${dut_to_tg_if2}
452 | | And VPP Route Add | ${node} | ${classify_dst_net} | ${prefix_length}
453 | | ... | gateway=${gateway} | interface=${dut_to_tg_if2}
454 | | When Honeycomb Creates ACL Chain Through ACL plugin
455 | | ... | ${dut_node} | ${acl_name_l3_ip6} | ${acl_settings}
456 | | And Honeycomb Assigns plugin-acl Chain To Interface
457 | | ... | ${dut_node} | ${dut_to_tg_if1} | ${acl_name_l3_ip6} | ingress
458 | | Then Send TCP or UDP packet and verify received packet | ${tg_node}
459 | | ... | ${src_ip} | ${dst_ip}
460 | | ... | ${tg_to_dut_if1} | ${tg_to_dut_if1_mac}
461 | | ... | ${tg_to_dut_if2} | ${dut_to_tg_if1_mac}
462 | | ... | UDP | ${src_port} | ${dst_port}
463 | | And Send TCP or UDP packet and verify received packet | ${tg_node}
464 | | ... | ${classify_src} | ${classify_dst}
465 | | ... | ${tg_to_dut_if1} | ${tg_to_dut_if1_mac}
466 | | ... | ${tg_to_dut_if2} | ${dut_to_tg_if1_mac}
467 | | ... | TCP | ${src_port} | ${dst_port}
468 | | And Run Keyword And Expect Error | TCP/UDP Rx timeout
469 | | ... | Send TCP or UDP packet and verify received packet | ${tg_node}
470 | | ... | ${classify_src} | ${classify_dst}
471 | | ... | ${tg_to_dut_if1} | ${tg_to_dut_if1_mac}
472 | | ... | ${tg_to_dut_if2} | ${dut_to_tg_if1_mac}
473 | | ... | UDP | ${src_port} | ${dst_port}
474
475 | TC11: ACL port filtering through plugin-acl node - routed
476 | | [Documentation]
477 | | ... | [Top] TG=DUT1=TG.
478 | | ... | [Enc] Eth-IPv4-TCP.
479 | | ... | [Cfg] (Using Honeycomb API) On DUT1 set IPv4 addresses on both\
480 | | ... | interfaces to TG, add ARP entry and routes, and configure L4 port ACL\
481 | | ... | on ingress interface with src/dst port ranges.
482 | | ... | [Ver] Send simple TCP and UDP packets from one TG interface\
483 | | ... | to the other, using different ports. Receive all packets except\
484 | | ... | those with ports in the filtered ranges.
485 | | ...
486 | | [Teardown] | Routed ACL test teardown - ipv4
487 | | ...
488 # CSIT-863: running ODL and HC on single node may cause out of memory errors
489 | | [Tags] | HC_REST_ONLY
490 | | ...
491 | | Given Setup Interface IPs And Routes For IPv4 plugin-acl Test
492 | | ... | L4 | ${acl_name_l4}
493 | | When Honeycomb Creates ACL Chain Through ACL plugin
494 | | ... | ${dut_node} | ${acl_name_l4} | ${acl_settings}
495 | | And Honeycomb Assigns plugin-acl Chain To Interface
496 | | ... | ${dut_node} | ${dut_to_tg_if1} | ${acl_name_l4} | ingress
497 | | Then Send TCP or UDP packet and verify received packet | ${tg_node}
498 | | ... | ${src_ip} | ${dst_ip}
499 | | ... | ${tg_to_dut_if1} | ${tg_to_dut_if1_mac}
500 | | ... | ${tg_to_dut_if2} | ${dut_to_tg_if1_mac}
501 | | ... | TCP | ${src_port} | ${dst_port}
502 | | And Run Keyword And Expect Error | TCP/UDP Rx timeout
503 | | ... | Send TCP or UDP packet and verify received packet | ${tg_node}
504 | | ... | ${src_ip} | ${dst_ip}
505 | | ... | ${tg_to_dut_if1} | ${tg_to_dut_if1_mac}
506 | | ... | ${tg_to_dut_if2} | ${dut_to_tg_if1_mac}
507 | | ... | TCP | ${classify_src} | ${classify_dst}
508 | | And Run Keyword And Expect Error | TCP/UDP Rx timeout
509 | | ... | Send TCP or UDP packet and verify received packet | ${tg_node}
510 | | ... | ${src_ip} | ${dst_ip}
511 | | ... | ${tg_to_dut_if1} | ${tg_to_dut_if1_mac}
512 | | ... | ${tg_to_dut_if2} | ${dut_to_tg_if1_mac}
513 | | ... | TCP | ${classify_src+5} | ${classify_dst+5}
514
515 | TC12: ACL filtering with IPv4 address and TCP port in one rule - routed
516 | | [Documentation]
517 | | ... | [Top] TG=DUT1=TG.
518 | | ... | [Enc] Eth-IPv4-TCP.
519 | | ... | [Cfg] (Using Honeycomb API) On DUT1 set IPv4 addresses on both\
520 | | ... | interfaces to TG, add ARP entry and routes and configure a mixed
521 | | ... | rule with src/dst IP, TCP protocol and port ranges.
522 | | ... | [Ver] Send simple TCP packets from one TG interface to the other,\
523 | | ... | using IPs and ports. Receive all packets except those with\
524 | | ... | both IPs and ports in the filtered ranges.
525 | | ...
526 | | [Teardown] | Routed ACL test teardown - ipv4
527 | | ...
528 # CSIT-863: running ODL and HC on single node may cause out of memory errors
529 | | [Tags] | HC_REST_ONLY
530 | | ...
531 | | Given Setup Interface IPs And Routes For IPv4 plugin-acl Test
532 | | ... | mixed | ${acl_name_mixed}
533 | | When Honeycomb Creates ACL Chain Through ACL plugin
534 | | ... | ${dut_node} | ${acl_name_mixed} | ${acl_settings}
535 | | And Honeycomb Assigns plugin-acl Chain To Interface
536 | | ... | ${dut_node} | ${dut_to_tg_if1} | ${acl_name_mixed} | ingress
537 | | Then Send TCP or UDP packet and verify received packet | ${tg_node}
538 | | ... | ${src_ip} | ${dst_ip}
539 | | ... | ${tg_to_dut_if1} | ${tg_to_dut_if1_mac}
540 | | ... | ${tg_to_dut_if2} | ${dut_to_tg_if1_mac}
541 | | ... | TCP | ${src_port} | ${dst_port}
542 | | Then Send TCP or UDP packet and verify received packet | ${tg_node}
543 | | ... | ${classify_src_ip} | ${classify_dst_ip}
544 | | ... | ${tg_to_dut_if1} | ${tg_to_dut_if1_mac}
545 | | ... | ${tg_to_dut_if2} | ${dut_to_tg_if1_mac}
546 | | ... | TCP | ${src_port} | ${dst_port}
547 | | And Run Keyword And Expect Error | TCP/UDP Rx timeout
548 | | ... | Send TCP or UDP packet and verify received packet | ${tg_node}
549 | | ... | ${classify_src_ip} | ${classify_dst_ip}
550 | | ... | ${tg_to_dut_if1} | ${tg_to_dut_if1_mac}
551 | | ... | ${tg_to_dut_if2} | ${dst_mac}
552 | | ... | TCP | ${classify_src_port} | ${classify_dst_port}
553
554 | TC13: ACL ICMP packet filtering - routed
555 | | [Documentation]
556 | | ... | [Top] TG=DUT1=TG.
557 | | ... | [Enc] Eth-IPv4-TCP.
558 | | ... | [Cfg] (Using Honeycomb API) On DUT1 set IPv4 addresses on both\
559 | | ... | interfaces to TG, add ARP entry and routes, and configure ICMP ACL\
560 | | ... | on ingress interface with ICMP type and code.
561 | | ... | [Ver] Send ICMP packets from one TG interface\
562 | | ... | to the other, using different codes and types. Receive all packets\
563 | | ... | except those with the filtered type and code.
564 | | ...
565 | | [Teardown] | Routed ACL test teardown - ipv4
566 | | ...
567 # CSIT-863: running ODL and HC on single node may cause out of memory errors
568 | | [Tags] | HC_REST_ONLY
569 | | ...
570 | | Given Setup Interface IPs And Routes For IPv4 plugin-acl Test
571 | | ... | icmp | ${acl_name_icmp}
572 | | When Honeycomb Creates ACL Chain Through ACL plugin
573 | | ... | ${dut_node} | ${acl_name_icmp} | ${acl_settings}
574 | | And Honeycomb Assigns plugin-acl Chain To Interface
575 | | ... | ${dut_node} | ${dut_to_tg_if1} | ${acl_name_icmp} | ingress
576 | | Then Send ICMP packet with type and code and verify received packet
577 | | ... | ${tg_node}
578 | | ... | ${src_ip} | ${dst_ip}
579 | | ... | ${tg_to_dut_if1} | ${tg_to_dut_if1_mac}
580 | | ... | ${tg_to_dut_if2} | ${dut_to_tg_if1_mac}
581 | | ... | ${icmp_type} | ${icmp_code}
582 | | Then Send ICMP packet with type and code and verify received packet
583 | | ... | ${tg_node}
584 | | ... | ${src_ip} | ${dst_ip}
585 | | ... | ${tg_to_dut_if1} | ${tg_to_dut_if1_mac}
586 | | ... | ${tg_to_dut_if2} | ${dut_to_tg_if1_mac}
587 | | ... | ${classify_type} | ${icmp_code}
588 | | And Run Keyword And Expect Error | ICMP echo Rx timeout
589 | | ... | Send ICMP packet with type and code and verify received packet
590 | | ... | ${tg_node}
591 | | ... | ${src_ip} | ${dst_ip}
592 | | ... | ${tg_to_dut_if1} | ${tg_to_dut_if1_mac}
593 | | ... | ${tg_to_dut_if2} | ${dut_to_tg_if1_mac}
594 | | ... | ${classify_type} | ${classify_code}
595
596 | TC14: ACL ICMPv6 packet filtering - routed
597 | | [Documentation]
598 | | ... | [Top] TG=DUT1=TG.
599 | | ... | [Enc] Eth-IPv4-TCP.
600 | | ... | [Cfg] (Using Honeycomb API) On DUT1 set IPv6 addresses on both\
601 | | ... | interfaces to TG, add ARP entry and routes, and configure ICMP ACL\
602 | | ... | on ingress interface with ICMPv6 type and code.
603 | | ... | [Ver] Send ICMPv6 packets from one TG interface\
604 | | ... | to the other, using different codes and types. Receive all packets\
605 | | ... | except those with the filtered type and code.
606 | | ...
607 # CSIT-863: running ODL and HC on single node may cause out of memory errors
608 | | [Tags] | HC_REST_ONLY
609 | | ...
610 | | [Teardown] | Routed ACL test teardown - ipv6
611 | | ...
612 | | Given Configure path in 2-node circular topology
613 | | ... | ${nodes['TG']} | ${nodes['DUT1']} | ${nodes['TG']}
614 | | And Import Variables | resources/test_data/honeycomb/plugin_acl.py
615 | | ... | icmpv6 | ${acl_name_icmpv6}
616 | | And Honeycomb configures interface state
617 | | ... | ${dut_node} | ${dut_to_tg_if1} | up
618 | | And Honeycomb configures interface state
619 | | ... | ${dut_node} | ${dut_to_tg_if2} | up
620 | | And Honeycomb sets interface IPv6 address | ${dut_node}
621 | | ... | ${dut_to_tg_if1} | ${dut_to_tg_if1_ip} | ${prefix_length}
622 | | And Honeycomb sets interface IPv6 address | ${dut_node}
623 | | ... | ${dut_to_tg_if2} | ${dut_to_tg_if2_ip} | ${prefix_length}
624 | | And Honeycomb adds interface IPv6 neighbor
625 | | ... | ${node} | ${dut_to_tg_if2} | ${gateway} | ${tg_to_dut_if2_mac}
626 | | And VPP RA suppress link layer | ${dut_node} | ${dut_to_tg_if2}
627 | | And VPP Route Add | ${node} | ${dst_net} | ${prefix_length}
628 | | ... | gateway=${gateway} | interface=${dut_to_tg_if2}
629 | | And VPP Route Add | ${node} | ${classify_dst_net} | ${prefix_length}
630 | | ... | gateway=${gateway} | interface=${dut_to_tg_if2}
631 | | When Honeycomb Creates ACL Chain Through ACL plugin
632 | | ... | ${dut_node} | ${acl_name_icmpv6} | ${acl_settings}
633 | | And Honeycomb Assigns plugin-acl Chain To Interface
634 | | ... | ${dut_node} | ${dut_to_tg_if1} | ${acl_name_icmpv6} | ingress
635 | | Then Send ICMP packet with type and code and verify received packet
636 | | ... | ${tg_node}
637 | | ... | ${src_ip} | ${dst_ip}
638 | | ... | ${tg_to_dut_if1} | ${tg_to_dut_if1_mac}
639 | | ... | ${tg_to_dut_if2} | ${dut_to_tg_if1_mac}
640 | | ... | ${icmp_type} | ${icmp_code}
641 | | Then Send ICMP packet with type and code and verify received packet
642 | | ... | ${tg_node}
643 | | ... | ${src_ip} | ${dst_ip}
644 | | ... | ${tg_to_dut_if1} | ${tg_to_dut_if1_mac}
645 | | ... | ${tg_to_dut_if2} | ${dut_to_tg_if1_mac}
646 | | ... | ${classify_type} | ${icmp_code}
647 | | And Run Keyword And Expect Error | ICMP echo Rx timeout
648 | | ... | Send ICMP packet with type and code and verify received packet
649 | | ... | ${tg_node}
650 | | ... | ${src_ip} | ${dst_ip}
651 | | ... | ${tg_to_dut_if1} | ${tg_to_dut_if1_mac}
652 | | ... | ${tg_to_dut_if2} | ${dut_to_tg_if1_mac}
653 | | ... | ${classify_type} | ${classify_code}
654
655 | TC15: ACL reflexive IPv4 filtering through plugin-acl node - routed
656 | | [Documentation]
657 | | ... | [Top] TG=DUT1=TG.
658 | | ... | [Enc] Eth-IPv4-TCP.
659 | | ... | [Cfg] (Using Honeycomb API) On DUT1 set IPv4 addresses on both\
660 | | ... | interfaces to TG, add ARP entries and routes,\
661 | | ... | configure a "drop all" ACL on ingress and reflexive ACL on egress.
662 | | ... | [Ver] Send a simple TCP packet to VPP interface 1 and do not receive\
663 | | ... | it back. Then send the packet with reversed src/dst IP address\
664 | | ... | to VPP interface 2 and receive it from interface 1(this should create\
665 | | ... | a reflexive "permit" rule) Finally, send the original packet again\
666 | | ... | and receive it from interface 2.
667 | | ...
668 # CSIT-863: running ODL and HC on single node may cause out of memory errors
669 | | [Tags] | HC_REST_ONLY
670 | | ...
671 | | [Teardown] | Routed ACL test teardown - ipv4
672 | | ...
673 | | Given Setup Interface IPs And Routes For IPv4 plugin-acl Test
674 | | ... | reflex | ${acl_name_reflex}
675 | | And VPP Add IP Neighbor
676 | | ... | ${node} | ${dut_to_tg_if1} | ${gateway2} | ${tg_to_dut_if1_mac}
677 | | And VPP Route Add
678 | | ... | ${node} | ${src_net} | ${prefix_length} | gateway=${gateway2}
679 | | ... | interface=${dut_to_tg_if1}
680 | | And VPP Route Add
681 | | ... | ${node} | ${classify_src_net} | ${prefix_length}
682 | | ... | gateway=${gateway2} | interface=${dut_to_tg_if1}
683 | | When Honeycomb Creates ACL Chain Through ACL plugin
684 | | ... | ${dut_node} | ${acl_name_reflex} | ${acl_settings}
685 | | And Honeycomb Assigns plugin-acl Chain To Interface
686 | | ... | ${dut_node} | ${dut_to_tg_if1} | ${acl_name_reflex} | egress
687 | | And Import Variables | resources/test_data/honeycomb/plugin_acl.py
688 | | ... | block_all | block_all
689 | | When Honeycomb Creates ACL Chain Through ACL plugin
690 | | ... | ${dut_node} | block_all | ${acl_settings}
691 | | And Honeycomb Assigns plugin-acl Chain To Interface
692 | | ... | ${dut_node} | ${dut_to_tg_if1} | block_all | ingress
693 | | And Run Keyword And Expect Error | TCP/UDP Rx timeout
694 | | ... | Send TCP or UDP packet and verify received packet | ${tg_node}
695 | | ... | ${classify_src} | ${classify_dst}
696 | | ... | ${tg_to_dut_if1} | ${tg_to_dut_if1_mac}
697 | | ... | ${tg_to_dut_if2} | ${dut_to_tg_if1_mac}
698 | | ... | TCP | ${src_port} | ${dst_port}
699 | | And Send TCP or UDP packet and verify received packet | ${tg_node}
700 | | ... | ${classify_dst} | ${classify_src}
701 | | ... | ${tg_to_dut_if2} | ${tg_to_dut_if2_mac}
702 | | ... | ${tg_to_dut_if1} | ${dut_to_tg_if2_mac}
703 | | ... | TCP | ${dst_port} | ${src_port}
704 | | And Send TCP or UDP packet and verify received packet | ${tg_node}
705 | | ... | ${classify_src} | ${classify_dst}
706 | | ... | ${tg_to_dut_if1} | ${tg_to_dut_if1_mac}
707 | | ... | ${tg_to_dut_if2} | ${dut_to_tg_if1_mac}
708 | | ... | TCP | ${src_port} | ${dst_port}
709
710 *** Keywords ***
711 | Setup interface IPs and routes for IPv4 plugin-acl test
712 | | [Documentation] | Import test variables, set interfaces up,
713 | | ... | configure IPv4 addresses, add neighbor entry and routes.
714 | | ...
715 | | [Arguments] | ${test_data_id} | ${acl_name}
716 | | ...
717 | | Configure path in 2-node circular topology
718 | | ... | ${nodes['TG']} | ${nodes['DUT1']} | ${nodes['TG']}
719 | | Import Variables | resources/test_data/honeycomb/plugin_acl.py
720 | | ... | ${test_data_id} | ${acl_name}
721 | | Honeycomb configures interface state | ${dut_node} | ${dut_to_tg_if1} | up
722 | | Honeycomb configures interface state | ${dut_node} | ${dut_to_tg_if2} | up
723 | | Honeycomb sets interface IPv4 address with prefix | ${dut_node}
724 | | ... | ${dut_to_tg_if1} | ${dut_to_tg_if1_ip} | ${prefix_length}
725 | | Honeycomb sets interface IPv4 address with prefix | ${dut_node}
726 | | ... | ${dut_to_tg_if2} | ${dut_to_tg_if2_ip} | ${prefix_length}
727 | | And Honeycomb adds interface IPv4 neighbor
728 | | ... | ${node} | ${dut_to_tg_if2} | ${gateway} | ${tg_to_dut_if2_mac}
729 | | VPP Route Add
730 | | ... | ${node} | ${dst_net} | ${prefix_length} | gateway=${gateway}
731 | | ... | interface=${dut_to_tg_if2}
732 | | VPP Route Add
733 | | ... | ${node} | ${classify_dst_net} | ${prefix_length} | gateway=${gateway}
734 | | ... | interface=${dut_to_tg_if2}
735
736 | Setup interfaces and bridge domain for plugin-acl test
737 | | [Documentation] | Import test variables, set interfaces up and bridge them.
738 | | ...
739 | | [Arguments] | ${test_data_id} | ${acl_name}
740 | | ...
741 | | Configure path in 2-node circular topology
742 | | ... | ${nodes['TG']} | ${nodes['DUT1']} | ${nodes['TG']}
743 | | Import Variables | resources/test_data/honeycomb/plugin_acl.py
744 | | ... | ${test_data_id} | ${acl_name}
745 | | Honeycomb configures interface state | ${dut_node} | ${dut_to_tg_if1} | up
746 | | Honeycomb configures interface state | ${dut_node} | ${dut_to_tg_if2} | up
747 | | Honeycomb Creates first L2 Bridge Domain
748 | | ... | ${dut_node} | ${bd_name} | ${bd_settings}
749 | | Honeycomb Adds Interfaces To Bridge Domain
750 | | ... | ${dut_node} | ${dut_to_tg_if1} | ${dut_to_tg_if2}
751 | | ... | ${bd_name} | ${bd_if_settings}
752
753 | Bridged ACL test teardown
754 | | [Documentation] | Log packet trace and ACL settings,
755 | | ... | then clean up bridge domains.
756 | | ...
757 | | Show Packet Trace on All DUTs | ${nodes}
758 | | Read plugin-ACL configuration from VAT | ${node}
759 | | Clear plugin-ACL configuration | ${node} | ${dut_to_tg_if1}
760 | | Honeycomb Removes All Bridge Domains
761 | | ... | ${node} | ${dut_to_tg_if1} | ${dut_to_tg_if2}
762
763 | Routed ACL test teardown - ipv4
764 | | [Documentation] | Log packet trace and ACL settings,
765 | | ... | then clean up IPv4 addresses and neighbors.
766 | | ...
767 | | Show Packet Trace on All DUTs | ${nodes}
768 | | Read plugin-ACL configuration from VAT | ${node}
769 | | Clear plugin-ACL configuration | ${node} | ${dut_to_tg_if1}
770 | | Honeycomb removes interface IPv4 addresses | ${node} | ${dut_to_tg_if1}
771 | | Honeycomb clears all interface IPv4 neighbors | ${node} | ${dut_to_tg_if1}
772
773 | Routed ACL test teardown - ipv6
774 | | [Documentation] | Log packet trace and ACL settings,
775 | | ... | then clean up IPv6 addresses and neighbors.
776 | | ...
777 | | Show Packet Trace on All DUTs | ${nodes}
778 | | Clear plugin-ACL configuration | ${node} | ${dut_to_tg_if1}
779 | | Read plugin-ACL configuration from VAT | ${node}
780 | | Honeycomb removes interface IPv6 addresses | ${node} | ${dut_to_tg_if1}
781 | | Honeycomb clears all interface IPv6 neighbors | ${node} | ${dut_to_tg_if1}