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

Change fast-reboot script to use swss and radv service script #1036

Merged
merged 2 commits into from
Aug 14, 2020

Conversation

vaibhavhd
Copy link
Contributor

- What I did
Special handling is needed for services during fast, warm and cold reboot paths. This procedural handling is better suited in the respective service scripts to:

  1. keep fast-reboot script simpler 2) avoid code duplication.

Call swss and radv service scripts to do special handling of reboot process behavior.

This PR should be merged only after service scripts changes are merged in following PRs:
RADV - sonic-net/sonic-buildimage#5108
SWSS - sonic-net/sonic-buildimage#5070

- How I did it
Created and modified service scripts to handle reboot procedure depending on the type. Fast-reboot script now simply calls these service scripts.
- How to verify it
Tested service scripts independently.
Tested Fast, warm and cold reboot procedures are tested.

- 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)

yxieca
yxieca previously approved these changes Aug 11, 2020
Copy link
Contributor

@yxieca yxieca left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please also add "stopped" events. Thanks!

@lguohan
Copy link
Contributor

lguohan commented Aug 12, 2020

retest this please

@vaibhavhd vaibhavhd merged commit 37f131e into sonic-net:master Aug 14, 2020
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.

4 participants