Skip to content

Commit

Permalink
Support "mode" in IPv4 neighbor discovery configuration
Browse files Browse the repository at this point in the history
RouterOS 7.7 added a `mode` parameter to the IPv4 neighbor discovery
configuration.

Changelog: https://forum.mikrotik.com/viewtopic.php?t=192427

Signed-off-by: Michael Hanselmann <[email protected]>
  • Loading branch information
hansmi committed Aug 16, 2023
1 parent ed2f326 commit 990e0d9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions changelogs/fragments/198-ip-nd-mode.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
minor_changes:
- api_info, api_modify - add support for the ``mode`` property in ``ip neighbor discovery-settings`` introduced in RouterOS 7.7 (https://github.com/ansible-collections/community.routeros/pull/198).
1 change: 1 addition & 0 deletions plugins/module_utils/_api_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -1063,6 +1063,7 @@ def join_path(path):
fields={
'discover-interface-list': KeyInfo(),
'lldp-med-net-policy-vlan': KeyInfo(default='disabled'),
'mode': KeyInfo(default='tx-and-rx'),
'protocol': KeyInfo(default='cdp,lldp,mndp'),
},
),
Expand Down

0 comments on commit 990e0d9

Please sign in to comment.