diff --git a/changelogs/fragments/288-interface_ethernet_values.yml b/changelogs/fragments/288-interface_ethernet_values.yml new file mode 100644 index 0000000..9a49fb8 --- /dev/null +++ b/changelogs/fragments/288-interface_ethernet_values.yml @@ -0,0 +1,2 @@ +minor_changes: + - api - minor changes ``/interface ethernet`` path fields (https://github.com/ansible-collections/community.routeros/pull/288). \ No newline at end of file diff --git a/plugins/module_utils/_api_data.py b/plugins/module_utils/_api_data.py index fdf5cba..cca6657 100644 --- a/plugins/module_utils/_api_data.py +++ b/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'), },