mirror of
https://github.com/ansible-collections/community.routeros.git
synced 2025-06-23 02:08:47 +02:00
Fix some bugs and adapt RouterOS v.7.12 changes (#234)
* Fix some bugs and adapt RouterOS v.7.12 changes /ip traffic-flow target: make it a multiple value (single_value=False) field /routing id: add comment attribute /tool e-mail: add versioning to the parameters as "address" was renamed to "server" in 7.12 /routing bgp connection: add missing attributes * Add changelog fragment * Fix duplicate key 'output.network' * Split up the changelog fragment --------- Co-authored-by: Johannes Münch <git@washiza.eu>
This commit is contained in:
parent
479f3106bf
commit
92c6226394
2 changed files with 76 additions and 15 deletions
|
@ -2390,7 +2390,7 @@ PATHS = {
|
|||
),
|
||||
('ip', 'traffic-flow', 'target'): APIData(
|
||||
unversioned=VersionedAPIData(
|
||||
single_value=True,
|
||||
single_value=False,
|
||||
fully_understood=True,
|
||||
fields={
|
||||
'address': KeyInfo(),
|
||||
|
@ -2892,6 +2892,7 @@ PATHS = {
|
|||
unversioned=VersionedAPIData(
|
||||
fully_understood=True,
|
||||
fields={
|
||||
'comment': KeyInfo(can_disable=True, remove_value=''),
|
||||
'disabled': KeyInfo(default=False),
|
||||
'id': KeyInfo(),
|
||||
'name': KeyInfo(),
|
||||
|
@ -3180,19 +3181,36 @@ PATHS = {
|
|||
),
|
||||
),
|
||||
('tool', 'e-mail'): APIData(
|
||||
unversioned=VersionedAPIData(
|
||||
single_value=True,
|
||||
fully_understood=True,
|
||||
fields={
|
||||
'address': KeyInfo(default='0.0.0.0'),
|
||||
'from': KeyInfo(default='<>'),
|
||||
'password': KeyInfo(default=''),
|
||||
'port': KeyInfo(default=25),
|
||||
'start-tls': KeyInfo(default=False),
|
||||
'tls': KeyInfo(default=False),
|
||||
'user': KeyInfo(default=''),
|
||||
},
|
||||
),
|
||||
versioned=[
|
||||
('7.12', '>=', VersionedAPIData(
|
||||
single_value=True,
|
||||
fully_understood=True,
|
||||
fields={
|
||||
'from': KeyInfo(default='<>'),
|
||||
'password': KeyInfo(default=''),
|
||||
'port': KeyInfo(default=25),
|
||||
'server': KeyInfo(default='0.0.0.0'),
|
||||
'start-tls': KeyInfo(default=False),
|
||||
'tls': KeyInfo(default=False),
|
||||
'user': KeyInfo(default=''),
|
||||
'vfr': KeyInfo(default=''),
|
||||
},
|
||||
)),
|
||||
('7.12', '<', VersionedAPIData(
|
||||
single_value=True,
|
||||
fully_understood=True,
|
||||
fields={
|
||||
'address': KeyInfo(default='0.0.0.0'),
|
||||
'from': KeyInfo(default='<>'),
|
||||
'password': KeyInfo(default=''),
|
||||
'port': KeyInfo(default=25),
|
||||
'start-tls': KeyInfo(default=False),
|
||||
'tls': KeyInfo(default=False),
|
||||
'user': KeyInfo(default=''),
|
||||
'vfr': KeyInfo(default=''),
|
||||
},
|
||||
)),
|
||||
],
|
||||
),
|
||||
('tool', 'graphing'): APIData(
|
||||
unversioned=VersionedAPIData(
|
||||
|
@ -3552,20 +3570,58 @@ PATHS = {
|
|||
fully_understood=True,
|
||||
fields={
|
||||
'as': KeyInfo(),
|
||||
'name': KeyInfo(required=True),
|
||||
'add-path-out': KeyInfo(),
|
||||
'address-families': KeyInfo(),
|
||||
'cisco-vpls-nlri-len-fmt': KeyInfo(),
|
||||
'cluster-id': KeyInfo(),
|
||||
'comment': KeyInfo(),
|
||||
'connect': KeyInfo(default=True),
|
||||
'disabled': KeyInfo(),
|
||||
'hold-time': KeyInfo(),
|
||||
'input.accept-communities': KeyInfo(),
|
||||
'input.accept-ext-communities': KeyInfo(),
|
||||
'input.accept-large-communities': KeyInfo(),
|
||||
'input.accpet-nlri': KeyInfo(),
|
||||
'input.accept-unknown': KeyInfo(),
|
||||
'input.affinity': KeyInfo(),
|
||||
'input.allow-as': KeyInfo(),
|
||||
'input.filter': KeyInfo(),
|
||||
'input.ignore-as-path-len': KeyInfo(),
|
||||
'input.limit-process-routes-ipv4': KeyInfo(),
|
||||
'input.limit-process-routes-ipv6': KeyInfo(),
|
||||
'keepalive-time': KeyInfo(),
|
||||
'listen': KeyInfo(default=True),
|
||||
'local.address': KeyInfo(),
|
||||
'local.port': KeyInfo(),
|
||||
'local.role': KeyInfo(required=True),
|
||||
'local.ttl': KeyInfo(),
|
||||
'multihop': KeyInfo(),
|
||||
'name': KeyInfo(required=True),
|
||||
'nexthop-choice': KeyInfo(),
|
||||
'output.affinity': KeyInfo(),
|
||||
'output.as-override': KeyInfo(),
|
||||
'output.default-originate': KeyInfo(),
|
||||
'output.default-prepend': KeyInfo(),
|
||||
'output.filter-chain': KeyInfo(),
|
||||
'output.filter-select': KeyInfo(),
|
||||
'output.keep-sent-attributes': KeyInfo(),
|
||||
'output.network': KeyInfo(),
|
||||
'output.no-client-to-client-reflection': KeyInfo(),
|
||||
'output.no-early-cut': KeyInfo(),
|
||||
'output.redistribute': KeyInfo(),
|
||||
'output.remote-private-as': KeyInfo(),
|
||||
'remote.address': KeyInfo(required=True),
|
||||
'remote.port': KeyInfo(),
|
||||
'remote.as': KeyInfo(),
|
||||
'remote.allowed-as': KeyInfo(),
|
||||
'remote.ttl': KeyInfo(),
|
||||
'router-id': KeyInfo(),
|
||||
'routing-table': KeyInfo(),
|
||||
'save-to': KeyInfo(),
|
||||
'tcp-md5-key': KeyInfo(),
|
||||
'templates': KeyInfo(),
|
||||
'use-bfd': KeyInfo(),
|
||||
'vrf': KeyInfo(),
|
||||
},
|
||||
),
|
||||
),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue