mirror of
https://github.com/ansible-collections/community.routeros.git
synced 2025-06-27 20:18:58 +02:00
Fix default of ingress-filtering for ROS < 7. (#306)
This commit is contained in:
parent
78466d0de4
commit
877c9fa4fe
2 changed files with 10 additions and 2 deletions
2
changelogs/fragments/306-ingress-filtering-ros6.yml
Normal file
2
changelogs/fragments/306-ingress-filtering-ros6.yml
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
bugfixes:
|
||||||
|
- "api_modify, api_info - change the default of ``ingress-filtering`` in paths ``interface bridge`` and ``interface bridge port`` back to ``false`` for RouterOS before version 7 (https://github.com/ansible-collections/community.routeros/pull/305)."
|
|
@ -259,6 +259,10 @@ PATHS = {
|
||||||
unversioned=VersionedAPIData(
|
unversioned=VersionedAPIData(
|
||||||
fully_understood=True,
|
fully_understood=True,
|
||||||
primary_keys=('name', ),
|
primary_keys=('name', ),
|
||||||
|
versioned_fields=[
|
||||||
|
([('7.0', '<')], 'ingress-filtering', KeyInfo(default=False)),
|
||||||
|
([('7.0', '>=')], 'ingress-filtering', KeyInfo(default=True)),
|
||||||
|
],
|
||||||
fields={
|
fields={
|
||||||
'admin-mac': KeyInfo(default=''),
|
'admin-mac': KeyInfo(default=''),
|
||||||
'ageing-time': KeyInfo(default='5m'),
|
'ageing-time': KeyInfo(default='5m'),
|
||||||
|
@ -273,7 +277,6 @@ PATHS = {
|
||||||
'frame-types': KeyInfo(default='admit-all'),
|
'frame-types': KeyInfo(default='admit-all'),
|
||||||
'forward-delay': KeyInfo(default='15s'),
|
'forward-delay': KeyInfo(default='15s'),
|
||||||
'igmp-snooping': KeyInfo(default=False),
|
'igmp-snooping': KeyInfo(default=False),
|
||||||
'ingress-filtering': KeyInfo(default=True),
|
|
||||||
'max-message-age': KeyInfo(default='20s'),
|
'max-message-age': KeyInfo(default='20s'),
|
||||||
'mtu': KeyInfo(default='auto'),
|
'mtu': KeyInfo(default='auto'),
|
||||||
'name': KeyInfo(),
|
'name': KeyInfo(),
|
||||||
|
@ -1310,6 +1313,10 @@ PATHS = {
|
||||||
unversioned=VersionedAPIData(
|
unversioned=VersionedAPIData(
|
||||||
fully_understood=True,
|
fully_understood=True,
|
||||||
primary_keys=('interface', ),
|
primary_keys=('interface', ),
|
||||||
|
versioned_fields=[
|
||||||
|
([('7.0', '<')], 'ingress-filtering', KeyInfo(default=False)),
|
||||||
|
([('7.0', '>=')], 'ingress-filtering', KeyInfo(default=True)),
|
||||||
|
],
|
||||||
fields={
|
fields={
|
||||||
'auto-isolate': KeyInfo(default=False),
|
'auto-isolate': KeyInfo(default=False),
|
||||||
'bpdu-guard': KeyInfo(default=False),
|
'bpdu-guard': KeyInfo(default=False),
|
||||||
|
@ -1322,7 +1329,6 @@ PATHS = {
|
||||||
'frame-types': KeyInfo(default='admit-all'),
|
'frame-types': KeyInfo(default='admit-all'),
|
||||||
'horizon': KeyInfo(default='none'),
|
'horizon': KeyInfo(default='none'),
|
||||||
'hw': KeyInfo(default=True),
|
'hw': KeyInfo(default=True),
|
||||||
'ingress-filtering': KeyInfo(default=True),
|
|
||||||
'interface': KeyInfo(),
|
'interface': KeyInfo(),
|
||||||
'internal-path-cost': KeyInfo(default=10),
|
'internal-path-cost': KeyInfo(default=10),
|
||||||
'learn': KeyInfo(default='auto'),
|
'learn': KeyInfo(default='auto'),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue