[NTP] Update tests for new NTP configuration#10749
[NTP] Update tests for new NTP configuration#10749liat-grozovik merged 1 commit intosonic-net:masterfrom
Conversation
|
The pre-commit check detected issues in the files touched by this pull request. Detailed pre-commit check results: To run the pre-commit checks locally, you can follow below steps:
|
8995440 to
62a9799
Compare
62a9799 to
3508c31
Compare
|
Looks like there's a failure because of the changes? |
3508c31 to
a0ba19d
Compare
a0ba19d to
355f557
Compare
My bad, I missed the fact that |
|
@saiarcot895 updated |
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)
Description of PR
Summary:
Fixes #1254
Type of change
Back port request
Approach
What is the motivation for this PR?
To alignt the tests for new NTP configuration
How did you do it?
Add a new test and left the old one as backward compatibility
How did you verify/test it?
By running it on the switch