-
Notifications
You must be signed in to change notification settings - Fork 201
Module graceful shutdown support #567
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
Open
rameshraghupathy
wants to merge
77
commits into
sonic-net:master
Choose a base branch
from
rameshraghupathy:graceful-shutdown
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.
Open
Changes from 6 commits
Commits
Show all changes
77 commits
Select commit
Hold shift + click to select a range
0409850
Added pre_shutdown_hook() function to module_base.py
rameshraghupathy 69fc737
Modified based on the Redis based IPC
rameshraghupathy 52fed94
Did some cleanup
rameshraghupathy 13ccb54
Modified set_admin_state API to handle DPU Graceful Shutdown
rameshraghupathy f80d453
Draft version. Need to test again
rameshraghupathy 075f9fe
Merge branch 'master' into graceful-shutdown
rameshraghupathy 5c76c4f
Merge branch 'sonic-net:master' into graceful-shutdown
rameshraghupathy 954d205
refactored based on the revised HLD
rameshraghupathy dda9062
refactored based on the revised HLD
rameshraghupathy f736e7b
Fixing ut
rameshraghupathy 9dd80f6
Fixing ut
rameshraghupathy 9b59745
Fixing ut
rameshraghupathy 44b44f7
Fixing ut
rameshraghupathy 6ad3a4c
Improving coverage
rameshraghupathy d2c5010
Improving coverage
rameshraghupathy b53413c
Improving coverage
rameshraghupathy d64f1c8
Improving coverage
rameshraghupathy f75f7e2
Refactored for graceful shutdown
rameshraghupathy 24c5eaa
Refactored for graceful shutdown, fixing UT
rameshraghupathy 3d3c431
Refactored for graceful shutdown, fixing UT
rameshraghupathy 337baa1
Refactored for graceful shutdown, fixing UT
rameshraghupathy f2302e8
Refactored for graceful shutdown, fixing UT
rameshraghupathy 71668a8
Refactored for graceful shutdown, fixing UT - Final round of tweaks
rameshraghupathy dd3e462
Refactored for graceful shutdown, fixing UT - Final round of tweaks
rameshraghupathy 6ea46bc
Refactored for graceful shutdown, fixing UT - Final round of tweaks
rameshraghupathy 2b99de1
Refactored for graceful shutdown, fixing UT - Final round of tweaks
rameshraghupathy 6f1e7a2
Refactored for graceful shutdown, fixing UT - Final round of tweaks
rameshraghupathy 0cdc5eb
Refactored for graceful shutdown, fixing UT - Final round of tweaks
rameshraghupathy 258a1e3
Refactored for graceful shutdown, fixing UT - Final round of tweaks
rameshraghupathy bf55d0c
Remove SMARTSWITCH build flag across platforms
rameshraghupathy 4ffa284
Made the timeout logic common
rameshraghupathy c6e7c20
working on coverage
rameshraghupathy 194010b
restoring pci and sensor related tests
rameshraghupathy 14333dc
fixing an indent issue
rameshraghupathy 0e4d7ca
Addressed PR comments
rameshraghupathy c80fa7c
Addressed PR comments
rameshraghupathy 35c92f2
Addressed PR comments
rameshraghupathy 5211b46
Did a minor cleanup
rameshraghupathy ec98ff3
Did some clean up to address the review comments
rameshraghupathy 273ac84
Did some clean up to address the review comments
rameshraghupathy 38e93ba
Did some clean up to address the review comments
rameshraghupathy 2be697b
Did some clean up to address the review comments
rameshraghupathy d9208ab
Addressed review comments and included transition in progress check i…
rameshraghupathy 0a8610e
Fixing test failure
rameshraghupathy a4464a5
Fixing test failure
rameshraghupathy 97835fd
Fixing test failure
rameshraghupathy 1eb15ce
Fixing test failure
rameshraghupathy 46ed271
Addressed review comments related to refactoring
rameshraghupathy f72c96d
Fixing test failures
rameshraghupathy 0197e54
Fixing test failures
rameshraghupathy ae65492
Addressed review comments related to refactoring
rameshraghupathy 937658f
Merge branch 'master' into graceful-shutdown
rameshraghupathy 5973578
Did some cleanup of the comments
rameshraghupathy e9485bf
Did some cleanup based on review comments
rameshraghupathy 7cb3872
Fixed test failure
rameshraghupathy 82a983f
Addressing review comments
rameshraghupathy fc9c331
Addressing review comments
rameshraghupathy 22fdade
Fix graceful shutdown implementation and clean up whitespace
rameshraghupathy c479203
Revert unrelated sonic_xcvr changes
rameshraghupathy fe70485
Aligning tests with the changes in module_base.py
rameshraghupathy 05f786f
fixed whitespace
rameshraghupathy 545457d
fixed test issues
rameshraghupathy 8009ca7
fixed test issues
rameshraghupathy 55a4c6d
fixed test issues
rameshraghupathy 1c862cd
fixed test issues
rameshraghupathy 897562f
fixed test issues
rameshraghupathy 6c8a306
fixed test issues
rameshraghupathy d2dd8c8
Revert "Revert unrelated sonic_xcvr changes"
rameshraghupathy 2f8e72d
Update tests/module_base_test.py
rameshraghupathy ee58019
t rebase --abort
rameshraghupathy 3e1dd0a
Addressing review comments
rameshraghupathy 61a091b
Fixing test failures
rameshraghupathy 3c09b88
Update sonic_platform_base/module_base.py
rameshraghupathy da94d73
Update sonic_platform_base/module_base.py
rameshraghupathy 41f05ce
Update sonic_platform_base/module_base.py
rameshraghupathy 6e0e7cb
Merge branch 'sonic-net:master' into graceful-shutdown
rameshraghupathy ab9680e
Addressing review comments
rameshraghupathy 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
Some comments aren't visible on the classic Files Changed page.
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
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
Oops, something went wrong.
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.
How is this supposed to work?
superhere will callset_admin_stateof the base class, not of the derived one.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.
In the refactored implementation the platform will graceful_shutdown_handler()