Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[202111] cherrypick ACL fixes (#2298) and (#2351) #2497

Merged
merged 2 commits into from
Oct 27, 2022

Conversation

judyjoseph
Copy link
Contributor

What I did
Cherry-pick the following commits

commit 910bfd4
Author: bingwang-ms 66248323+bingwang-ms@users.noreply.github.com
Date: Sat May 28 03:04:14 2022 +0800

[ACL] Add default action_list for default ACL table type (#2298)

commit 1b8bd94
Author: Ravindranath C K rck@innovium.com
Date: Fri Jun 24 20:20:52 2022 +0530

Create ACL table fails due to incorrect check for supported ACL actions #11235 (#2351)

Signed-off-by: rck-innovium <rck@innovium.com>

Why I did it

How I verified it

Details if related

bingwang-ms and others added 2 commits October 26, 2022 22:08
)

What I did
This PR is derived from sonic-net#2205
Fix sonic-net/sonic-buildimage#10425

We were seeing ACL table creation failure on some platform because action_list is mandatory, while the action_list is not provided by aclorch.

Apr  1 01:24:11.702608 str2-7050cx3-acs-03 ERR swss#orchagent: :- validate: Action list for table DATAACL is mandatory
Apr  1 01:24:11.702608 str2-7050cx3-acs-03 ERR swss#orchagent: :- doAclTableTask: Failed to create ACL table DATAACL, invalid configuration
Apr  1 01:24:11.702741 str2-7050cx3-acs-03 ERR swss#orchagent: :- validate: Action list for table EVERFLOW is mandatory
Apr  1 01:24:11.702741 str2-7050cx3-acs-03 ERR swss#orchagent: :- doAclTableTask: Failed to create ACL table EVERFLOW, invalid configuration
Apr  1 01:24:11.702926 str2-7050cx3-acs-03 ERR swss#orchagent: :- validate: Action list for table EVERFLOWV6 is mandatory
Apr  1 01:24:11.702926 str2-7050cx3-acs-03 ERR swss#orchagent: :- doAclTableTask: Failed to create ACL table EVERFLOWV6, invalid configuration
This PR fixed the issue by adding default action_list to the default ACL table type if not present.

Why I did it
Fix the ACL table creation issue.

How I verified it
Verified by running test_acl and test_everflow on Broadcom TD3 platform

Signed-off-by: bingwang <wang.bing@microsoft.com>
Co-authored-by: syuan <syuan@arista.com>
…ns #11235 (sonic-net#2351)

Signed-off-by: rck-innovium <rck@innovium.com>
@judyjoseph judyjoseph requested a review from prsunny as a code owner October 27, 2022 02:09
@judyjoseph judyjoseph changed the title 202111 acl [202111] cherrypick ACL fixes (#2298) and (#2351) Oct 27, 2022
@judyjoseph judyjoseph merged commit 7f24448 into sonic-net:202111 Oct 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants