Metadata schema specifications for NTP server

Metadata schema specifications for NTP server

Core Properties

Name Type Description
mode7 boolean Enables mode7 for the NTP server.
peers array List of peered NTP stratum services. For details, see: ntp:server:peer definition
remove_dhcp_conf boolean Forcibly remove “/var/lib/ntp/ntp.conf.dhcp” file. WA for issue https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=600661
orphan number Sets the orphan level of the NTP server.
enabled boolean Enables NTP server service.
strata array List of NTP stratums to keep the time in sync. For details, see: ntp:common:strata definition
secrets object Dict with secrets For details, see: ntp:common:secret definition
enabled boolean Enables NTP auth.
restrict array List of subnets that servers gives time to. For details, see: ntp:server:restrict definition
stratum object List of NTP stratums to keep the time in sync. If define used instead of strata For details, see: ntp:common:stratum definition
logfile string NTP log file path.

ntp:common:secret definition

Name Type Description
secret_type string description_notset
secret string description_notset
trustedkey boolean description_notset

ntp:common:interface definition

Name Type Description
action string Determines the action for addresses which match
value string That parameter specifies a class of addresses, or a specific interface name, or an address. In the address case, prefixlen determines how many bits must match for this rule to apply. Ignore prevents opening matching addresses, drop causes ntpd to open the address and drop all received packets without examination.

ntp:common:stratum definition

Name Type Description
key_id integer description_notset
server string description_notset

ntp:server:peer definition

Name Type Description
key_id integer description_notset
host string description_notset

ntp:common:strata definition

Name Type Description
_ntp:common:strata string Hostname or IP address of the stratum server.

ntp:server:restrict definition

Name Type Description
subnet string IP address of the network
mask string Subnet mask of the network
options string Additional options passed to the net [notrap nomodify]