-
Notifications
You must be signed in to change notification settings - Fork 574
Add fabric port isolation attribute #1498
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
Merged
rlhui
merged 6 commits into
opencomputeproject:master
from
jfeng-arista:add_fabric_port_isolation_api
Sep 19, 2022
Merged
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
27fe9f2
Add fabric port isolation attribute
jfeng-arista 68650d4
Update discription of SAI_PORT_ATTR_FABRIC_ISOLATE
jfeng-arista f5d5e9d
Update description.
jfeng-arista e9e9768
Add condition for fabric port isolation
jfeng-arista 990ce4c
Add condition tag for fabric port isolation
jfeng-arista 6e067bc
remove the condition for fabric port isolation api
jfeng-arista File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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.
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.
can we add something like this in the comment section.
Refer sairouterinterface.h
@condition SAI_PORT_ATTR_TYPE == SAI_PORT_TYPE_FABRIC
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.
Hi,
SAI_PORT_ATTR_TYPE is a read only attribute , and as far as I know that @condition not works for read only attribute. So checking with you again about if we need to make this change ?
thank you
Jie
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.
I tried add the @condition, and the metadata check failed,
it looks like based on the following 3 checks, we can not use @condition check for read only attribute. thank you
SAI/meta/saisanitycheck.c
Line 1284 in f69394f
SAI/meta/saisanitycheck.c
Line 1455 in f69394f
SAI/meta/saisanitycheck.c
Line 1489 in f69394f