-
Notifications
You must be signed in to change notification settings - Fork 661
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
Configure NTP according to extended configuration #2835
Conversation
3564598
to
09cc7d1
Compare
09cc7d1
to
da81c66
Compare
Signed-off-by: Yevhen Fastiuk <yfastiuk@nvidia.com>
da81c66
to
94946ac
Compare
Just want to make sure. Should this PR support all new configurations from the HLD, or there will be a separate PR? |
No, the new commands won't be supported by this PR |
could it be that the NTP command now looks different? |
hld [#1296](sonic-net/SONiC#1296) closes [#1254](sonic-net/SONiC#1254) depends-on [#60](sonic-net/sonic-host-services#60), [#781](sonic-net/sonic-swss-common#781), [#2835](sonic-net/sonic-utilities#2835), [#10749](sonic-net/sonic-mgmt#10749) #### Why I did it To cover the next AIs: * Configure NTP global parameters * Add/remove new NTP servers * Change the configuration for NTP servers * Show NTP status * Show NTP configuration ### How I did it * Add YANG model for a new configuration * Extend configuration templates to support new knobs ### Description for the changelog * Add ability to configure NTP global parameters such as authentication, dhcp, admin state * Change the configuration for NTP servers * Add an ability to show NTP configuration #### Link to config_db schema for YANG module changes [NTP configuration](https://github.com/sonic-net/sonic-buildimage/blob/master/src/sonic-yang-models/doc/Configuration.md#ntp-and-syslog-servers)
hld #1219
closes #1171
What I did
Fix NTP CLI according to new extended configuration abilities
How I did it
Additionally configure
association_type
andresolve_as
when adding new NTP servers.How to verify it
show ntp
. It should show you are sync with new servershow ntp
. It should show you are unsyncPrevious 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)
Not changed