diff --git a/changelogs/fragments/323-add-ros-7.16-parameters.yml b/changelogs/fragments/323-add-ros-7.16-parameters.yml new file mode 100644 index 00000000..a88580db --- /dev/null +++ b/changelogs/fragments/323-add-ros-7.16-parameters.yml @@ -0,0 +1,2 @@ +minor_changes: + - api_info, api_modify - add new parameters from the RouterOS 7.16 release (https://github.com/ansible-collections/community.routeros/pull/323). diff --git a/plugins/module_utils/_api_data.py b/plugins/module_utils/_api_data.py index a7985cf6..847f5b13 100644 --- a/plugins/module_utils/_api_data.py +++ b/plugins/module_utils/_api_data.py @@ -262,6 +262,8 @@ def join_path(path): versioned_fields=[ ([('7.0', '<')], 'ingress-filtering', KeyInfo(default=False)), ([('7.0', '>=')], 'ingress-filtering', KeyInfo(default=True)), + ([('7.16', '>=')], 'forward-reserved-addresses', KeyInfo(default=False)), + ([('7.16', '>=')], 'max-learned-entries', KeyInfo(default='auto')), ], fields={ 'admin-mac': KeyInfo(default=''), @@ -1450,6 +1452,9 @@ def join_path(path): fully_understood=True, versioned_fields=[ ([('7.7', '>=')], 'mode', KeyInfo(default='tx-and-rx')), + ([('7.15', '>=')], 'lldp-mac-phy-config', KeyInfo(default=False)), + ([('7.16', '>=')], 'discover-interval', KeyInfo(default='30s')), + ([('7.16', '>=')], 'lldp-vlan-info', KeyInfo(default=False)), ], fields={ 'discover-interface-list': KeyInfo(), @@ -1462,6 +1467,9 @@ def join_path(path): unversioned=VersionedAPIData( single_value=True, fully_understood=True, + versioned_fields=[ + ([('7.16', '>=')], 'ipv4-multipath-hash-policy', KeyInfo(default='l3')), + ], fields={ 'accept-redirects': KeyInfo(default=False), 'accept-source-route': KeyInfo(default=False), @@ -1498,6 +1506,9 @@ def join_path(path): unversioned=VersionedAPIData( single_value=True, fully_understood=True, + versioned_fields=[ + ([('7.16', '>=')], 'multipath-hash-policy', KeyInfo(default='l3')), + ], fields={ 'accept-redirects': KeyInfo(default='yes-if-forwarding-disabled'), 'accept-router-advertisements': KeyInfo(default='yes-if-forwarding-disabled'), @@ -2807,6 +2818,9 @@ def join_path(path): unversioned=VersionedAPIData( fully_understood=True, primary_keys=('name',), + versioned_fields=[ + ([('7.16', '>=')], 'comment', KeyInfo(can_disable=True, remove_value='')), + ], fields={ 'code': KeyInfo(required=True), 'name': KeyInfo(), @@ -2819,6 +2833,9 @@ def join_path(path): unversioned=VersionedAPIData( fully_understood=True, primary_keys=('name',), + versioned_fields=[ + ([('7.16', '>=')], 'comment', KeyInfo(can_disable=True, remove_value='')), + ], fields={ 'name': KeyInfo(required=True), 'options': KeyInfo(), @@ -2831,6 +2848,7 @@ def join_path(path): fully_understood=True, primary_keys=('name', ), versioned_fields=[ + ([('7.16', '>=')], 'comment', KeyInfo(can_disable=True, remove_value='')), ([('7.16', '>=')], 'matching-type', KeyInfo()), ], fields={ @@ -4458,6 +4476,10 @@ def join_path(path): versioned=[ ('7', '>=', VersionedAPIData( fully_understood=True, + versioned_fields=[ + ([('7.16', '>=')], 'accept-icmp-time-exceeded', KeyInfo(default=False)), + ([('7.16', '>=')], 'ttl', KeyInfo(default=255)), + ], fields={ 'certificate': KeyInfo(), 'check-certificate': KeyInfo(), @@ -5133,6 +5155,9 @@ def join_path(path): fixed_entries=True, primary_keys=('name', ), fully_understood=True, + versioned_fields=[ + ([('7.16', '>=')], 'max-sessions', KeyInfo(default=20)), + ], fields={ 'address': KeyInfo(), 'certificate': KeyInfo(),