Skip to content

[AclOrch] Custom ACL Based Metering#3484

Open
shaygol wants to merge 4 commits intosonic-net:masterfrom
Marvell-switching:PBM
Open

[AclOrch] Custom ACL Based Metering#3484
shaygol wants to merge 4 commits intosonic-net:masterfrom
Marvell-switching:PBM

Conversation

@shaygol
Copy link
Copy Markdown

@shaygol shaygol commented Jan 26, 2025

What I did
Added a mechanism integrating policers with ACL rules to provide granular traffic management.

Why I did it
To allow customers to enforce advanced traffic management policies.

How I verified it

  • Python & C++ unit tests to validate the configuration flow.

Details if related

HLD link: Custom ACL Based Metering

@shaygol shaygol requested a review from prsunny as a code owner January 26, 2025 22:35
@mssonicbld
Copy link
Copy Markdown
Collaborator

/azp run

@linux-foundation-easycla
Copy link
Copy Markdown

linux-foundation-easycla bot commented Jan 26, 2025

CLA Missing ID CLA Not Signed

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@prsunny
Copy link
Copy Markdown
Collaborator

prsunny commented Jan 28, 2025

Please provide the HLD link in PR description

@prsunny
Copy link
Copy Markdown
Collaborator

prsunny commented Jan 30, 2025

@shaygol , could you please rebase?

@mssonicbld
Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@mssonicbld
Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

shaygol and others added 3 commits February 6, 2025 18:13
- New 'AclRule' subclass: 'AclRulePolicer'
- ACL rule table schema update
- Unit Tests
@mssonicbld
Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@mssonicbld
Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).


sai_acl_entry_attr_t action;

const auto it = aclPolicerActionLookup.find(attr_name);
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The validation here might not be necessary,
as the creation of the rule object in makeShared incidentally validates the policer action.

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.

4 participants