//Reviving the old thread
Hi,
Can somebody provide more detail on L2 ACL support current status on 202012 and Master branch? When I run sonic-mgmt test suite's spytest for ACL
(sonic-test/sonic-mgmt/spytest/tests/qos/acl/test_acl.py). It is failing because ACL table L2 is not supported in ACL/orchagent codebase. I have
show the config being done by script, Error reported by orchagent and code snippet of supported ACL table type. If L2 ACL is not supported in sonic code
yet then I am wondering why this test cases added to spytest .
L2 table config block from the script:
"ACL_TABLE": {
"L2_MAC_EGRESS": {
"policy_desc":
"L2_MAC_EGRESS",
"ports": [
"PortChannel1" ],
"stage":
"EGRESS",
"type": "L2"
}
},
Error from orchagent:
<snip>
root@sonic:/home/cisco# show logging | grep L2_MAC
Apr 15 23:13:25.643717 sonic ERR swss#orchagent: :- doAclTableTask: Failed to process ACL table L2_MAC_EGRESS type
Apr 15 23:13:25.643717 sonic ERR swss#orchagent: :- doAclTableTask: Failed to create ACL table L2_MAC_EGRESS, invalid configuration
</snip>
<snip>
static acl_table_type_lookup_t aclTableTypeLookUp =
{
{ TABLE_TYPE_L3, ACL_TABLE_L3 },
{ TABLE_TYPE_L3V6, ACL_TABLE_L3V6 },
{ TABLE_TYPE_MIRROR, ACL_TABLE_MIRROR },
{ TABLE_TYPE_MIRRORV6, ACL_TABLE_MIRRORV6 },
{ TABLE_TYPE_MIRROR_DSCP, ACL_TABLE_MIRROR_DSCP },
{ TABLE_TYPE_CTRLPLANE, ACL_TABLE_CTRLPLANE },
{ TABLE_TYPE_DTEL_FLOW_WATCHLIST, ACL_TABLE_DTEL_FLOW_WATCHLIST },
{ TABLE_TYPE_DTEL_DROP_WATCHLIST, ACL_TABLE_DTEL_DROP_WATCHLIST },
{ TABLE_TYPE_MCLAG, ACL_TABLE_MCLAG }
};
</snip>
Thanks,
-Balaji