-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[syncd] partial warm recovery support (#352)
* [syncd] delay creating diag shell to after switch is created Signed-off-by: Ying Xie <[email protected]> * [syncd] provide default SAI warmboot data file in case not specified Signed-off-by: Ying Xie <[email protected]> * [syncd] move performWarmRestart to sycnd_hard_reinit.cpp - Move function to get access to static local variables. - Improve the function according to the new SAI interaction requirements. - Remove 'TODO' and exception since the code is now working. Signed-off-by: Ying Xie <[email protected]> * [syncd] restore previously changed warm boot condition Signed-off-by: Ying Xie <[email protected]> * [syncd script] refactor syncd init script - move start type setting in a helper function Signed-off-by: Ying Xie <[email protected]> * [syncd script] check and set warm start type WARM start takes precedence over fast start. Because fast boot option is a kernel command line option. This option will always be there after a fast reboot. Signed-off-by: Ying Xie <[email protected]> * [syncd] comment out warm start option calculation for now redis-cli is not available in syncd docker. Some work/discussion/decision is required if we want to continue start option. Signed-off-by: Ying Xie <[email protected]> * [syncd] take warm boot hint from database directly Signed-off-by: Ying Xie <[email protected]>
- Loading branch information
Showing
4 changed files
with
137 additions
and
89 deletions.
There are no files selected for viewing
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
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
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
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