mirror of
https://github.com/ansible-collections/community.routeros.git
synced 2025-06-21 09:35:45 +02:00
adding "system ntp *" paths related to ROS7 (#122)
* adding "system ntp *" paths related to ROS7 Signed-off-by: Tomas Herfert <herfik> * changelog Signed-off-by: Tomas Herfert <herfik> * docs Signed-off-by: Tomas Herfert <herfik> * typo Signed-off-by: Tomas Herfert <herfik> * sanity fix Signed-off-by: Tomas Herfert <herfik> * setting the correct defaults Signed-off-by: Tomas Herfert <herfik> * Apply suggestions from code review Co-authored-by: Felix Fontein <felix@fontein.de> * typo Signed-off-by: Tomas Herfert <herfik> Co-authored-by: Tomas Herfert <herfik> Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
parent
c2e58c3ae4
commit
1e36dfa2d0
4 changed files with 39 additions and 0 deletions
|
@ -1487,6 +1487,37 @@ PATHS = {
|
|||
'primary-ntp': KeyInfo(default='0.0.0.0'),
|
||||
'secondary-ntp': KeyInfo(default='0.0.0.0'),
|
||||
'server-dns-names': KeyInfo(default=''),
|
||||
'servers': KeyInfo(default=''),
|
||||
'mode': KeyInfo(default='unicast'),
|
||||
'vrf': KeyInfo(default='main'),
|
||||
},
|
||||
),
|
||||
('system', 'ntp', 'client', 'servers'): APIData(
|
||||
primary_keys=('address', ),
|
||||
fully_understood=True,
|
||||
fields={
|
||||
'comment': KeyInfo(can_disable=True, remove_value=''),
|
||||
'disabled': KeyInfo(default=False),
|
||||
'address': KeyInfo(),
|
||||
'auth-key': KeyInfo(default='none'),
|
||||
'iburst': KeyInfo(default=True),
|
||||
'max-poll': KeyInfo(default=10),
|
||||
'min-poll': KeyInfo(default=6),
|
||||
},
|
||||
),
|
||||
('system', 'ntp', 'server'): APIData(
|
||||
single_value=True,
|
||||
fully_understood=True,
|
||||
fields={
|
||||
'auth-key': KeyInfo(default='none'),
|
||||
'broadcast': KeyInfo(default=False),
|
||||
'broadcast-addresses': KeyInfo(default=''),
|
||||
'enabled': KeyInfo(default=False),
|
||||
'local-clock-stratum': KeyInfo(default=5),
|
||||
'manycast': KeyInfo(default=False),
|
||||
'multicast': KeyInfo(default=False),
|
||||
'use-local-clock': KeyInfo(default=False),
|
||||
'vrf': KeyInfo(default='main'),
|
||||
},
|
||||
),
|
||||
('system', 'package', 'update'): APIData(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue