mirror of
https://github.com/ansible-collections/community.routeros.git
synced 2025-06-21 09:35:45 +02:00
Add new parameters from RouterOS 7.16 release (#323)
* Add new parameters from RouterOS 7.16 release h3. /interface/bridge - `forward-reserved-addresses` with default value `False` - `max-learned-entries` with default value `auto` h3. /ip/neighbor/discovery-settings - `lldp-mac-phy-config` with default value `False` (from Router OS 7.15 release) - `discover-interval` with default value `30s` - `lldp-vlan-info` with default value `False` h3. /ip/settings - `ipv4-multipath-hash-policy` with default value `l3` h3. /ipv6/settings - `multipath-hash-policy` with default value `l3` h3. /ip/dhcp-server/option - `comment` h3. /ip/dhcp-server/option/sets - `comment` h3. /ip/dhcp-server/matcher - `comment` h3. /tool/netwatch - `acccept-icmp-time-exceeded` with default value `False` - `ttl` with defaut value `255` h3. /ip/service - `max-sessions` with default value `20` Add changelog fragment * Update changelogs/fragments/323-add-ros-7.16-parameters.yml Co-authored-by: Felix Fontein <felix@fontein.de> --------- Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
parent
945e4d4d45
commit
b499d9d7d9
2 changed files with 27 additions and 0 deletions
2
changelogs/fragments/323-add-ros-7.16-parameters.yml
Normal file
2
changelogs/fragments/323-add-ros-7.16-parameters.yml
Normal file
|
@ -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).
|
|
@ -262,6 +262,8 @@ PATHS = {
|
||||||
versioned_fields=[
|
versioned_fields=[
|
||||||
([('7.0', '<')], 'ingress-filtering', KeyInfo(default=False)),
|
([('7.0', '<')], 'ingress-filtering', KeyInfo(default=False)),
|
||||||
([('7.0', '>=')], 'ingress-filtering', KeyInfo(default=True)),
|
([('7.0', '>=')], 'ingress-filtering', KeyInfo(default=True)),
|
||||||
|
([('7.16', '>=')], 'forward-reserved-addresses', KeyInfo(default=False)),
|
||||||
|
([('7.16', '>=')], 'max-learned-entries', KeyInfo(default='auto')),
|
||||||
],
|
],
|
||||||
fields={
|
fields={
|
||||||
'admin-mac': KeyInfo(default=''),
|
'admin-mac': KeyInfo(default=''),
|
||||||
|
@ -1450,6 +1452,9 @@ PATHS = {
|
||||||
fully_understood=True,
|
fully_understood=True,
|
||||||
versioned_fields=[
|
versioned_fields=[
|
||||||
([('7.7', '>=')], 'mode', KeyInfo(default='tx-and-rx')),
|
([('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={
|
fields={
|
||||||
'discover-interface-list': KeyInfo(),
|
'discover-interface-list': KeyInfo(),
|
||||||
|
@ -1462,6 +1467,9 @@ PATHS = {
|
||||||
unversioned=VersionedAPIData(
|
unversioned=VersionedAPIData(
|
||||||
single_value=True,
|
single_value=True,
|
||||||
fully_understood=True,
|
fully_understood=True,
|
||||||
|
versioned_fields=[
|
||||||
|
([('7.16', '>=')], 'ipv4-multipath-hash-policy', KeyInfo(default='l3')),
|
||||||
|
],
|
||||||
fields={
|
fields={
|
||||||
'accept-redirects': KeyInfo(default=False),
|
'accept-redirects': KeyInfo(default=False),
|
||||||
'accept-source-route': KeyInfo(default=False),
|
'accept-source-route': KeyInfo(default=False),
|
||||||
|
@ -1498,6 +1506,9 @@ PATHS = {
|
||||||
unversioned=VersionedAPIData(
|
unversioned=VersionedAPIData(
|
||||||
single_value=True,
|
single_value=True,
|
||||||
fully_understood=True,
|
fully_understood=True,
|
||||||
|
versioned_fields=[
|
||||||
|
([('7.16', '>=')], 'multipath-hash-policy', KeyInfo(default='l3')),
|
||||||
|
],
|
||||||
fields={
|
fields={
|
||||||
'accept-redirects': KeyInfo(default='yes-if-forwarding-disabled'),
|
'accept-redirects': KeyInfo(default='yes-if-forwarding-disabled'),
|
||||||
'accept-router-advertisements': KeyInfo(default='yes-if-forwarding-disabled'),
|
'accept-router-advertisements': KeyInfo(default='yes-if-forwarding-disabled'),
|
||||||
|
@ -2807,6 +2818,9 @@ PATHS = {
|
||||||
unversioned=VersionedAPIData(
|
unversioned=VersionedAPIData(
|
||||||
fully_understood=True,
|
fully_understood=True,
|
||||||
primary_keys=('name',),
|
primary_keys=('name',),
|
||||||
|
versioned_fields=[
|
||||||
|
([('7.16', '>=')], 'comment', KeyInfo(can_disable=True, remove_value='')),
|
||||||
|
],
|
||||||
fields={
|
fields={
|
||||||
'code': KeyInfo(required=True),
|
'code': KeyInfo(required=True),
|
||||||
'name': KeyInfo(),
|
'name': KeyInfo(),
|
||||||
|
@ -2819,6 +2833,9 @@ PATHS = {
|
||||||
unversioned=VersionedAPIData(
|
unversioned=VersionedAPIData(
|
||||||
fully_understood=True,
|
fully_understood=True,
|
||||||
primary_keys=('name',),
|
primary_keys=('name',),
|
||||||
|
versioned_fields=[
|
||||||
|
([('7.16', '>=')], 'comment', KeyInfo(can_disable=True, remove_value='')),
|
||||||
|
],
|
||||||
fields={
|
fields={
|
||||||
'name': KeyInfo(required=True),
|
'name': KeyInfo(required=True),
|
||||||
'options': KeyInfo(),
|
'options': KeyInfo(),
|
||||||
|
@ -2831,6 +2848,7 @@ PATHS = {
|
||||||
fully_understood=True,
|
fully_understood=True,
|
||||||
primary_keys=('name', ),
|
primary_keys=('name', ),
|
||||||
versioned_fields=[
|
versioned_fields=[
|
||||||
|
([('7.16', '>=')], 'comment', KeyInfo(can_disable=True, remove_value='')),
|
||||||
([('7.16', '>=')], 'matching-type', KeyInfo()),
|
([('7.16', '>=')], 'matching-type', KeyInfo()),
|
||||||
],
|
],
|
||||||
fields={
|
fields={
|
||||||
|
@ -4458,6 +4476,10 @@ PATHS = {
|
||||||
versioned=[
|
versioned=[
|
||||||
('7', '>=', VersionedAPIData(
|
('7', '>=', VersionedAPIData(
|
||||||
fully_understood=True,
|
fully_understood=True,
|
||||||
|
versioned_fields=[
|
||||||
|
([('7.16', '>=')], 'accept-icmp-time-exceeded', KeyInfo(default=False)),
|
||||||
|
([('7.16', '>=')], 'ttl', KeyInfo(default=255)),
|
||||||
|
],
|
||||||
fields={
|
fields={
|
||||||
'certificate': KeyInfo(),
|
'certificate': KeyInfo(),
|
||||||
'check-certificate': KeyInfo(),
|
'check-certificate': KeyInfo(),
|
||||||
|
@ -5133,6 +5155,9 @@ PATHS = {
|
||||||
fixed_entries=True,
|
fixed_entries=True,
|
||||||
primary_keys=('name', ),
|
primary_keys=('name', ),
|
||||||
fully_understood=True,
|
fully_understood=True,
|
||||||
|
versioned_fields=[
|
||||||
|
([('7.16', '>=')], 'max-sessions', KeyInfo(default=20)),
|
||||||
|
],
|
||||||
fields={
|
fields={
|
||||||
'address': KeyInfo(),
|
'address': KeyInfo(),
|
||||||
'certificate': KeyInfo(),
|
'certificate': KeyInfo(),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue