跳转到内容
Ask AI

ntp

此内容尚不支持你的语言。

AsterNOS Model for NTP(Network Time Protocol)

module: asternos-ntp
+--rw ntp-global
| +--rw vrf? string
| +--rw source-interface? string
+--rw ntp-servers
+--rw ntp-server* [address]
+--rw address union
rpcs:
+---x show-ntp
+--ro output
+--ro data? <anydata>
PathAccess
/ntp-globalRead-Write
/ntp-global/vrfRead-Write
/ntp-global/source-interfaceRead-Write
/ntp-serversRead-Write
/ntp-servers/ntp-serverRead-Write
/ntp-servers/ntp-server/addressRead-Write

Path

/ntp-global

Node Type

container

Description

Global configuration of ntp

Access

Read-Write

Path

/ntp-global/vrf

Node Type

leaf

Description

NTP can be enabled only in one VRF at a time. In this revision, it is either default VRF or Management VRF.

Access

Read-Write

Data Type

Path

/ntp-global/source-interface

Node Type

leaf

Description

This is the interface whose IP address is used as the source IP address for generating NTP traffic. User is required to make sure that the NTP server is reachable via this IP address and the same IP address is reachable from the NTP server. The source interface should be in the same VRF as the

VRF NTP is enabled in.

Access

Read-Write

Data Type

Path

/ntp-servers

Node Type

container

Access

Read-Write

Path

/ntp-servers/ntp-server

Node Type

list

Description

List of address sets of the ntp server

Access

Read-Write

Path

/ntp-servers/ntp-server/address

Node Type

leaf

Description

NTP server (IPv4, IPv6, or hostname)

Access

Read-Write

Data Type

Constraints

Multiple constraints:

  • An IPv6 address without a zone index. This type, derived from the type ipv6-address, may be used in situations where the zone is known from the context and no zone index is needed.
  • An IPv4 address without a zone index. This type, derived from the type ipv4-address, may be used in situations where the zone is known from the context and no zone index is needed.