-
Notifications
You must be signed in to change notification settings - Fork 664
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
[acl-loader] Only add default deny rule when table is L3 or L3V6 #2796
Merged
Conversation
This file contains 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
@bingwang-ms can you help review this PR? |
Blueve
previously approved these changes
Apr 18, 2023
The change looks good. Can you please also add UT code to cover the change? Thanks |
lizhijianrd
changed the title
[acl-loader] Only add default deny rule when table is L3, L3V6, MIRROR or MIRRORV6
[acl-loader] Only add default deny rule when table is L3 or L3V6
Apr 19, 2023
bingwang-ms
approved these changes
Apr 19, 2023
Blueve
approved these changes
Apr 20, 2023
StormLiangMS
pushed a commit
that referenced
this pull request
Apr 20, 2023
What I did 1. Update acl-loader to only add default deny rule when table is L3 or L3V6. 2. Update unittest to cover it. How I did it Update function deny_rule and return {} if table is not L3 or L3V6. How to verify it 1. Update unittest and run all testcases to verify. 2. Built the package and installed on DUT to verify. Signed-off-by: Zhijian Li <[email protected]>
dprital
added a commit
to dprital/sonic-buildimage
that referenced
this pull request
May 1, 2023
Update sonic-utilities submodule pointer to include the following: * 88ffb167 [config]config reload should generate sysinfo if missing ([sonic-net#2778](sonic-net/sonic-utilities#2778)) * 7443b9e5 [sonic-package-manager] support extension with multiple YANG modules ([sonic-net#2752](sonic-net/sonic-utilities#2752)) * 522c3a9e [sonic-package-manager] add support for multiple CLI plugin files ([sonic-net#2753](sonic-net/sonic-utilities#2753)) * b38fcfd1 [show][muxcable] fix RC ([sonic-net#2812](sonic-net/sonic-utilities#2812)) * 7e24463f [chassis]: remote cli commands infra for sonic chassis ([sonic-net#2701](sonic-net/sonic-utilities#2701)) * bee593e4 [DPB]Fixing typo in config breakout output ([sonic-net#2802](sonic-net/sonic-utilities#2802)) * ada603c5 [config]Support multi-asic Golden Config override ([sonic-net#2738](sonic-net/sonic-utilities#2738)) * 88a7daa8 [show][barefoot] replace shell=True ([sonic-net#2699](sonic-net/sonic-utilities#2699)) * 5e99edb5 [sonic_package_manager] replace shell=True ([sonic-net#2726](sonic-net/sonic-utilities#2726)) * b547bb45 [acl-loader] Only add default deny rule when table is L3 or L3V6 ([sonic-net#2796](sonic-net/sonic-utilities#2796)) Signed-off-by: dprital <[email protected]>
10 tasks
lizhijianrd
added a commit
to lizhijianrd/sonic-utilities
that referenced
this pull request
May 4, 2023
…ic-net#2796) What I did 1. Update acl-loader to only add default deny rule when table is L3 or L3V6. 2. Update unittest to cover it. How I did it Update function deny_rule and return {} if table is not L3 or L3V6. How to verify it 1. Update unittest and run all testcases to verify. 2. Built the package and installed on DUT to verify. Signed-off-by: Zhijian Li <[email protected]>
yxieca
pushed a commit
that referenced
this pull request
May 4, 2023
…) (#2826) What I did 1. Update acl-loader to only add default deny rule when table is L3 or L3V6. 2. Update unittest to cover it. How I did it Update function deny_rule and return {} if table is not L3 or L3V6. How to verify it 1. Update unittest and run all testcases to verify. 2. Built the package and installed on DUT to verify. Signed-off-by: Zhijian Li <[email protected]>
Opened PR #2826 to backport to 202205 branch and solved the conflict. |
lizhijianrd
added
Included in 202205 Branch
and removed
Cherry Pick Conflict_202205
labels
May 7, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
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
acl-loader
to only add default deny rule when table is L3 or L3V6.How I did it
Update function
deny_rule
and return{}
if table is not L3 or L3V6.How to verify it
Previous command output (if the output of a command-line utility has changed)
New command output (if the output of a command-line utility has changed)