mirror of
https://github.com/ansible-collections/community.routeros.git
synced 2025-07-07 08:44:42 +02:00
Support "date", "time" and "gmt-offset" in "system clock" (#210)
These properties are necessary to read and set the time as seen by RouterOS. Signed-off-by: Michael Hanselmann <public@hansmi.ch>
This commit is contained in:
parent
38ac303f93
commit
1ed4690240
2 changed files with 5 additions and 0 deletions
2
changelogs/fragments/210-date-time-gmt-offset.yml
Normal file
2
changelogs/fragments/210-date-time-gmt-offset.yml
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
minor_changes:
|
||||||
|
- api_info, api_modify - add support for ``user``, ``time`` and ``gmt-offset`` under the ``system clock`` path (https://github.com/ansible-collections/community.routeros/pull/210).
|
|
@ -2551,6 +2551,9 @@ PATHS = {
|
||||||
single_value=True,
|
single_value=True,
|
||||||
fully_understood=True,
|
fully_understood=True,
|
||||||
fields={
|
fields={
|
||||||
|
'date': KeyInfo(),
|
||||||
|
'gmt-offset': KeyInfo(),
|
||||||
|
'time': KeyInfo(),
|
||||||
'time-zone-autodetect': KeyInfo(default=True),
|
'time-zone-autodetect': KeyInfo(default=True),
|
||||||
'time-zone-name': KeyInfo(default='manual'),
|
'time-zone-name': KeyInfo(default='manual'),
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue