From cd249d64a5c2d6ed52803c4203f28627205c8c23 Mon Sep 17 00:00:00 2001 From: Rajneesh Kumar Yadav Date: Tue, 16 Apr 2024 22:21:45 +0530 Subject: [PATCH] Modified the test script to match ACL match fields which should be configured to match l4 src and dst port (#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 --- ptf/saiacl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ptf/saiacl.py b/ptf/saiacl.py index 2a3ebe72f..82603a244 100644 --- a/ptf/saiacl.py +++ b/ptf/saiacl.py @@ -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)