mirror of
https://github.com/ansible-collections/community.routeros.git
synced 2025-06-21 09:35:45 +02:00
api_modify, api_info: support more fields in existing paths (#121)
* Support more paths. * Forgot comma. * Adjust tests. * power-cycle-ping-address and power-cycle-ping-timeout can be unset Co-authored-by: Tomas Herfert <68421396+therfert@users.noreply.github.com> Co-authored-by: Tomas Herfert <68421396+therfert@users.noreply.github.com>
This commit is contained in:
parent
558eb501d2
commit
9fc22be186
3 changed files with 20 additions and 0 deletions
|
@ -113,16 +113,27 @@ PATHS = {
|
|||
'arp-timeout': KeyInfo(default='auto'),
|
||||
'auto-negotiation': KeyInfo(default=True),
|
||||
'bandwidth': KeyInfo(default='unlimited/unlimited'),
|
||||
'combo-mode': KeyInfo(can_disable=True),
|
||||
'comment': KeyInfo(can_disable=True, remove_value=''),
|
||||
'disabled': KeyInfo(default=False),
|
||||
'fec-mode': KeyInfo(can_disable=True),
|
||||
'full-duplex': KeyInfo(default=True),
|
||||
'l2mtu': KeyInfo(default=1598),
|
||||
'loop-protect': KeyInfo(default='default'),
|
||||
'loop-protect-disable-time': KeyInfo(default='5m'),
|
||||
'loop-protect-send-interval': KeyInfo(default='5s'),
|
||||
'mac-address': KeyInfo(),
|
||||
'mdix-enable': KeyInfo(),
|
||||
'mtu': KeyInfo(default=1500),
|
||||
'name': KeyInfo(),
|
||||
'orig-mac-address': KeyInfo(),
|
||||
'poe-out': KeyInfo(can_disable=True),
|
||||
'poe-priority': KeyInfo(can_disable=True),
|
||||
'poe-voltage': KeyInfo(can_disable=True),
|
||||
'power-cycle-interval': KeyInfo(),
|
||||
'power-cycle-ping-address': KeyInfo(can_disable=True),
|
||||
'power-cycle-ping-enabled': KeyInfo(),
|
||||
'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'),
|
||||
|
@ -890,6 +901,7 @@ PATHS = {
|
|||
'dst-port': KeyInfo(can_disable=True),
|
||||
'fragment': KeyInfo(can_disable=True),
|
||||
'hotspot': KeyInfo(can_disable=True),
|
||||
'hw-offload': KeyInfo(can_disable=True),
|
||||
'icmp-options': KeyInfo(can_disable=True),
|
||||
'in-bridge-port': KeyInfo(can_disable=True),
|
||||
'in-bridge-port-list': KeyInfo(can_disable=True),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue