Skip to content

Commit f176ab1

Browse files
committed
[airos] updated docs for ntp client and ntp servers
1 parent 62555c7 commit f176ab1

File tree

1 file changed

+24
-4
lines changed

1 file changed

+24
-4
lines changed

docs/source/backends/airos.rst

Lines changed: 24 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -162,15 +162,35 @@ NTP servers
162162

163163
This 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

0 commit comments

Comments
 (0)