[action] [PR:4068] [ssw][ha] add ACTION_COUNTER to acl table type#201
Merged
mssonicbld merged 1 commit intoAzure:202506from Jan 29, 2026
Merged
Conversation
<!-- Please make sure you have read and understood the contribution guildlines: https://github.com/Azure/SONiC/blob/gh-pages/CONTRIBUTING.md 1. Make sure your commit includes a signature generted with `git commit -s` 2. Make sure your commit title follows the correct format: [component]: description 3. Make sure your commit message contains enough details about the change and related tests 4. Make sure your pull request adds related reviewers, asignees, labels Please also provide the following information in this pull request: --> **What I did** Add action counter to acl table type when creating initializing tunnel termination acl table. sign-off: Jing Zhang zhangjing@microsoft.com **Why I did it** It's added for the acl rules but not for the table today. **How I verified it** This change was there for our HA development (on a custom branch) but missed on the master branch. It's verified in many demo sessions. **Details if related** Error logs if missing this PR: ``` 2025 Dec 12 00:50:02.269248 switch1 ERR syncd#syncd: SAI_LOG|SAI_API_ACL: src/acl/sai_acl_cmd.cpp:86: ACL Table 0x380000000000003 does not support action SAI_ACL_ACTION_TYPE_COUNTER 2025 Dec 12 00:50:02.269248 switch1 ERR syncd#syncd: :- sendApiResponse: api SAI_COMMON_API_CREATE failed in syncd mode: SAI_STATUS_INVALID_PARAMETER 2025 Dec 12 00:50:02.269366 switch1 ERR syncd#syncd: :- processQuadEvent: attr: SAI_ACL_ENTRY_ATTR_TABLE_ID: oid:0x7000000000661 2025 Dec 12 00:50:02.269366 switch1 ERR syncd#syncd: :- processQuadEvent: attr: SAI_ACL_ENTRY_ATTR_PRIORITY: 9998 2025 Dec 12 00:50:02.269384 switch1 ERR syncd#syncd: :- processQuadEvent: attr: SAI_ACL_ENTRY_ATTR_ADMIN_STATE: true 2025 Dec 12 00:50:02.269426 switch1 ERR syncd#syncd: :- processQuadEvent: attr: SAI_ACL_ENTRY_ATTR_ACTION_COUNTER: oid:0x9000000015a72 2025 Dec 12 00:50:02.269426 switch1 ERR syncd#syncd: :- processQuadEvent: attr: SAI_ACL_ENTRY_ATTR_FIELD_DST_IP: 3.2.1.0&mask:255.255.255.255 2025 Dec 12 00:50:02.269426 switch1 ERR syncd#syncd: :- processQuadEvent: attr: SAI_ACL_ENTRY_ATTR_FIELD_TUNNEL_TERMINATED: true 2025 Dec 12 00:50:02.269443 switch1 ERR syncd#syncd: :- processQuadEvent: attr: SAI_ACL_ENTRY_ATTR_ACTION_REDIRECT: oid:0x400000000065c 2025 Dec 12 00:50:02.269711 switch1 ERR swss#orchagent: :- create: create status: SAI_STATUS_INVALID_PARAMETER 2025 Dec 12 00:50:02.269711 switch1 ERR swss#orchagent: :- createRule: Failed to create ACL rule Vnet_55_3.2.1.0/32_TUNN_TERM, rv:-5 ```
Collaborator
Author
|
Original PR: sonic-net/sonic-swss#4068 |
Collaborator
Author
|
/azp run |
|
Azure Pipelines failed to run 1 pipeline(s). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What I did
Add action counter to acl table type when creating initializing tunnel termination acl table.
sign-off: Jing Zhang zhangjing@microsoft.com
Why I did it
It's added for the acl rules but not for the table today.
How I verified it
This change was there for our HA development (on a custom branch) but missed on the master branch. It's verified in many demo sessions.
Details if related
Error logs if missing this PR: