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

sonic-utilities: CLICK support added to restart certain services after config load #2567

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

saravanan-i
Copy link

Certain features (like NTP,SNMP) requires restarting of the related services after doing config load.

Signed-off-by: Saravanan I saravan@celestica.com

What I did

Certain features (like NTP,SNMP) requires restarting of the related services after doing config load. After doing config load, some of the features (like ntp,snmp) doesn't work. Only after doing explicit restarting of services, this features work. Added the common capability to restart services in background after doing config load.

How I did it

Restart the services (SNMP,NTP) in the background when user executes the config load (click command) when the SNMP/NTP related configuration found in config_db json file. Otherwise those services will not be restarted.

How to verify it

Have NTP,SNMP configurations in a config_db.json file. Load the configuration file using config load CLI. Verify that NTP,SNMP features work seamless without requiring any explicit reload of the related services. - PASS

Which release branch to backport (provide reason below if selected)

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106
  • 202111
  • 202205
  • 202211

* Certain features (like NTP,SNMP) requires restarting of the related services after doing config load.
Added Unit Test cases corresponding to the config load command
* Added the common capability to restart services after doing config load.

Signed-off-by: Saravanan I <saravan@celestica.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant