Closed
Description
Description
Creation ACL table failed because action_list for this table is empty.
Due to sonic-net/sonic-swss#1982, action list will be used from ACL_TABLE_TYPE
objects.
Looks like in defaults ACL_TABLE_TYPE
are absent action lists: https://github.com/Azure/sonic-swss/blob/bb0733aa67ffc4e430e70bcf2db2dc6316172b32/orchagent/aclorch.cpp#L2752-L2768.
Steps to reproduce the issue:
- Install latest SONiC master.
config acl add table DATA_INGRESS_IPV4_TEST L3 -s ingress -p Ethernet8
Describe the results you received:
error appears on orchagent validation when create ACL table from CLI
'Nov 29 21:32:08.170178 igk-4-dut ERR swss#orchagent: :- validate: Action list for table DATA_INGRESS_IPV4_TEST is mandatory\n', 'Nov 29 21:32:08.170178 igk-4-dut ERR swss#orchagent: :- doAclTableTask: Failed to create ACL table DATA_INGRESS_IPV4_TEST, invalid configuration\n']
Describe the results you expected:
no errors in logs appears
Output of show version
:
SONiC Software Version: SONiC.master.54827-dirty-20211127.211353
Distribution: Debian 11.1
Kernel: 5.10.0-8-2-amd64
Build commit: 6f8dbaca7
Build date: Sat Nov 27 21:22:18 UTC 2021
Built by: AzDevOps@sonic-build-workers-000XMH```
#### Output of `show techsupport`: