doc/acl: document the PACKET_COLOR_ACTION ACL rule action#2429
Open
AnantKishorSharma wants to merge 1 commit into
Open
doc/acl: document the PACKET_COLOR_ACTION ACL rule action#2429AnantKishorSharma wants to merge 1 commit into
AnantKishorSharma wants to merge 1 commit into
Conversation
Document PACKET_COLOR_ACTION (GREEN/YELLOW/RED) in the ACL High Level Design: it maps to SAI_ACL_ENTRY_ATTR_ACTION_SET_PACKET_COLOR in the generic CONFIG_DB AclOrch pipeline, is capability-gated per ACL stage (ingress and/or egress), and is a no-op on platforms whose SAI does not advertise the action. Companion to sonic-net/sonic-swss#4717. Signed-off-by: Anant Kishor Sharma <anant.kishor-sharma@hpe.com>
Collaborator
|
/azp run |
|
No pipelines are associated with this pull request. |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
Document the
PACKET_COLOR_ACTIONACL rule action in the ACL High Level Design, matching how the existing ACL rule actions (packet_action,mirror_action,inner_src_mac_rewrite_action) are documented.PACKET_COLOR_ACTION(GREEN/YELLOW/RED) maps toSAI_ACL_ENTRY_ATTR_ACTION_SET_PACKET_COLORin the generic CONFIG_DBAclOrchpipeline. It is capability-gated per ACL stage (ingress and/or egress) and is a no-op on platforms whose SAI does not advertise the action.Details
Rev 1.1 -> 1.2+ revision-history rowAclRulePacket, theGREEN/YELLOW/RED->SAI_PACKET_COLOR_*mapping, and the per-stage capability gating (ACL_STAGE_CAPABILITY_TABLE)packet_color_actionCompanion to the implementation in sonic-net/sonic-swss#4717 (YANG model in sonic-net/sonic-buildimage#28151).
Note: this overlaps with the in-flight #2423 (policer HLD) on the revision number and tables; whichever merges first, I'll rebase the other (bump to 1.3).