summaryrefslogtreecommitdiffstats
path: root/ansible_collections/community/routeros/plugins/module_utils
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-26 06:22:20 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-26 06:22:20 +0000
commit18bd2207b6c1977e99a93673a7be099e23f0f547 (patch)
tree40fd9e5913462a88be6ba24be6953383c5b39874 /ansible_collections/community/routeros/plugins/module_utils
parentReleasing progress-linux version 10.0.1+dfsg-1~progress7.99u1. (diff)
downloadansible-18bd2207b6c1977e99a93673a7be099e23f0f547.tar.xz
ansible-18bd2207b6c1977e99a93673a7be099e23f0f547.zip
Merging upstream version 10.1.0+dfsg.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'ansible_collections/community/routeros/plugins/module_utils')
-rw-r--r--ansible_collections/community/routeros/plugins/module_utils/_api_data.py31
1 files changed, 26 insertions, 5 deletions
diff --git a/ansible_collections/community/routeros/plugins/module_utils/_api_data.py b/ansible_collections/community/routeros/plugins/module_utils/_api_data.py
index fdf5cba58..0883a2f55 100644
--- a/ansible_collections/community/routeros/plugins/module_utils/_api_data.py
+++ b/ansible_collections/community/routeros/plugins/module_utils/_api_data.py
@@ -327,9 +327,9 @@ PATHS = {
'combo-mode': KeyInfo(can_disable=True),
'comment': KeyInfo(can_disable=True, remove_value=''),
'disabled': KeyInfo(default=False),
- 'fec-mode': KeyInfo(can_disable=True),
+ 'fec-mode': KeyInfo(can_disable=True, remove_value='auto'),
'full-duplex': KeyInfo(default=True),
- 'l2mtu': KeyInfo(default=1598),
+ 'l2mtu': KeyInfo(),
'loop-protect': KeyInfo(default='default'),
'loop-protect-disable-time': KeyInfo(default='5m'),
'loop-protect-send-interval': KeyInfo(default='5s'),
@@ -338,8 +338,8 @@ PATHS = {
'mtu': KeyInfo(default=1500),
'name': KeyInfo(),
'orig-mac-address': KeyInfo(),
- 'poe-out': KeyInfo(can_disable=True),
- 'poe-priority': KeyInfo(can_disable=True),
+ 'poe-out': KeyInfo(can_disable=True, remove_value='auto-on'),
+ 'poe-priority': KeyInfo(can_disable=True, remove_value=10),
'poe-voltage': KeyInfo(can_disable=True),
'power-cycle-interval': KeyInfo(),
'power-cycle-ping-address': KeyInfo(can_disable=True),
@@ -347,7 +347,7 @@ PATHS = {
'power-cycle-ping-timeout': KeyInfo(can_disable=True),
'rx-flow-control': KeyInfo(default='off'),
'sfp-rate-select': KeyInfo(default='high'),
- 'sfp-shutdown-temperature': KeyInfo(default='95C'),
+ 'sfp-shutdown-temperature': KeyInfo(default=95),
'speed': KeyInfo(),
'tx-flow-control': KeyInfo(default='off'),
},
@@ -4600,6 +4600,27 @@ PATHS = {
},
),
),
+ ('ppp', 'secret'): APIData(
+ unversioned=VersionedAPIData(
+ fully_understood=True,
+ primary_keys=('name', ),
+ fields={
+ 'caller-id': KeyInfo(default=''),
+ 'disabled': KeyInfo(default=False),
+ 'ipv6-routes': KeyInfo(default=''),
+ 'limit-bytes-in': KeyInfo(default=0),
+ 'limit-bytes-out': KeyInfo(default=0),
+ 'local-address': KeyInfo(can_disable=True),
+ 'name': KeyInfo(required=True),
+ 'password': KeyInfo(),
+ 'profile': KeyInfo(default='default'),
+ 'remote-address': KeyInfo(can_disable=True),
+ 'remote-ipv6-prefix': KeyInfo(can_disable=True),
+ 'routes': KeyInfo(can_disable=True),
+ 'service': KeyInfo(default='any'),
+ },
+ ),
+ ),
('routing', 'bgp', 'aggregate'): APIData(
unversioned=VersionedAPIData(
primary_keys=('prefix',),