File tree Expand file tree Collapse file tree 1 file changed +24
-4
lines changed Expand file tree Collapse file tree 1 file changed +24
-4
lines changed Original file line number Diff line number Diff line change @@ -162,15 +162,35 @@ NTP servers
162
162
163
163
This is an extension to the `NetJSON ` specification.
164
164
165
- By setting the key ``ntp_servers `` in your input you can provide a list of ntp servers to use .
165
+ By setting the key ``ntp `` property in your input you can provide the configuration for the ntp client running on the device .
166
166
167
167
.. code-block :: json
168
168
169
169
{
170
170
"type" : " DeviceConfiguration" ,
171
- "ntp_servers" : [
172
- " 0.ubnt.pool.ntp.org"
173
- ]
171
+ "ntp" : {
172
+ "enabled" : true ,
173
+ "server" : [
174
+ " 0.ubnt.pool.ntp.org"
175
+ ]
176
+ }
177
+ }
178
+
179
+ For the lazy one we provide these defaults
180
+
181
+ .. code-block :: json
182
+
183
+ {
184
+ "type" : " DeviceConfiguration" ,
185
+ "ntp" : {
186
+ "enabled" : true ,
187
+ "server" : [
188
+ " 0.pool.ntp.org" ,
189
+ " 1.pool.ntp.org" ,
190
+ " 2.pool.ntp.org" ,
191
+ " 3.pool.ntp.org"
192
+ ]
193
+ }
174
194
}
175
195
176
196
Users
You can’t perform that action at this time.
0 commit comments