diff --git a/changelogs/fragments/309-add-igmp-proxy.yml b/changelogs/fragments/309-add-igmp-proxy.yml new file mode 100644 index 00000000..540310a8 --- /dev/null +++ b/changelogs/fragments/309-add-igmp-proxy.yml @@ -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). diff --git a/plugins/module_utils/_api_data.py b/plugins/module_utils/_api_data.py index 478cd2e5..ba7ff2de 100644 --- a/plugins/module_utils/_api_data.py +++ b/plugins/module_utils/_api_data.py @@ -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, diff --git a/plugins/modules/api_info.py b/plugins/modules/api_info.py index 24fd8fed..7110cdeb 100644 --- a/plugins/modules/api_info.py +++ b/plugins/modules/api_info.py @@ -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 diff --git a/plugins/modules/api_modify.py b/plugins/modules/api_modify.py index a2a2c102..e3525524 100644 --- a/plugins/modules/api_modify.py +++ b/plugins/modules/api_modify.py @@ -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