-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
add minpoll&maxpoll for NTP server in sonic-ntp.yang #16310
base: master
Are you sure you want to change the base?
Conversation
@wen587 |
Hi, the issue looks the same as YANG backlink issue. It is missing def test_find_ref_paths__path_is_table__returns_ref_paths(self): E First list contains 3 additional elements. |
It seems caused by another PR which involve the vlan import. I created revert PR for this issue: #16322 |
"NTP_SERVER_LIST": [ | ||
{ | ||
"server_address": "10.11.12.13", | ||
"maxpoll": "5" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's the difference between this test case and the one above?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, never mind, I see that since the default minpoll is 6, this returns an error.
@bsun-sudo can you please help to fix the build failure? Thanks. |
Why I did it
Add minpoll and maxpoll for NTP server in sonic-ntp.yang
PR for NTP HLD update is sonic-net/SONiC#1478
How I did it
Add minpoll and maxpoll for NTP server in sonic-ntp.yang. Added additional test cases in ntp.json and sample_config_db.json
How to verify it
Successfully built
sonic_yang_mgmt-1.0-py3-none-any.whl
sonic_yang_models-1.0-py3-none-any.whl