Skip to content

Commit

Permalink
Add support for the "routing igmp-proxy" path
Browse files Browse the repository at this point in the history
  • Loading branch information
hansmi committed Aug 13, 2024
1 parent 5fb0bf0 commit c02433f
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 0 deletions.
2 changes: 2 additions & 0 deletions changelogs/fragments/309-add-igmp-proxy.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 ``routing igmp-proxy`` path (https://github.com/ansible-collections/community.routeros/pull/309).
24 changes: 24 additions & 0 deletions plugins/module_utils/_api_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -3942,6 +3942,30 @@ def join_path(path):
},
),
),
('routing', 'igmp-proxy'): APIData(
unversioned=VersionedAPIData(
single_value=True,
fully_understood=True,
fields={
'query-interval': KeyInfo(),
'query-response-interval': KeyInfo(),
'quick-leave': KeyInfo(default=False),
},
),
),
('routing', 'igmp-proxy', 'interface'): APIData(
unversioned=VersionedAPIData(
fully_understood=True,
fields={
'alternative-subnets': KeyInfo(),
'comment': KeyInfo(can_disable=True, remove_value=''),
'disabled': KeyInfo(default=False),
'interface': KeyInfo(),
'threshold': KeyInfo(),
'upstream': KeyInfo(default=False),
},
),
),
('routing', 'bfd', 'interface'): APIData(
unversioned=VersionedAPIData(
unknown_mechanism=True,
Expand Down
2 changes: 2 additions & 0 deletions plugins/modules/api_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,8 @@
- routing filter rule
- routing filter select-rule
- routing id
- routing igmp-proxy
- routing igmp-proxy interface
- routing mme
- routing ospf area
- routing ospf area range
Expand Down
2 changes: 2 additions & 0 deletions plugins/modules/api_modify.py
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,8 @@
- routing filter rule
- routing filter select-rule
- routing id
- routing igmp-proxy
- routing igmp-proxy interface
- routing mme
- routing ospf area
- routing ospf area range
Expand Down

0 comments on commit c02433f

Please sign in to comment.