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

Enable SAI_SWITCH_ATTR_UNINIT_DATA_PLANE_ON_REMOVAL attribute #9419

Merged
merged 3 commits into from
Feb 1, 2022

Conversation

tbgowda
Copy link
Contributor

@tbgowda tbgowda commented Dec 1, 2021

Pass fast reboot option to syncd so that SAI_SWITCH_ATTR_UNINIT_DATA_PLANE_ON_REMOVAL gets triggered

Signed-off-by: Thushar Gowda [email protected]

Why I did it

Fixes #8980 partly.

The corresponding changes in sonic-sairedis is here :
sonic-net/sonic-sairedis#975

How I did it

Include changes from both repos and build an image for verification.

How to verify it

Trigger fast-reboot with the changes, see the attribute SAI_SWITCH_ATTR_UNINIT_DATA_PLANE_ON_REMOVAL being set at the SAI level.

Which release branch to backport (provide reason below if selected)

Ideally it is preferred we back port to all branches where fast-reboot is supported. However, 202012 seems like a critical release train.

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106

Description for the changelog

Enable SAI_SWITCH_ATTR_UNINIT_DATA_PLANE_ON_REMOVAL in case of fast-reboot

Pass fast reboot option to syncd so that SAI_SWITCH_ATTR_UNINIT_DATA_PLANE_ON_REMOVAL gets triggered

Signed-off-by: Thushar Gowda <[email protected]>
@tbgowda tbgowda requested a review from lguohan as a code owner December 1, 2021 22:49
@sachinv-msft
Copy link

@yxieca can this now be merged?

@yxieca
Copy link
Contributor

yxieca commented Feb 1, 2022

@tbgowda please create an PR to move sairedis submodule head.

@yxieca yxieca merged commit 4e32f85 into sonic-net:master Feb 1, 2022
@tbgowda tbgowda mentioned this pull request Feb 6, 2022
5 tasks
@tbgowda
Copy link
Contributor Author

tbgowda commented Feb 6, 2022

@yxieca , here is the PR to move sairedis submodule : #9924

qiluo-msft pushed a commit that referenced this pull request Feb 8, 2022
Why I did it
Fixes #8980 partly.

The corresponding changes in sonic-sairedis is here :
sonic-net/sonic-sairedis#975

How I did it
Include changes from both repos and build an image for verification.

How to verify it
Trigger fast-reboot with the changes, see the attribute SAI_SWITCH_ATTR_UNINIT_DATA_PLANE_ON_REMOVAL being set at the SAI level.

Signed-off-by: Thushar Gowda <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Question regarding SAI_SWITCH_ATTR_UNINIT_DATA_PLANE_ON_REMOVAL
4 participants