-
Notifications
You must be signed in to change notification settings - Fork 285
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 SAI_OBJECT_TYPE_TUNNEL object to break-before-make list #1075
Merged
Conversation
This file contains 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
yxieca
approved these changes
Jul 5, 2022
kcudnik
approved these changes
Jul 19, 2022
Holding off on this fix until BRCM SAI's fix is ready for VXLAN tunnel creation failure. I have a hunch that this change may not be needed when SAI fix is inlcuded. |
yxieca
pushed a commit
that referenced
this pull request
Jul 28, 2022
SAI_OBJECT_TYPE_TUNNEL has fewer attributes in 201811 than in 202012. These new attributes are CREATE only, and can't be added using just SET oper. Hence old object needs to be removed, and new object needs to be added. Moreover existing sequence (make before break) causes SAI errors in removing VXLAN tunnel (as part of CPA teardown). Adding SAI_OBJECT_TYPE_TUNNEL to break before make to avoid creating a new object before removing existing ones.
qiluo-msft
pushed a commit
that referenced
this pull request
Aug 11, 2022
SAI_OBJECT_TYPE_TUNNEL has fewer attributes in 201811 than in 202012. These new attributes are CREATE only, and can't be added using just SET oper. Hence old object needs to be removed, and new object needs to be added. Moreover existing sequence (make before break) causes SAI errors in removing VXLAN tunnel (as part of CPA teardown). Adding SAI_OBJECT_TYPE_TUNNEL to break before make to avoid creating a new object before removing existing ones.
pettershao-ragilenetworks
pushed a commit
to pettershao-ragilenetworks/sonic-sairedis
that referenced
this pull request
Nov 18, 2022
…t#1075) SAI_OBJECT_TYPE_TUNNEL has fewer attributes in 201811 than in 202012. These new attributes are CREATE only, and can't be added using just SET oper. Hence old object needs to be removed, and new object needs to be added. Moreover existing sequence (make before break) causes SAI errors in removing VXLAN tunnel (as part of CPA teardown). Adding SAI_OBJECT_TYPE_TUNNEL to break before make to avoid creating a new object before removing existing ones.
skbarista
pushed a commit
to skbarista/sonic-sairedis
that referenced
this pull request
Dec 2, 2022
…t#1075) SAI_OBJECT_TYPE_TUNNEL has fewer attributes in 201811 than in 202012. These new attributes are CREATE only, and can't be added using just SET oper. Hence old object needs to be removed, and new object needs to be added. Moreover existing sequence (make before break) causes SAI errors in removing VXLAN tunnel (as part of CPA teardown). Adding SAI_OBJECT_TYPE_TUNNEL to break before make to avoid creating a new object before removing existing ones.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
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.
SAI_OBJECT_TYPE_TUNNEL
has fewer attributes in 201811 than in 202012. These new attributes are CREATE only, and can't be added using just SET oper. Hence old object needs to be removed, and new object needs to be added.Adding
SAI_OBJECT_TYPE_TUNNEL
to break before make to avoid creating a new object before removing existing ones.Moreover existing sequence (make before break) causes SAI errors in removing VXLAN tunnel (as part of CPA teardown).
In 201811:
In 202012:
Fixed issue being hit in CPA teardown without break before make: