File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -162,15 +162,35 @@ NTP servers
162162
163163This is an extension to the `NetJSON ` specification.
164164
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 .
166166
167167.. code-block :: json
168168
169169 {
170170 "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+ }
174194 }
175195
176196 Users
You can’t perform that action at this time.
0 commit comments