Skip to content

Commit

Permalink
Add support to disable ipv6 in API paths ipv6 settings (#158)
Browse files Browse the repository at this point in the history
* add support to disable ipv6

* Add changelogs fragment

* Update changelogs/fragments/158-ipv6_settings-disable.yml

Co-authored-by: Felix Fontein <[email protected]>

---------

Co-authored-by: Felix Fontein <[email protected]>
  • Loading branch information
phox142 and felixfontein authored Mar 11, 2023
1 parent 4d86ba1 commit 720debb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions changelogs/fragments/158-ipv6_settings-disable.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
minor_changes:
- api_modify - add support to disable IPv6 in API paths ``ipv6 settings`` (https://github.com/ansible-collections/community.routeros/pull/158).
1 change: 1 addition & 0 deletions plugins/module_utils/_api_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -1086,6 +1086,7 @@ def join_path(path):
fields={
'accept-redirects': KeyInfo(default='yes-if-forwarding-disabled'),
'accept-router-advertisements': KeyInfo(default='yes-if-forwarding-disabled'),
'disable-ipv6': KeyInfo(default=False),
'forward': KeyInfo(default=True),
'max-neighbor-entries': KeyInfo(default=8192),
},
Expand Down

0 comments on commit 720debb

Please sign in to comment.