-
Notifications
You must be signed in to change notification settings - Fork 0
157 lines (156 loc) · 6.68 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
module: ietf-ntp
+--rw ntp!
+--rw port? uint16 {ntp-port}?
+--rw refclock-master!
| +--rw master-stratum? ntp-stratum
+--rw authentication
| +--rw auth-enabled? boolean
| +--rw trusted-keys* [key-id]
| | +--rw key-id
| | -> /ntp/authentication/authentication-keys/key-id
| +--rw authentication-keys* [key-id]
| +--rw key-id uint32
| +--rw algorithm? identityref
| +--rw password? ianach:crypt-hash
+--rw access-rules
| +--rw access-rule* [access-mode]
| +--rw access-mode access-modes
| +--rw acl? -> /acl:acls/acl/name
+--ro clock-state
| +--ro system-status
| +--ro clock-state ntp-clock-status
| +--ro clock-stratum ntp-stratum
| +--ro clock-refid union
| +--ro associations-address?
| | -> /ntp/associations/address
| +--ro associations-local-mode?
| | -> /ntp/associations/local-mode
| +--ro associations-isConfigured?
| | -> /ntp/associations/isConfigured
| +--ro nominal-freq decimal64
| +--ro actual-freq decimal64
| +--ro clock-precision uint8
| +--ro clock-offset? decimal64
| +--ro root-delay? decimal64
| +--ro root-dispersion? decimal64
| +--ro reference-time? yang:date-and-time
| +--ro sync-state ntp-sync-state
+--rw unicast-configuration* [address type]
| +--rw address inet:host
| +--rw type unicast-configuration-type
| +--rw authentication
| | +--rw (authentication-type)?
| | +--:(symmetric-key)
| | +--rw key-id? leafref
| +--rw prefer? boolean
| +--rw burst? boolean
| +--rw iburst? boolean
| +--rw source? if:interface-ref
| +--rw minpoll? ntp-minpoll
| +--rw maxpoll? ntp-maxpoll
| +--rw port? uint16 {ntp-port}?
| +--rw version? ntp-version
+--ro associations* [address local-mode isConfigured]
| +--ro address inet:host
| +--ro local-mode association-modes
| +--ro isConfigured boolean
| +--ro stratum? ntp-stratum
| +--ro refid? union
| +--ro authentication?
| | -> /ntp/authentication/authentication-keys/key-id
| +--ro prefer? boolean
| +--ro peer-interface? if:interface-ref
| +--ro minpoll? ntp-minpoll
| +--ro maxpoll? ntp-maxpoll
| +--ro port? uint16 {ntp-port}?
| +--ro version? ntp-version
| +--ro reach? uint8
| +--ro unreach? uint8
| +--ro poll? uint8
| +--ro now? uint32
| +--ro offset? decimal64
| +--ro delay? decimal64
| +--ro dispersion? decimal64
| +--ro originate-time? yang:date-and-time
| +--ro receive-time? yang:date-and-time
| +--ro transmit-time? yang:date-and-time
| +--ro input-time? yang:date-and-time
| +--ro ntp-statistics
| +--ro packet-sent? yang:counter32
| +--ro packet-sent-fail? yang:counter32
| +--ro packet-received? yang:counter32
| +--ro packet-dropped? yang:counter32
+--rw interfaces
| +--rw interface* [name]
| +--rw name if:interface-ref
| +--rw broadcast-server!
| | +--rw ttl? uint8
| | +--rw authentication
| | | +--rw (authentication-type)?
| | | +--:(symmetric-key)
| | | +--rw key-id? leafref
| | +--rw minpoll? ntp-minpoll
| | +--rw maxpoll? ntp-maxpoll
| | +--rw port? uint16 {ntp-port}?
| | +--rw version? ntp-version
| +--rw broadcast-client!
| +--rw multicast-server* [address]
| | +--rw address
| | | rt-types:ip-multicast-group-address
| | +--rw ttl? uint8
| | +--rw authentication
| | | +--rw (authentication-type)?
| | | +--:(symmetric-key)
| | | +--rw key-id? leafref
| | +--rw minpoll? ntp-minpoll
| | +--rw maxpoll? ntp-maxpoll
| | +--rw port? uint16 {ntp-port}?
| | +--rw version? ntp-version
| +--rw multicast-client* [address]
| | +--rw address rt-types:ip-multicast-group-address
| +--rw manycast-server* [address]
| | +--rw address rt-types:ip-multicast-group-address
| +--rw manycast-client* [address]
| +--rw address
| | rt-types:ip-multicast-group-address
| +--rw authentication
| | +--rw (authentication-type)?
| | +--:(symmetric-key)
| | +--rw key-id? leafref
| +--rw ttl? uint8
| +--rw minclock? uint8
| +--rw maxclock? uint8
| +--rw beacon? uint8
| +--rw minpoll? ntp-minpoll
| +--rw maxpoll? ntp-maxpoll
| +--rw port? uint16 {ntp-port}?
| +--rw version? ntp-version
+--ro ntp-statistics
+--ro packet-sent? yang:counter32
+--ro packet-sent-fail? yang:counter32
+--ro packet-received? yang:counter32
+--ro packet-dropped? yang:counter32
grouping authentication-type-param
+-- (authentication-type)?
+--:(symmetric-key)
+-- key-id?
-> /ntp/authentication/authentication-keys/key-id
grouping comman-attributes
+-- minpoll? ntp-minpoll
+-- maxpoll? ntp-maxpoll
+-- port? uint16 {ntp-port}?
+-- version? ntp-version
grouping association-ref
+-- associations-address? -> /ntp/associations/address
+-- associations-local-mode? -> /ntp/associations/local-mode
+-- associations-isConfigured?
-> /ntp/associations/isConfigured
grouping statistics
+-- packet-sent? yang:counter32
+-- packet-sent-fail? yang:counter32
+-- packet-received? yang:counter32
+-- packet-dropped? yang:counter32
grouping authentication-key
+-- key-id? uint32
+-- algorithm? identityref
+-- password? ianach:crypt-hash