Skip to content

[generic-config-updater] Add NTP validator #2212

Merged
wen587 merged 2 commits intosonic-net:masterfrom
wen587:ntp
Jun 15, 2022
Merged

[generic-config-updater] Add NTP validator #2212
wen587 merged 2 commits intosonic-net:masterfrom
wen587:ntp

Conversation

@wen587
Copy link
Contributor

@wen587 wen587 commented Jun 13, 2022

What I did

When GCU config NTP_SERVER table, its change is not actually taken info effect. Because NTP service is not restarted. So I add NTP service validator and restart service when NTP_SERVER is changed.

How I did it

When NTP_SERVER table being configured through GCU, the ntp service will restart.

How to verify it

Run GCU E2E test for NTP_SERVER table.

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)

@wen587 wen587 merged commit a50eca0 into sonic-net:master Jun 15, 2022
yxieca pushed a commit that referenced this pull request Jun 17, 2022
What I did
When GCU config NTP_SERVER table, its change is not actually taken info effect. Because NTP service is not restarted. So I add NTP service validator and restart service when NTP_SERVER is changed.

How I did it
When NTP_SERVER table being configured through GCU, the ntp service will restart.

How to verify it
Run GCU E2E test for NTP_SERVER table.
@wen587 wen587 deleted the ntp branch February 28, 2023 05:10
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.

3 participants