-
Notifications
You must be signed in to change notification settings - Fork 527
Support for Next Hop Meta Data #2181
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
base: master
Are you sure you want to change the base?
Support for Next Hop Meta Data #2181
Conversation
please resolve conflicts and add description |
32f39d4
to
dc8c13c
Compare
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
@ashutosh-agrawal - please help review |
inc/saiacl.h
Outdated
* @flags CREATE_ONLY | ||
* @default false | ||
*/ | ||
SAI_ACL_TABLE_ATTR_FIELD_NEXT_HOP_DST_USER_META = SAI_ACL_TABLE_ATTR_FIELD_START + 0x162, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need to include DST in the attribute name? I understand that corresponding neighbor attribute also has DST in the attribute name but port, vlan and acl attributes don't. In my opinion, DST in the attribute name is required for FDB and ROUTE objects only.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @ashutosh-agrawal for the review. Name updated to "SAI_ACL_TABLE_ATTR_FIELD_NEXT_HOP_USER_META"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Conditionally approved with the assumption that attribute name will be changed as discussed in the community meeting.
Signed-off-by: Komal Shah <[email protected]>
dc8c13c
to
fa3ed7a
Compare
Metadata can be assigned in the Next Hop Table and subsequently matched in ACL entries, providing increased flexibility for policy management.