State

Leafs

Enum Classes

class System.Ntp.Servers.Server.State

Bases: Entity

Class Hierarchy: System Ntp Servers Server State

This class represents state data.

Operational state data for an NTP server.

address

The address or hostname of the NTP server

type: union of the below types:

type: str

pattern: ^(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])$

type: str

pattern: ^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))$

type: str

pattern: ((([a-zA-Z0-9_]([a-zA-Z0-9\-_]){0,61})?[a-zA-Z0-9]\.)*([a-zA-Z0-9_]([a-zA-Z0-9\-_]){0,61})?[a-zA-Z0-9]\.?)|\.

config: False

port

The port number of the NTP server

type: int

range: 0..65535

config: False

default value: 123

version

Version number to put in outgoing NTP packets

type: int

range: 1..4

config: False

default value: 4

association_type

The desired association type for this NTP server

type: AssociationType

config: False

default value: SERVER

iburst

Indicates whether this server should enable burst synchronization or not

type: bool

config: False

default value: false

prefer

Indicates whether this server should be preferred or not

type: bool

config: False

default value: false

stratum

Indicates the level of the server in the NTP hierarchy. As stratum number increases, the accuracy is degraded. Primary servers are stratum while a maximum value of 16 indicates unsynchronized. The values have the following specific semantics: | 0 | unspecified or invalid | 1 | primary server (e.g., equipped with a GPS receiver) | 2-15 | secondary server (via NTP) | 16 | unsynchronized | 17-255 | reserved

type: int

range: 0..255

config: False

root_delay

The round-trip delay to the server, in milliseconds

type: int

range: 0..4294967295

config: False

units: milliseconds

root_dispersion

Dispersion (epsilon) represents the maximum error inherent in the measurement

type: int

range: 0..18446744073709551615

config: False

units: milliseconds

offset

Estimate of the current time offset from the peer. This is the time difference between the local and reference clock

type: int

range: 0..18446744073709551615

config: False

units: milliseconds

poll_interval

Polling interval of the peer

type: int

range: 0..4294967295

config: False

units: seconds