HostNtpConfig

HostNtpConfig
HostNtpConfig

Configuration information for the NTP (Network Time Protocol) service.

AllOf
This class requires all of the following:
JSON Example
{
    "_typeName": "string",
    "server": [
        "string"
    ],
    "configFile": [
        "string"
    ]
}
array of string
server
Optional

List of time servers, specified as either IP addresses or fully qualified domain names (FQDNs).

Each entry may optionally specify one or more space separated 'server' ntp.conf command options. Any comments appended to an entry after a '#' will not be retained. To reset any previously configured servers, submit an NtpConfig without the server or configFile property set to method UpdateDateTimeConfig

array of string
configFile
Optional

Content of ntp.conf host configuration file, split by lines for ntpd version 4.2.8.

Comment lines start with comment marker '#' as per ntp.conf are kept. When submitting a new ntp commands to this property via UpdateDateTimeConfig method, any 'restrict' or 'drift' commands will be ignored as the those are set to fixed defaults.