Add minpoll/maxpoll for ntp client - #1601
Conversation
New infix-system augment of the ietf-system NTP server list, written to the generated chronyd sources. Defaults match the daemon (6/10). Signed-off-by: Mattias Walström <lazzer@gmail.com>
Replace BusyBox ntpd in the netns server helper with chronyd, serving local stratum 5 with an honest root distance, and fail loudly if it cannot start. Wait for srv2 to converge on srv1 before configuring the client, and use 16 s polls to cut worst-case runtime. Signed-off-by: Mattias Walström <lazzer@gmail.com>
53600a3 to
9084e18
Compare
troglobit
left a comment
There was a problem hiding this comment.
Simply adopting the Chrony naming somehow feels wrong. Can't put my finger on it but I was sort of expecting a CLI syntax more like:
set poll min A max B
We also need to gate these settings to client mode with a must or when expression.
It is already limited to client since it is in ietf-system. |
And changing from maxpoll/minpoll diverge from how ietf-ntp implements it: |
|
Ah, ietf-system, I missed that tiny detail, thanks! And if the standard model has minpoll/maxpoll that's fine too, always better to optimize for consistency over perfection. |
Also make the local timeserver more robust, changing from busybox ntpd to chronyd.
This for now only effects one test: client_stratum_selection
Description
Checklist
Tick relevant boxes, this PR is-a or has-a: