-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Minpoll maxpoll doc update #1478
base: master
Are you sure you want to change the base?
Conversation
doc/ntp/ntp-design.md
Outdated
@@ -28,6 +28,7 @@ | |||
| Rev | Date | Author | Description | | |||
|:---:|:----------:|:-----------------:|:----------------| | |||
| 0.1 | 01/02/2023 | Yevhen Fastiuk 🇺🇦 | Initial version | | |||
| 0.1 | 09/18/2023 | Bing Sun | Add NTP server minpoll and maxpoll | |
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.
Bump it to 0.2
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.
Done
doc/ntp/ntp-design.md
Outdated
| minpoll | minimum poll interval | | ||
| maxpoll | maximum poll interval | |
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.
minimum
-> Minimum
maximum
-> Maximum
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.
done
doc/ntp/ntp-design.md
Outdated
@@ -189,6 +193,8 @@ Addresses are classed by type as (s) a remote server or peer (IPv4 class A, B an | |||
| key (ntpd) | none | All packets sent to and received from the server or peer are to include authentication fields encrypted using the specified key identifier with values from 1 to 65535, inclusive. The default is to include no encryption field. | | |||
| version | 4 | Specifies the version number to be used for outgoing NTP packets. Versions 1-4 are the choices, with version 4 the default. | | |||
| iburst | none | When the server is unreachable, send a burst of eight packets instead of the usual one. The packet spacing is normally 2 s; however, the spacing between the first two packets can be changed with the calldelay command to allow additional time for a modem or ISDN call to complete. This is designed to speed the initial synchronization acquisition with the server command and s addresses and when ntpd is started with the -q option. | | |||
| minpoll | 6 | | |
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.
Add some description for minpoll, even it is similar as maxpoll
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.
done.
doc/ntp/ntp-design.md
Outdated
must "(current()/../maxpoll > current())" { | ||
error-message "maxpoll has to be larger than minpoll."; |
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.
Can it be the same?
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.
Yes. They can be the same. Modified the doc.
doc/ntp/ntp-design.md
Outdated
must "(current()/../minpoll < current())" { | ||
error-message "maxpoll has to be larger than minpoll."; |
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.
The same question here
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.
Yes, they can be the same.
Looks good, just a couple of small comments |
@bsun-sudo looks good to me, please address the outstanding comments. |
All comments addressed. |
@bsun-sudo can you please help to add the code PR by referring to #806 ? Thanks. |
@bsun-sudo has this HLD been reviewed in community meeting? I can not find a record on my side. Thanks. |
code PR is not ready, move to backlog for future release |
This update is to add support of per NTP server minpoll and maxpoll configuration.