Skip to content

Commit 73e0273

Browse files
authored
[action] [PR:18811] Change t1-isolated-d28 to d32 in ACL tests (sonic-net#368)
<!-- Please make sure you've read and understood our contributing guidelines; https://github.com/sonic-net/SONiC/blob/gh-pages/CONTRIBUTING.md Please provide following information to help code review process a bit easier: --> ### Description of PR <!-- - Please include a summary of the change and which issue is fixed. - Please also include relevant motivation and context. Where should reviewer start? background context? - List any dependencies that are required for this change. --> Summary: Fixes # (issue) ### Type of change <!-- - Fill x for your type of change. - e.g. - [x] Bug fix --> - [ ] Bug fix - [ ] Testbed and Framework(new/improvement) - [ ] New Test case - [ ] Skipped for non-supported platforms - [ ] Test case improvement ### Back port request - [ ] 202205 - [ ] 202305 - [ ] 202311 - [ ] 202405 - [ ] 202411 - [x] 202505 - [x] 202412 ### Approach #### What is the motivation for this PR? Change t1-isolated-d28 to d32 in ACL tests #### How did you do it? #### How did you verify/test it? #### Any platform specific information? #### Supported testbed topology if it's a new test case? ### Documentation <!-- (If it's a new feature, new test case) Did you update documentation/Wiki relevant to your implementation? Link to the wiki page? -->
1 parent 7091eec commit 73e0273

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/acl/test_acl.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ def setup(duthosts, ptfhost, rand_selected_dut, rand_unselected_dut, tbinfo, ptf
351351
pytest_require(upstream_neigh_type is not None and downstream_neigh_type is not None,
352352
"Cannot get neighbor type for unsupported topo: {}".format(topo))
353353
mg_vlans = mg_facts["minigraph_vlans"]
354-
if tbinfo["topo"]["name"] in ("t1-isolated-d28", "t1-isolated-d128"):
354+
if tbinfo["topo"]["name"] in ("t1-isolated-d32", "t1-isolated-d128"):
355355
count = 0
356356
for interface, neighbor in list(mg_facts["minigraph_neighbors"].items()):
357357
port_id = mg_facts["minigraph_ptf_indices"][interface]
@@ -897,7 +897,7 @@ def get_src_port(self, setup, direction):
897897

898898
def get_dst_ports(self, setup, direction):
899899
"""Get the set of possible destination ports for the current test."""
900-
if setup["topo_name"] in ("t1-isolated-d28", "t1-isolated-d128"):
900+
if setup["topo_name"] in ("t1-isolated-d32", "t1-isolated-d128"):
901901
return setup["upstream_port_ids"] + setup["downstream_port_ids"] if direction == "downlink->uplink" \
902902
else setup["downstream_port_ids"]
903903
return setup["upstream_port_ids"] if direction == "downlink->uplink" else setup["downstream_port_ids"]

0 commit comments

Comments
 (0)