ntp
7 min
asternos model for ntp(network time protocol) \<font color="#1d50a2">yang tree diagram\</font> 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> \<font color="#1d50a2">resources\</font> \<font color="#1d50a2">resource list\</font> path access /ntp global read write /ntp global/vrf read write /ntp global/source interface read write /ntp servers read write /ntp servers/ntp server read write /ntp servers/ntp server/address read write \<font color="#1d50a2">detailed nodes\</font> \<font color="#1d50a2">/ntp global\</font> path /ntp global node type container description global configuration of ntp access read write \<font color="#1d50a2">/ntp global/vrf\</font> 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 \<yang type string> \<font color="#1d50a2">/ntp global/source interface\</font> 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 \<yang type string> \<font color="#1d50a2">/ntp servers\</font> path /ntp servers node type container access read write \<font color="#1d50a2">/ntp servers/ntp server\</font> path /ntp servers/ntp server node type list description list of address sets of the ntp server access read write \<font color="#1d50a2">/ntp servers/ntp server/address\</font> path /ntp servers/ntp server/address node type leaf description ntp server (ipv4, ipv6, or hostname) access read write data type \<yang type union> 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
