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

Optimized caclmgrd ACL Rule Table Notification handling. #5560

Merged
merged 1 commit into from
Oct 8, 2020

Conversation

abdosi
Copy link
Contributor

@abdosi abdosi commented Oct 7, 2020

Why I did:
Optimized caclmgrd ACL Rule Table Notification handling.
Previously any event happening on ACL Rule Table (eg DATAACL rules
programmed) caused control plane default action to be triggered
and invoking iptables commands

Now Control Place ACTION will be trigger only
for ACL Rule belonging to Control ACL Table

- How I did it
Check for Table Type for ACL Rule notification
- How to verify it
Run crm/test_crm.py which populate DATAACL Rules for ACL Counters and made sure DATACL ACL
rules prgrammed do not trigger Control plane Action

any event happening on ACL Rule Table (eg DATAACL rules
programmed) caused control plane default action to be triggered.

Now Control Plance ACTION will be trigger only

a) ACL Rule beloging to Control ACL Table

Signed-off-by: Abhishek Dosi <[email protected]>
@jleveque
Copy link
Contributor

jleveque commented Oct 8, 2020

@abdosi: This PR should be complimentary to #5312, correct?

@jleveque Yes , It works together with that PR

@abdosi abdosi merged commit 01fceb6 into sonic-net:master Oct 8, 2020
@abdosi abdosi deleted the cacl_improvement branch October 8, 2020 18:31
abdosi added a commit that referenced this pull request Oct 8, 2020
any event happening on ACL Rule Table (eg DATAACL rules
programmed) caused control plane default action to be triggered.

Now Control Plance ACTION will be trigger only

a) ACL Rule beloging to Control ACL Table

Signed-off-by: Abhishek Dosi <[email protected]>
santhosh-kt pushed a commit to santhosh-kt/sonic-buildimage that referenced this pull request Feb 25, 2021
any event happening on ACL Rule Table (eg DATAACL rules
programmed) caused control plane default action to be triggered.

Now Control Plance ACTION will be trigger only

a) ACL Rule beloging to Control ACL Table

Signed-off-by: Abhishek Dosi <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[cacl] caclmgrd reports errors when dataplane ACL rules are deleted
2 participants