6a53cfd224d2d77565e03c15282ef153973a5171
[csit.git] / tests / func / honeycomb / mgmt-cfg-pluginacl-apihc-apivat-func.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 *** 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/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/testing_path.robot
38 | Resource | resources/libraries/robot/traffic.robot
39 | Library | resources.libraries.python.honeycomb.HcAPIKwACL.ACLKeywords
40 | Library | resources.libraries.python.Trace
41 | Library | resources.libraries.python.IPv4Setup
42 | Library | resources.libraries.python.IPv4Util
43 | Library | resources.libraries.python.IPv6Util
44 | Library | resources.libraries.python.Routing
45 | Test Setup | Clear Packet Trace on All DUTs | ${nodes}
46 | Test Teardown | Run Keywords | Show Packet Trace on All DUTs | ${nodes}
47 | ... | AND | Read plugin-ACL configuration from VAT | ${node}
48 | ... | AND | Clear plugin-acl settings | ${node} | ${dut_to_tg_if1}
49 | Suite Setup | Vpp All ra suppress link layer | ${nodes}
50 | Suite Teardown
51 | ... | Restart Honeycomb and VPP | ${node}
52 | Documentation | *Honeycomb access control lists test suite for ACL plugin.*
53 | Force Tags | honeycomb_sanity | honeycomb_odl
54
55 *** Test Cases ***
56 | TC01: ACL MAC filtering through plugin-acl node - bridged
57 | | [Documentation]
58 | | ... | [Top] TG=DUT1=TG.
59 | | ... | [Enc] Eth-IPv4-TCP.
60 | | ... | [Cfg] (Using Honeycomb API) On DUT1 bridge both interfaces to TG\
61 | | ... | and configure L2 MAC ACL on ingress interface.
62 | | ... | [Ver] Send simple TCP packets from one TG interface to the other,\
63 | | ... | using different MACs. Receive all packets except those with\
64 | | ... | MACs in the filtered ranges.
65 | | [Teardown] | Run Keywords
66 | | ... | Show Packet Trace on All DUTs | ${nodes} | AND
67 | | ... | Clear plugin-acl Settings | ${node} | ${dut_to_tg_if1} | AND
68 | | ... | Honeycomb Removes All Bridge Domains
69 | | ... | ${node} | ${dut_to_tg_if1} | ${dut_to_tg_if2}
70 | | Given Setup Interfaces And Bridge Domain For plugin-acl Test
71 | | ... | macip | ${acl_name_macip}
72 | | When Honeycomb Creates ACL Chain Through ACL plugin
73 | | ... | ${dut_node} | ${acl_name_macip} | ${acl_settings} | macip=${True}
74 | | And Honeycomb Assigns plugin-acl Chain To Interface
75 | | ... | ${dut_node} | ${dut_to_tg_if1} | ${acl_name_macip}
76 | | ... | ingress | macip=${True}
77 | | When Send TCP Or UDP Packet | ${tg_node} | ${src_ip} | ${dst_ip}
78 | | ... | ${tg_to_dut_if1} | ${tg_to_dut_if1_mac}
79 | | ... | ${tg_to_dut_if2} | ${dut_to_tg_if1_mac}
80 | | ... | TCP | ${src_port} | ${dst_port}
81 | | And Run Keyword And Expect Error | TCP/UDP Rx timeout
82 | | ... | Send TCP Or UDP Packet | ${tg_node} | ${src_ip} | ${dst_ip}
83 | | ... | ${tg_to_dut_if1} | ${classify_src}
84 | | ... | ${tg_to_dut_if2} | ${dut_to_tg_if1_mac}
85 | | ... | TCP | ${src_port} | ${dst_port}
86 | | And Run Keyword And Expect Error | TCP/UDP Rx timeout
87 | | ... | Send TCP Or UDP Packet | ${tg_node} | ${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 | | [Teardown] | Run Keywords
103 | | ... | Show Packet Trace on All DUTs | ${nodes} | AND
104 | | ... | Read plugin-ACL configuration from VAT | ${node} | AND
105 | | ... | Clear plugin-acl Settings | ${node} | ${dut_to_tg_if1} | AND
106 | | ... | Honeycomb Removes All Bridge Domains
107 | | ... | ${node} | ${dut_to_tg_if1} | ${dut_to_tg_if2}
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 | ${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 | ${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 | ${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 | | [Teardown] | Run Keywords
142 | | ... | Show Packet Trace on All DUTs | ${nodes} | AND
143 | | ... | Read plugin-ACL configuration from VAT | ${node} | AND
144 | | ... | Clear plugin-acl Settings | ${node} | ${dut_to_tg_if1} | AND
145 | | ... | Honeycomb Removes All Bridge Domains
146 | | ... | ${node} | ${dut_to_tg_if1} | ${dut_to_tg_if2}
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 | ${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 | ${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 | ${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 | | [Teardown] | Run Keywords
181 | | ... | Show Packet Trace on All DUTs | ${nodes} | AND
182 | | ... | Read plugin-ACL configuration from VAT | ${node} | AND
183 | | ... | Clear plugin-acl Settings | ${node} | ${dut_to_tg_if1} | AND
184 | | ... | Honeycomb Removes All Bridge Domains
185 | | ... | ${node} | ${dut_to_tg_if1} | ${dut_to_tg_if2}
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 | ${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 | ${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 | ${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 | | [Teardown] | Run Keywords
221 | | ... | Show Packet Trace on All DUTs | ${nodes} | AND
222 | | ... | Read plugin-ACL configuration from VAT | ${node} | AND
223 | | ... | Clear plugin-acl Settings | ${node} | ${dut_to_tg_if1} | AND
224 | | ... | Honeycomb Removes All Bridge Domains
225 | | ... | ${node} | ${dut_to_tg_if1} | ${dut_to_tg_if2}
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 | ${tg_node} | ${src_ip} | ${dst_ip}
233 | | ... | ${tg_to_dut_if1} | ${tg_to_dut_if1_mac}
234 | | ... | ${tg_to_dut_if2} | ${dut_to_tg_if1_mac}
235 | | ... | TCP | ${src_port} | ${dst_port}
236 | | Then Send TCP Or UDP Packet | ${tg_node}
237 | | ... | ${classify_src_ip} | ${classify_dst_ip}
238 | | ... | ${tg_to_dut_if1} | ${tg_to_dut_if1_mac}
239 | | ... | ${tg_to_dut_if2} | ${dut_to_tg_if1_mac}
240 | | ... | TCP | ${src_port} | ${dst_port}
241 | | And Run Keyword And Expect Error | TCP/UDP Rx timeout
242 | | ... | Send TCP Or UDP Packet | ${tg_node}
243 | | ... | ${classify_src_ip} | ${classify_dst_ip}
244 | | ... | ${tg_to_dut_if1} | ${tg_to_dut_if1_mac}
245 | | ... | ${tg_to_dut_if2} | ${dut_to_tg_if1_mac}
246 | | ... | TCP | ${classify_src_port} | ${classify_dst_port}
247
248 | TC06: ACL ICMP packet filtering - bridged
249 | | [Documentation]
250 | | ... | [Top] TG=DUT1=TG.
251 | | ... | [Enc] Eth-IPv4-ICMP.
252 | | ... | [Cfg] (Using Honeycomb API) On DUT1 bridge both interfaces to TG\
253 | | ... | and configure a ICMP protocol filtering by ICMP type and code.
254 | | ... | [Ver] Send ICMP packets from one TG interface\
255 | | ... | to the other, using different codes and types. Receive all packets\
256 | | ... | except those with types and codes in the filtered ranges.
257 | | [Tags] | EXPECTED_FAILING
258 # Bug VPP-624, ICMP type/code values are not matched
259 | | [Teardown] | Run Keywords
260 | | ... | Show Packet Trace on All DUTs | ${nodes} | AND
261 | | ... | Read plugin-ACL configuration from VAT | ${node} | AND
262 | | ... | Clear plugin-acl Settings | ${node} | ${dut_to_tg_if1} | AND
263 | | ... | Honeycomb Removes All Bridge Domains
264 | | ... | ${node} | ${dut_to_tg_if1} | ${dut_to_tg_if2}
265 | | Given Setup interfaces and bridge domain for plugin-acl test
266 | | ... | icmp | ${acl_name_icmp}
267 | | When Honeycomb Creates ACL Chain Through ACL plugin
268 | | ... | ${dut_node} | ${acl_name_icmp} | ${acl_settings}
269 | | And Honeycomb Assigns plugin-acl Chain To Interface
270 | | ... | ${dut_node} | ${dut_to_tg_if1} | ${acl_name_icmp} | ingress
271 | | Then Send ICMP packet with type and code | ${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 | ${tg_node}
277 | | ... | ${src_ip} | ${dst_ip}
278 | | ... | ${tg_to_dut_if1} | ${tg_to_dut_if1_mac}
279 | | ... | ${tg_to_dut_if2} | ${dut_to_tg_if1_mac}
280 | | ... | ${classify_type} | ${icmp_code}
281 | | And Run Keyword And Expect Error | ICMP echo Rx timeout
282 | | ... | Send ICMP packet with type and code | ${tg_node}
283 | | ... | ${src_ip} | ${dst_ip}
284 | | ... | ${tg_to_dut_if1} | ${tg_to_dut_if1_mac}
285 | | ... | ${tg_to_dut_if2} | ${dut_to_tg_if1_mac}
286 | | ... | ${classify_type} | ${classify_code}
287
288 | TC07: ACL ICMPv6 packet filtering - bridged
289 | | [Documentation]
290 | | ... | [Top] TG=DUT1=TG.
291 | | ... | [Enc] Eth-IPv6-ICMP.
292 | | ... | [Cfg] (Using Honeycomb API) On DUT1 bridge both interfaces to TG\
293 | | ... | and configure a ICMPv6 protocol filtering by ICMPv6 type and code.
294 | | ... | [Ver] Send ICMPv6 packets from one TG interface\
295 | | ... | to the other, using different codes and types. Receive all packets\
296 | | ... | except those with the filtered type and code.
297 | | [Tags] | EXPECTED_FAILING
298 # Bug VPP-624, ICMP type/code values are not matched
299 | | [Teardown] | Run Keywords
300 | | ... | Show Packet Trace on All DUTs | ${nodes} | AND
301 | | ... | Read plugin-ACL configuration from VAT | ${node} | AND
302 | | ... | Clear plugin-acl Settings | ${node} | ${dut_to_tg_if1} | AND
303 | | ... | Honeycomb Removes All Bridge Domains
304 | | ... | ${node} | ${dut_to_tg_if1} | ${dut_to_tg_if2}
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 | ${tg_node}
312 | | ... | ${src_ip} | ${dst_ip}
313 | | ... | ${tg_to_dut_if1} | ${tg_to_dut_if1_mac}
314 | | ... | ${tg_to_dut_if2} | ${dut_to_tg_if1_mac}
315 | | ... | ${icmp_type} | ${icmp_code}
316 | | Then Send ICMP packet with type and code | ${tg_node}
317 | | ... | ${src_ip} | ${dst_ip}
318 | | ... | ${tg_to_dut_if1} | ${tg_to_dut_if1_mac}
319 | | ... | ${tg_to_dut_if2} | ${dut_to_tg_if1_mac}
320 | | ... | ${classify_type} | ${icmp_code}
321 | | And Run Keyword And Expect Error | ICMP echo Rx timeout
322 | | ... | Send ICMP packet with type and code | ${tg_node}
323 | | ... | ${src_ip} | ${dst_ip}
324 | | ... | ${tg_to_dut_if1} | ${tg_to_dut_if1_mac}
325 | | ... | ${tg_to_dut_if2} | ${dut_to_tg_if1_mac}
326 | | ... | ${classify_type} | ${classify_code}
327
328 | TC08: ACL reflexive IPv4 filtering through plugin-acl node - bridged
329 | | [Documentation]
330 | | ... | [Top] TG=DUT1=TG.
331 | | ... | [Enc] Eth-IPv4-TCP.
332 | | ... | [Cfg] (Using Honeycomb API) On DUT1 bridge both interfaces to TG,\
333 | | ... | configure a "drop all" ACL on ingress and reflexive ACL on egress.
334 | | ... | [Ver] Send a simple TCP packet to VPP interface 1 and do not receive\
335 | | ... | it back. Then send the packet with reversed src/dst IP address\
336 | | ... | to VPP interface 2 and receive it from interface 1(this should create\
337 | | ... | a reflexive "permit" rule) Finally, send the original packet again\
338 | | ... | and receive it from interface 2.
339 | | [Tags] | EXPCETED_FAILING
340 # Bug VPP-633, VPP crashes when any packet hits a reflexive rule
341 | | [Teardown] | Run Keywords
342 | | ... | Show Packet Trace on All DUTs | ${nodes} | AND
343 | | ... | Read plugin-ACL configuration from VAT | ${node} | AND
344 | | ... | Clear plugin-acl Settings | ${node} | ${dut_to_tg_if1} | AND
345 | | ... | Honeycomb Removes All Bridge Domains
346 | | ... | ${node} | ${dut_to_tg_if1} | ${dut_to_tg_if2}
347 | | Given Setup Interfaces And Bridge Domain For plugin-acl Test
348 | | ... | reflex | ${acl_name_reflex}
349 | | When Honeycomb Creates ACL Chain Through ACL plugin
350 | | ... | ${dut_node} | ${acl_name_reflex} | ${acl_settings}
351 | | And Honeycomb Assigns plugin-acl Chain To Interface
352 | | ... | ${dut_node} | ${dut_to_tg_if1} | ${acl_name_reflex} | egress
353 | | And Import Variables | resources/test_data/honeycomb/plugin_acl.py
354 | | ... | block_all | block_all
355 | | When Honeycomb Creates ACL Chain Through ACL plugin
356 | | ... | ${dut_node} | block_all | ${acl_settings}
357 | | And Honeycomb Assigns plugin-acl Chain To Interface
358 | | ... | ${dut_node} | ${dut_to_tg_if1} | block_all | ingress
359 | | And Run Keyword And Expect Error | TCP/UDP Rx timeout
360 | | ... | Send TCP Or UDP Packet | ${tg_node}
361 | | ... | ${classify_src} | ${classify_dst}
362 | | ... | ${tg_to_dut_if1} | ${tg_to_dut_if1_mac}
363 | | ... | ${tg_to_dut_if2} | ${dut_to_tg_if1_mac}
364 | | ... | TCP | ${src_port} | ${dst_port}
365 | | And Send TCP Or UDP Packet | ${tg_node}
366 | | ... | ${classify_dst} | ${classify_src}
367 | | ... | ${tg_to_dut_if2} | ${dut_to_tg_if2_mac}
368 | | ... | ${tg_to_dut_if1} | ${tg_to_dut_if2_mac}
369 | | ... | TCP | ${dst_port} | ${src_port}
370 | | And Send TCP Or UDP Packet | ${tg_node}
371 | | ... | ${classify_src} | ${classify_dst}
372 | | ... | ${tg_to_dut_if1} | ${tg_to_dut_if1_mac}
373 | | ... | ${tg_to_dut_if2} | ${dut_to_tg_if1_mac}
374 | | ... | TCP | ${src_port} | ${dst_port}
375
376 # Routing section
377 # ===============
378
379 | TC09: ACL IPv4 filtering through plugin-acl node - routed
380 | | [Documentation]
381 | | ... | [Top] TG=DUT1=TG.
382 | | ... | [Enc] Eth-IPv4-TCP.
383 | | ... | [Cfg] (Using Honeycomb API) On DUT1 set IPv4 addresses on both\
384 | | ... | interfaces to TG, add ARP entry and routes, and configure L3 IPv4 ACL\
385 | | ... | on ingress interface with src/dst IP and protocol.
386 | | ... | [Ver] Send simple TCP and UDP packets from one TG interface\
387 | | ... | to the other, using different IPv4 IPs. Receive all packets except\
388 | | ... | those with IPs in the filtered ranges and UDP protocol payload.
389 | | [Tags] | EXPECTED_FAILING
390 # routed interfaces not yet supported by ACL plugin (no Jira id available)
391 | | Given Setup Interface IPs And Routes For IPv4 plugin-acl Test
392 | | ... | l3_ip4 | ${acl_name_l3_ip4}
393 | | When Honeycomb Creates ACL Chain Through ACL plugin
394 | | ... | ${dut_node} | ${acl_name_l3_ip4} | ${acl_settings}
395 | | And Honeycomb Assigns plugin-acl Chain To Interface
396 | | ... | ${dut_node} | ${dut_to_tg_if1} | ${acl_name_l3_ip4} | ingress
397 | | Then Send TCP Or UDP Packet | ${tg_node}
398 | | ... | ${src_ip} | ${dst_ip}
399 | | ... | ${tg_to_dut_if1} | ${tg_to_dut_if1_mac}
400 | | ... | ${tg_to_dut_if2} | ${dut_to_tg_if1_mac}
401 | | ... | UDP | ${src_port} | ${dst_port}
402 | | And Send TCP Or UDP Packet | ${tg_node}
403 | | ... | ${classify_src} | ${classify_dst}
404 | | ... | ${tg_to_dut_if1} | ${tg_to_dut_if1_mac}
405 | | ... | ${tg_to_dut_if2} | ${dut_to_tg_if1_mac}
406 | | ... | TCP | ${src_port} | ${dst_port}
407 | | And Run Keyword And Expect Error | TCP/UDP Rx timeout
408 | | ... | Send TCP Or UDP Packet | ${tg_node}
409 | | ... | ${classify_src} | ${classify_dst}
410 | | ... | ${tg_to_dut_if1} | ${tg_to_dut_if1_mac}
411 | | ... | ${tg_to_dut_if2} | ${dut_to_tg_if1_mac}
412 | | ... | UDP | ${src_port} | ${dst_port}
413
414 | TC10: ACL IPv6 filtering through plugin-acl node - routed
415 | | [Documentation]
416 | | ... | [Top] TG=DUT1=TG.
417 | | ... | [Enc] Eth-IPv6-TCP.
418 | | ... | [Cfg] (Using Honeycomb API) On DUT1 set IPv6 addresses on both\
419 | | ... | interfaces to TG, add IP neighbor entry and routes, and configure\
420 | | ... | L3 IPv6 ACL on ingress interface with src/dst IP and next-header.
421 | | ... | [Ver] Send simple TCP and UDP packets from one TG interface\
422 | | ... | to the other, using different IPv6 IPs. Receive all packets except\
423 | | ... | those with IPs in the filtered ranges and UDP protocol payload.
424 | | [Tags] | EXPECTED_FAILING
425 # routed interfaces not yet supported by ACL plugin (no Jira id available)
426 | | Given Path for 2-node testing is set
427 | | ... | ${nodes['TG']} | ${nodes['DUT1']} | ${nodes['TG']}
428 | | And Import Variables | resources/test_data/honeycomb/plugin_acl.py
429 | | ... | L3_IP6 | ${acl_name_l3_ip6}
430 | | And Honeycomb sets interface state | ${dut_node} | ${dut_to_tg_if1} | up
431 | | And Honeycomb sets interface state | ${dut_node} | ${dut_to_tg_if2} | up
432 # TODO: Configure addresses through Honeycomb when implemented. (Honeycomb-102)
433 | | And Set Interface Address | ${dut_node}
434 | | ... | ${dut_to_tg_if1} | ${dut_to_tg_if1_ip} | ${prefix_length}
435 | | And Set Interface Address | ${dut_node}
436 | | ... | ${dut_to_tg_if2} | ${dut_to_tg_if2_ip} | ${prefix_length}
437 | | And VPP RA suppress link layer | ${dut_node} | ${dut_to_tg_if2}
438 # TODO: Configure route through Honeycomb when implemented.(Honeycomb-58)
439 | | And Add IP Neighbor
440 | | ... | ${node} | ${dut_to_tg_if2} | ${gateway} | ${tg_to_dut_if2_mac}
441 | | And VPP Route Add | ${node} | ${dst_net} | ${prefix_length}
442 | | ... | ${gateway} | interface=${dut_to_tg_if2} | use_sw_index=False
443 | | And VPP Route Add | ${node} | ${classify_dst_net} | ${prefix_length}
444 | | ... | ${gateway} | interface=${dut_to_tg_if2} | use_sw_index=False
445 | | When Honeycomb Creates ACL Chain Through ACL plugin
446 | | ... | ${dut_node} | ${acl_name_l3_ip6} | ${acl_settings}
447 | | And Honeycomb Assigns plugin-acl Chain To Interface
448 | | ... | ${dut_node} | ${dut_to_tg_if1} | ${acl_name_l3_ip6} | ingress
449 | | Then Send TCP Or UDP Packet | ${tg_node}
450 | | ... | ${src_ip} | ${dst_ip}
451 | | ... | ${tg_to_dut_if1} | ${tg_to_dut_if1_mac}
452 | | ... | ${tg_to_dut_if2} | ${dut_to_tg_if1_mac}
453 | | ... | UDP | ${src_port} | ${dst_port}
454 | | And Send TCP Or UDP Packet | ${tg_node}
455 | | ... | ${classify_src} | ${classify_dst}
456 | | ... | ${tg_to_dut_if1} | ${tg_to_dut_if1_mac}
457 | | ... | ${tg_to_dut_if2} | ${dut_to_tg_if1_mac}
458 | | ... | TCP | ${src_port} | ${dst_port}
459 | | And Run Keyword And Expect Error | TCP/UDP Rx timeout
460 | | ... | Send TCP Or UDP Packet | ${tg_node}
461 | | ... | ${classify_src} | ${classify_dst}
462 | | ... | ${tg_to_dut_if1} | ${tg_to_dut_if1_mac}
463 | | ... | ${tg_to_dut_if2} | ${dut_to_tg_if1_mac}
464 | | ... | UDP | ${src_port} | ${dst_port}
465
466 | TC11: ACL port filtering through plugin-acl node - routed
467 | | [Documentation]
468 | | ... | [Top] TG=DUT1=TG.
469 | | ... | [Enc] Eth-IPv4-TCP.
470 | | ... | [Cfg] (Using Honeycomb API) On DUT1 set IPv4 addresses on both\
471 | | ... | interfaces to TG, add ARP entry and routes, and configure L4 port ACL\
472 | | ... | on ingress interface with src/dst port ranges.
473 | | ... | [Ver] Send simple TCP and UDP packets from one TG interface\
474 | | ... | to the other, using different ports. Receive all packets except\
475 | | ... | those with ports in the filtered ranges.
476 | | [Tags] | EXPECTED_FAILING
477 # routed interfaces not yet supported by ACL plugin (no Jira id available)
478 | | Given Setup Interface IPs And Routes For IPv4 plugin-acl Test
479 | | ... | L4 | ${acl_name_l4}
480 | | When Honeycomb Creates ACL Chain Through ACL plugin
481 | | ... | ${dut_node} | ${acl_name_l4} | ${acl_settings}
482 | | And Honeycomb Assigns plugin-acl Chain To Interface
483 | | ... | ${dut_node} | ${dut_to_tg_if1} | ${acl_name_l4} | ingress
484 | | Then Send TCP Or UDP Packet | ${tg_node}
485 | | ... | ${src_ip} | ${dst_ip}
486 | | ... | ${tg_to_dut_if1} | ${tg_to_dut_if1_mac}
487 | | ... | ${tg_to_dut_if2} | ${dut_to_tg_if1_mac}
488 | | ... | TCP | ${src_port} | ${dst_port}
489 | | And Run Keyword And Expect Error | TCP/UDP Rx timeout
490 | | ... | Send TCP Or UDP Packet | ${tg_node}
491 | | ... | ${src_ip} | ${dst_ip}
492 | | ... | ${tg_to_dut_if1} | ${tg_to_dut_if1_mac}
493 | | ... | ${tg_to_dut_if2} | ${dut_to_tg_if1_mac}
494 | | ... | TCP | ${classify_src} | ${classify_dst}
495 | | And Run Keyword And Expect Error | TCP/UDP Rx timeout
496 | | ... | Send TCP Or UDP Packet | ${tg_node}
497 | | ... | ${src_ip} | ${dst_ip}
498 | | ... | ${tg_to_dut_if1} | ${tg_to_dut_if1_mac}
499 | | ... | ${tg_to_dut_if2} | ${dut_to_tg_if1_mac}
500 | | ... | TCP | ${classify_src+5} | ${classify_dst+5}
501
502 | TC12: ACL filtering with IPv4 address and TCP port in one rule - routed
503 | | [Documentation]
504 | | ... | [Top] TG=DUT1=TG.
505 | | ... | [Enc] Eth-IPv4-TCP.
506 | | ... | [Cfg] (Using Honeycomb API) On DUT1 set IPv4 addresses on both\
507 | | ... | interfaces to TG, add ARP entry and routes and configure a mixed
508 | | ... | rule with src/dst IP, TCP protocol and port ranges.
509 | | ... | [Ver] Send simple TCP packets from one TG interface to the other,\
510 | | ... | using IPs and ports. Receive all packets except those with\
511 | | ... | both IPs and ports in the filtered ranges.
512 | | [Tags] | EXPECTED_FAILING
513 # routed interfaces not yet supported by ACL plugin (no Jira id available)
514 | | Given Setup Interface IPs And Routes For IPv4 plugin-acl Test
515 | | ... | mixed | ${acl_name_mixed}
516 | | When Honeycomb Creates ACL Chain Through ACL plugin
517 | | ... | ${dut_node} | ${acl_name_mixed} | ${acl_settings}
518 | | And Honeycomb Assigns plugin-acl Chain To Interface
519 | | ... | ${dut_node} | ${dut_to_tg_if1} | ${acl_name_mixed} | ingress
520 | | Then Send TCP Or UDP Packet | ${tg_node} | ${src_ip} | ${dst_ip}
521 | | ... | ${tg_to_dut_if1} | ${tg_to_dut_if1_mac}
522 | | ... | ${tg_to_dut_if2} | ${dut_to_tg_if1_mac}
523 | | ... | TCP | ${src_port} | ${dst_port}
524 | | Then Send TCP Or UDP Packet | ${tg_node}
525 | | ... | ${classify_src_ip} | ${classify_dst_ip}
526 | | ... | ${tg_to_dut_if1} | ${tg_to_dut_if1_mac}
527 | | ... | ${tg_to_dut_if2} | ${dut_to_tg_if1_mac}
528 | | ... | TCP | ${src_port} | ${dst_port}
529 | | And Run Keyword And Expect Error | TCP/UDP Rx timeout
530 | | ... | Send TCP Or UDP Packet | ${tg_node}
531 | | ... | ${classify_src_ip} | ${classify_dst_ip}
532 | | ... | ${tg_to_dut_if1} | ${tg_to_dut_if1_mac}
533 | | ... | ${tg_to_dut_if2} | ${dst_mac}
534 | | ... | TCP | ${classify_src_port} | ${classify_dst_port}
535
536 | TC13: ACL ICMP packet filtering - routed
537 | | [Documentation]
538 | | ... | [Top] TG=DUT1=TG.
539 | | ... | [Enc] Eth-IPv4-TCP.
540 | | ... | [Cfg] (Using Honeycomb API) On DUT1 set IPv4 addresses on both\
541 | | ... | interfaces to TG, add ARP entry and routes, and configure ICMP ACL\
542 | | ... | on ingress interface with ICMP type and code.
543 | | ... | [Ver] Send ICMP packets from one TG interface\
544 | | ... | to the other, using different codes and types. Receive all packets\
545 | | ... | except those with the filtered type and code.
546 | | [Tags] | EXPECTED_FAILING
547 # Bug VPP-624, ICMP type/code values are not matched
548 # routed interfaces not yet supported by ACL plugin (no Jira id available)
549 | | Given Setup Interface IPs And Routes For IPv4 plugin-acl Test
550 | | ... | icmp | ${acl_name_icmp}
551 | | When Honeycomb Creates ACL Chain Through ACL plugin
552 | | ... | ${dut_node} | ${acl_name_icmp} | ${acl_settings}
553 | | And Honeycomb Assigns plugin-acl Chain To Interface
554 | | ... | ${dut_node} | ${dut_to_tg_if1} | ${acl_name_icmp} | ingress
555 | | Then Send ICMP packet with type and code | ${tg_node}
556 | | ... | ${src_ip} | ${dst_ip}
557 | | ... | ${tg_to_dut_if1} | ${tg_to_dut_if1_mac}
558 | | ... | ${tg_to_dut_if2} | ${dut_to_tg_if1_mac}
559 | | ... | ${icmp_type} | ${icmp_code}
560 | | Then Send ICMP packet with type and code | ${tg_node}
561 | | ... | ${src_ip} | ${dst_ip}
562 | | ... | ${tg_to_dut_if1} | ${tg_to_dut_if1_mac}
563 | | ... | ${tg_to_dut_if2} | ${dut_to_tg_if1_mac}
564 | | ... | ${classify_type} | ${icmp_code}
565 | | And Run Keyword And Expect Error | TCP/UDP Rx timeout
566 | | ... | Send ICMP packet with type and code | ${tg_node}
567 | | ... | ${src_ip} | ${dst_ip}
568 | | ... | ${tg_to_dut_if1} | ${tg_to_dut_if1_mac}
569 | | ... | ${tg_to_dut_if2} | ${dut_to_tg_if1_mac}
570 | | ... | ${classify_type} | ${classify_code}
571
572 | TC14: ACL ICMPv6 packet filtering - routed
573 | | [Documentation]
574 | | ... | [Top] TG=DUT1=TG.
575 | | ... | [Enc] Eth-IPv4-TCP.
576 | | ... | [Cfg] (Using Honeycomb API) On DUT1 set IPv6 addresses on both\
577 | | ... | interfaces to TG, add ARP entry and routes, and configure ICMP ACL\
578 | | ... | on ingress interface with ICMPv6 type and code.
579 | | ... | [Ver] Send ICMPv6 packets from one TG interface\
580 | | ... | to the other, using different codes and types. Receive all packets\
581 | | ... | except those with the filtered type and code.
582 | | [Tags] | EXPECTED_FAILING
583 # Bug VPP-624, ICMP type/code values are not matched
584 # routed interfaces not yet supported by ACL plugin (no Jira id available)
585 | | Given Path for 2-node testing is set
586 | | ... | ${nodes['TG']} | ${nodes['DUT1']} | ${nodes['TG']}
587 | | And Import Variables | resources/test_data/honeycomb/plugin_acl.py
588 | | ... | L3_IP6 | ${acl_name_l3_ip6}
589 | | And Honeycomb sets interface state | ${dut_node} | ${dut_to_tg_if1} | up
590 | | And Honeycomb sets interface state | ${dut_node} | ${dut_to_tg_if2} | up
591 # TODO: Configure addresses through Honeycomb when implemented. (Honeycomb-102)
592 | | And Set Interface Address | ${dut_node}
593 | | ... | ${dut_to_tg_if1} | ${dut_to_tg_if1_ip} | ${prefix_length}
594 | | And Set Interface Address | ${dut_node}
595 | | ... | ${dut_to_tg_if2} | ${dut_to_tg_if2_ip} | ${prefix_length}
596 | | And VPP RA suppress link layer | ${dut_node} | ${dut_to_tg_if2}
597 # TODO: Configure route through Honeycomb when implemented.(Honeycomb-58)
598 | | And Add IP Neighbor
599 | | ... | ${node} | ${dut_to_tg_if2} | ${gateway} | ${tg_to_dut_if2_mac}
600 | | And VPP Route Add | ${node} | ${dst_net} | ${prefix_length}
601 | | ... | ${gateway} | interface=${dut_to_tg_if2} | use_sw_index=False
602 | | And VPP Route Add | ${node} | ${classify_dst_net} | ${prefix_length}
603 | | ... | ${gateway} | interface=${dut_to_tg_if2} | use_sw_index=False
604 | | When Honeycomb Creates ACL Chain Through ACL plugin
605 | | ... | ${dut_node} | ${acl_name_icmp} | ${acl_settings}
606 | | And Honeycomb Assigns plugin-acl Chain To Interface
607 | | ... | ${dut_node} | ${dut_to_tg_if1} | ${acl_name_icmp} | ingress
608 | | Then Send ICMP packet with type and code | ${tg_node}
609 | | ... | ${src_ip} | ${dst_ip}
610 | | ... | ${tg_to_dut_if1} | ${tg_to_dut_if1_mac}
611 | | ... | ${tg_to_dut_if2} | ${dut_to_tg_if1_mac}
612 | | ... | ${icmp_type} | ${icmp_code}
613 | | Then Send ICMP packet with type and code | ${tg_node}
614 | | ... | ${src_ip} | ${dst_ip}
615 | | ... | ${tg_to_dut_if1} | ${tg_to_dut_if1_mac}
616 | | ... | ${tg_to_dut_if2} | ${dut_to_tg_if1_mac}
617 | | ... | ${classify_type} | ${icmp_code}
618 | | And Run Keyword And Expect Error | TCP/UDP Rx timeout
619 | | ... | Send ICMP packet with type and code | ${tg_node}
620 | | ... | ${src_ip} | ${dst_ip}
621 | | ... | ${tg_to_dut_if1} | ${tg_to_dut_if1_mac}
622 | | ... | ${tg_to_dut_if2} | ${dut_to_tg_if1_mac}
623 | | ... | ${classify_type} | ${classify_code}
624
625 | TC15: ACL reflexive IPv4 filtering through plugin-acl node - bridged
626 | | [Documentation]
627 | | ... | [Top] TG=DUT1=TG.
628 | | ... | [Enc] Eth-IPv4-TCP.
629 | | ... | [Cfg] (Using Honeycomb API) On DUT1 set IPv4 addresses on both\
630 | | ... | interfaces to TG, add ARP entries and routes,\
631 | | ... | configure a "drop all" ACL on ingress and reflexive ACL on egress.
632 | | ... | [Ver] Send a simple TCP packet to VPP interface 1 and do not receive\
633 | | ... | it back. Then send the packet with reversed src/dst IP address\
634 | | ... | to VPP interface 2 and receive it from interface 1(this should create\
635 | | ... | a reflexive "permit" rule) Finally, send the original packet again\
636 | | ... | and receive it from interface 2.
637 | | [Tags] | EXPECTED_FAILING
638 # routed interfaces not yet supported by ACL plugin (no Jira id available)
639 # Bug VPP-633, VPP crashes when any packet hits a reflexive rule
640 | | Given Setup Interface IPs And Routes For IPv4 plugin-acl Test
641 | | ... | icmp | ${acl_name_reflex}
642 | | And Add ARP on DUT
643 | | ... | ${node} | ${dut_to_tg_if1} | ${gateway2} | ${tg_to_dut_if1_mac}
644 | | And VPP Route Add
645 | | ... | ${node} | ${src_net} | ${prefix_length} | ${gateway2}
646 | | ... | interface=${dut_to_tg_if1} | use_sw_index=False
647 | | And VPP Route Add
648 | | ... | ${node} | ${classify_src_net} | ${prefix_length} | ${gateway2}
649 | | ... | interface=${dut_to_tg_if1} | use_sw_index=False
650 | | When Honeycomb Creates ACL Chain Through ACL plugin
651 | | ... | ${dut_node} | ${acl_name_reflex} | ${acl_settings}
652 | | And Honeycomb Assigns plugin-acl Chain To Interface
653 | | ... | ${dut_node} | ${dut_to_tg_if1} | ${acl_name_reflex} | egress
654 | | And Import Variables | resources/test_data/honeycomb/plugin_acl.py
655 | | ... | block_all | block_all
656 | | When Honeycomb Creates ACL Chain Through ACL plugin
657 | | ... | ${dut_node} | block_all | ${acl_settings}
658 | | And Honeycomb Assigns plugin-acl Chain To Interface
659 | | ... | ${dut_node} | ${dut_to_tg_if1} | block_all | ingress
660 | | And Run Keyword And Expect Error | TCP/UDP Rx timeout
661 | | ... | Send TCP Or UDP Packet | ${tg_node}
662 | | ... | ${classify_src} | ${classify_dst}
663 | | ... | ${tg_to_dut_if1} | ${tg_to_dut_if1_mac}
664 | | ... | ${tg_to_dut_if2} | ${dut_to_tg_if1_mac}
665 | | ... | TCP | ${src_port} | ${dst_port}
666 | | And Send TCP Or UDP Packet | ${tg_node}
667 | | ... | ${classify_dst} | ${classify_src}
668 | | ... | ${tg_to_dut_if2} | ${dut_to_tg_if2_mac}
669 | | ... | ${tg_to_dut_if1} | ${tg_to_dut_if2_mac}
670 | | ... | TCP | ${dst_port} | ${src_port}
671 | | And Send TCP Or UDP Packet | ${tg_node}
672 | | ... | ${classify_src} | ${classify_dst}
673 | | ... | ${tg_to_dut_if1} | ${tg_to_dut_if1_mac}
674 | | ... | ${tg_to_dut_if2} | ${dut_to_tg_if1_mac}
675 | | ... | TCP | ${src_port} | ${dst_port}
676
677 *** Keywords ***
678 | Setup interface IPs and routes for IPv4 plugin-acl test
679 | | [Arguments] | ${test_data_id} | ${acl_name}
680 | | Path for 2-node testing is set
681 | | ... | ${nodes['TG']} | ${nodes['DUT1']} | ${nodes['TG']}
682 | | Import Variables | resources/test_data/honeycomb/plugin_acl.py
683 | | ... | ${test_data_id} | ${acl_name}
684 | | Honeycomb sets interface state | ${dut_node} | ${dut_to_tg_if1} | up
685 | | Honeycomb sets interface state | ${dut_node} | ${dut_to_tg_if2} | up
686 | | Honeycomb sets interface ipv4 address with prefix | ${dut_node}
687 | | ... | ${dut_to_tg_if1} | ${dut_to_tg_if1_ip} | ${prefix_length}
688 | | Honeycomb sets interface ipv4 address with prefix | ${dut_node}
689 | | ... | ${dut_to_tg_if2} | ${dut_to_tg_if2_ip} | ${prefix_length}
690 # TODO: Configure routes through Honeycomb once routing tests are added
691 | | Add ARP on DUT
692 | | ... | ${node} | ${dut_to_tg_if2} | ${gateway} | ${tg_to_dut_if2_mac}
693 | | VPP Route Add
694 | | ... | ${node} | ${dst_net} | ${prefix_length} | ${gateway}
695 | | ... | interface=${dut_to_tg_if2} | use_sw_index=False
696 | | VPP Route Add
697 | | ... | ${node} | ${classify_dst_net} | ${prefix_length} | ${gateway}
698 | | ... | interface=${dut_to_tg_if2} | use_sw_index=False
699
700 | Setup interfaces and bridge domain for plugin-acl test
701 | | [Arguments] | ${test_data_id} | ${acl_name}
702 | | Path For 2-node Testing Is Set
703 | | ... | ${nodes['TG']} | ${nodes['DUT1']} | ${nodes['TG']}
704 | | Import Variables | resources/test_data/honeycomb/plugin_acl.py
705 | | ... | ${test_data_id} | ${acl_name}
706 | | Honeycomb Sets Interface State | ${dut_node} | ${dut_to_tg_if1} | up
707 | | Honeycomb Sets Interface State | ${dut_node} | ${dut_to_tg_if2} | up
708 | | Honeycomb Creates first L2 Bridge Domain
709 | | ... | ${dut_node} | ${bd_name} | ${bd_settings}
710 | | Honeycomb Adds Interfaces To Bridge Domain
711 | | ... | ${dut_node} | ${dut_to_tg_if1} | ${dut_to_tg_if2}
712 | | ... | ${bd_name} | ${bd_if_settings}