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

Add label attribute for counter #1407

Merged

Conversation

msomasundaran
Copy link
Contributor

Counter does not have any mandatory attribute to identify object uniquely. Adding a label attribute that can be used to uniquely identify object during warmboot scenarios. This is similar to existing label attribute used by LAG and virtual router.
The attribute is considered as user data attached to the object.

Related to:
#1158

Signed-off-by: Midhun Somasundaran msomasundaran@fb.com

Signed-off-by: Midhun Somasundaran <msomasundaran@fb.com>
@msomasundaran msomasundaran marked this pull request as draft February 4, 2022 06:27
@msomasundaran msomasundaran marked this pull request as ready for review February 4, 2022 06:32
@rlhui
Copy link
Collaborator

rlhui commented Feb 18, 2022

Counter does not have any mandatory attribute to identify object uniquely. Adding a label attribute that can be used to uniquely identify object during warmboot scenarios. This is similar to existing label attribute used by LAG and virtual router.
The attribute is considered as user data attached to the object.

Related to:
#1158

Signed-off-by: Midhun Somasundaran msomasundaran@fb.com

@rlhui rlhui merged commit 3f1802a into opencomputeproject:master Feb 18, 2022
shri-khare added a commit to shri-khare/SAI that referenced this pull request Mar 6, 2022
Summary:

This is similar to opencomputeproject#1158 and opencomputeproject#1407.

Those PRs added label attribute for LAG/virtual router and counter. This
PR adds similar label attribute for ACL counter.

ACL counter does not have any mandatory attribute to identify object
uniquely. Adding a label attribute that can be used to uniquely identify
ACL counter object during warmboot. The attribute is considered as user
data attached to the object.

Signed-off-by: Shrikrishna Khare <skhare@fb.com>
rlhui pushed a commit that referenced this pull request Mar 13, 2022
Summary:

This is similar to #1158 and #1407.

Those PRs added label attribute for LAG/virtual router and counter. This
PR adds similar label attribute for ACL counter.

ACL counter does not have any mandatory attribute to identify object
uniquely. Adding a label attribute that can be used to uniquely identify
ACL counter object during warmboot. The attribute is considered as user
data attached to the object.

Signed-off-by: Shrikrishna Khare <skhare@fb.com>
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.

6 participants