Skip to content

Commit

Permalink
Modified the test script to match ACL match fields which should be co…
Browse files Browse the repository at this point in the history
…nfigured to match l4 src and dst port (opencomputeproject#1960)

Test case goal is to verify matching on l4_dst_port and l4_src_port fields configuration
but test case is enabling only src ip match field while creating route table
Modifed the test script to enable l4 src port and l4 dst port match fields
  • Loading branch information
rajneeshaec authored Apr 16, 2024
1 parent bffc28f commit cd249d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ptf/saiacl.py
Original file line number Diff line number Diff line change
Expand Up @@ -1414,7 +1414,7 @@ def runTest(self):
self.client,
acl_stage=table_stage_ingress,
acl_bind_point_type_list=table_bind_point_type_list,
field_src_ip=True)
field_l4_src_port=True, field_l4_dst_port=True)

self.assertNotEqual(acl_ingress_table_id, 0)

Expand Down

0 comments on commit cd249d6

Please sign in to comment.