Skip to content

Commit 2c01794

Browse files
bingwang-msmssonicbld
authored andcommitted
Support new topology t1-32-lag in acl test (#12965)
1 parent 11c2f33 commit 2c01794

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/acl/test_acl.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,6 @@ def setup(duthosts, ptfhost, rand_selected_dut, rand_unselected_dut, tbinfo, ptf
315315
# For M0_VLAN/MX/T0/dual ToR scenario, we need to use the VLAN MAC to interact with downstream ports
316316
# For T1/M0_L3 scenario, no VLANs are present so using the router MAC is acceptable
317317
downlink_dst_mac = vlan_mac if vlan_mac is not None else rand_selected_dut.facts["router_mac"]
318-
319318
if topo == "t2":
320319
t2_info = get_t2_info(duthosts, tbinfo)
321320
downstream_port_ids = t2_info['downstream_port_ids']
@@ -372,7 +371,7 @@ def setup(duthosts, ptfhost, rand_selected_dut, rand_unselected_dut, tbinfo, ptf
372371
acl_table_ports[''] += port
373372

374373
if topo in ["t0", "m0_vlan", "m0_l3"] or tbinfo["topo"]["name"] in ("t1-lag", "t1-64-lag", "t1-64-lag-clet",
375-
"t1-56-lag", "t1-28-lag"):
374+
"t1-56-lag", "t1-28-lag", "t1-32-lag"):
376375
for k, v in list(port_channels.items()):
377376
acl_table_ports[v['namespace']].append(k)
378377
# In multi-asic we need config both in host and namespace.

0 commit comments

Comments
 (0)