Add HLD for Reboot support BlockingMode in SONiC#2016
Add HLD for Reboot support BlockingMode in SONiC#2016Blueve merged 9 commits intosonic-net:masterfrom
Conversation
|
/azp run |
|
No pipelines are associated with this pull request. |
|
/azp run |
|
No pipelines are associated with this pull request. |
|
/azp run |
|
No pipelines are associated with this pull request. |
|
/azp run |
|
No pipelines are associated with this pull request. |
|
/azp run |
|
No pipelines are associated with this pull request. |
|
/azp run |
|
/azp run |
|
No pipelines are associated with this pull request. |
|
/azp run |
|
No pipelines are associated with this pull request. |
|
Do we have code PRs for the changes proposed in this HLD? Can you add them to the PR description. |
|
note: CONFIG_DB could be helpful in ZTP scenario and user might not want to touch file system --- from Brad |
|
Jing (MSFT) : The conf is mainly for clarifying the default behavior of reboot script. gnoi scenario:The gnoi API need to be well defined. It is not good to rely on config_db to define its behavior as it will create more confusion and complexity. e.g. I would prefer the style 1 which is clearer to me ztp scenario:If ZTP been used, then CLI reboot is not supposed to be used as normal operation approach. |
What I did Add blocking-mode for the reboot script. How I did it sonic-net/SONiC#2016 How to verify it Local test and introduce test case for reboot script Previous command output (if the output of a command-line utility has changed) reboot New command output (if the output of a command-line utility has changed) reboot [-b]
What I did Add blocking-mode for the reboot script. How I did it sonic-net/SONiC#2016 How to verify it Local test and introduce test case for reboot script Previous command output (if the output of a command-line utility has changed) reboot New command output (if the output of a command-line utility has changed) reboot [-b]
We are trying to introduce blocking mode for reboot script, which currently is in non-blocking mode. This will make automation system easier to identify whether the reboot operation is success. Signed-off-by: Eddie Ruan <eddie.ruan@alibaba-inc.com>
We are trying to introduce blocking mode for reboot script, which currently is in non-blocking mode. This will make automation system easier to identify whether the reboot operation is success.
Code and test PRs:
Add BlockingMode for Reboot script by lityu · Pull Request #3958 · sonic-net/sonic-utilities
Add test plan for reboot blocking mode by lityu · Pull Request #19600 · sonic-net/sonic-mgmt