[action] [PR:17553] Update backend_acl.py to specify ACL table name #17667
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.
Why I did it
Fix #17552 .
PR #14229 added a service for loading backend ACL rules. There is an issue in below code in
backend_acl.py
.sonic-buildimage/files/image_config/backend_acl/backend_acl.py
Lines 80 to 81 in 2ba3c90
Because
table_name
is not specified when callingacl-loader
, the ACL rules loaded previously will be cleared.Work item tracking
How I did it
Specify the ACL table name
DATAACL
when callingacl-loader
.How to verify it
The change is verified by running on a physical testbed. The previously loaded ACL rules are not cleared after this change.
Which release branch to backport (provide reason below if selected)
Tested branch (Please provide the tested image version)
Description for the changelog
Update backend_acl.py to specify ACL table name.
Link to config_db schema for YANG module changes
No schema change.
A picture of a cute animal (not mandatory but encouraged)