-
Notifications
You must be signed in to change notification settings - Fork 663
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
[SmartSwitch] Extend reboot script for rebooting SmartSwitch #3566
Open
vvolam
wants to merge
24
commits into
sonic-net:master
Choose a base branch
from
vvolam:ss-reboot
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+597
−2
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
vvolam
force-pushed
the
ss-reboot
branch
2 times, most recently
from
October 3, 2024 19:36
460146c
to
c72fbc0
Compare
vvolam
force-pushed
the
ss-reboot
branch
3 times, most recently
from
October 23, 2024 20:33
8746356
to
d6fc624
Compare
gpunathilell
reviewed
Nov 1, 2024
vvolam
changed the title
Extend reboot script for rebooting SmartSwitch
[SmartSwitch] Extend reboot script for rebooting SmartSwitch
Nov 4, 2024
prgeor
reviewed
Nov 5, 2024
prgeor
reviewed
Nov 27, 2024
prgeor
reviewed
Nov 27, 2024
prgeor
reviewed
Nov 27, 2024
1. Move module base functions to utilties_common/module_base.py 2. Use load_platform_chassis from utilities_common/util_base.py 3. Write unit tests accordingly
prgeor
reviewed
Nov 27, 2024
prgeor
reviewed
Nov 27, 2024
For reboot, is it also possible to check the CONFIG_DB entry for the admin state for the DPUs? if the CONFIG_DB entry is missing or set to down, then we do not need to reboot the DPUs at all |
Co-authored-by: Gagan Punathil Ellath <[email protected]>
Co-authored-by: Gagan Punathil Ellath <[email protected]>
Instantiate ModuleHelper() before calling its functions
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
What I did
Extended reboot script for SmartSwitch cases to reboot entire SmartSwitch or a specific DPU
How I did it
Implemented changes according to https://github.com/sonic-net/SONiC/blob/605c3a56ac2717dbbb638433e7bb13054fc05a31/doc/smart-switch/reboot/reboot-hld.md
How to verify it
Previous command output (if the output of a command-line utility has changed)
New command output (if the output of a command-line utility has changed)