mirror of
https://github.com/ansible-collections/community.routeros.git
synced 2025-07-09 17:54:40 +02:00
Add RouterOS 6.x support for '/routing filter' path (#279)
* Add RouterOS 6.x support for '/routing filter' path * add changelogs fragments
This commit is contained in:
parent
9d34cca66b
commit
4a078c5913
4 changed files with 71 additions and 0 deletions
2
changelogs/fragments/279-add_routing_filter_path.yml
Normal file
2
changelogs/fragments/279-add_routing_filter_path.yml
Normal file
|
@ -0,0 +1,2 @@
|
|||
minor_changes:
|
||||
- api_info, api_modify - add ``/routing filter`` path for RouterOS 6.x (https://github.com/ansible-collections/community.routeros/pull/279).
|
|
@ -804,6 +804,73 @@ PATHS = {
|
|||
},
|
||||
),
|
||||
),
|
||||
('routing', 'filter'): APIData(
|
||||
versioned=[
|
||||
('7', '<', VersionedAPIData(
|
||||
fully_understood=True,
|
||||
fields={
|
||||
'action': KeyInfo(default='passthrough'),
|
||||
'address-family': KeyInfo(can_disable=True),
|
||||
'append-bgp-communities': KeyInfo(can_disable=True),
|
||||
'append-route-targets': KeyInfo(can_disable=True),
|
||||
'bgp-as-path': KeyInfo(can_disable=True),
|
||||
'bgp-as-path-length': KeyInfo(can_disable=True),
|
||||
'bgp-atomic-aggregate': KeyInfo(can_disable=True),
|
||||
'bgp-communities': KeyInfo(can_disable=True),
|
||||
'bgp-local-pref': KeyInfo(can_disable=True),
|
||||
'bgp-med': KeyInfo(can_disable=True),
|
||||
'bgp-origin': KeyInfo(can_disable=True),
|
||||
'bgp-weight': KeyInfo(can_disable=True),
|
||||
'chain': KeyInfo(required=True),
|
||||
'comment': KeyInfo(can_disable=True, remove_value=''),
|
||||
'disabled': KeyInfo(default=False),
|
||||
'distance': KeyInfo(can_disable=True),
|
||||
'invert-match': KeyInfo(default=False),
|
||||
'jump-target': KeyInfo(),
|
||||
'locally-originated-bgp': KeyInfo(can_disable=True),
|
||||
'match-chain': KeyInfo(can_disable=True),
|
||||
'ospf-type': KeyInfo(can_disable=True),
|
||||
'pref-src': KeyInfo(can_disable=True),
|
||||
'prefix': KeyInfo(default='0.0.0.0/0'),
|
||||
'prefix-length': KeyInfo(can_disable=True),
|
||||
'protocol': KeyInfo(can_disable=True),
|
||||
'route-comment': KeyInfo(can_disable=True),
|
||||
'route-tag': KeyInfo(can_disable=True),
|
||||
'route-targets': KeyInfo(can_disable=True),
|
||||
'routing-mark': KeyInfo(can_disable=True),
|
||||
'scope': KeyInfo(can_disable=True),
|
||||
'set-bgp-communities': KeyInfo(can_disable=True),
|
||||
'set-bgp-local-pref': KeyInfo(can_disable=True),
|
||||
'set-bgp-med': KeyInfo(can_disable=True),
|
||||
'set-bgp-prepend': KeyInfo(can_disable=True),
|
||||
'set-bgp-prepend-path': KeyInfo(),
|
||||
'set-bgp-weight': KeyInfo(can_disable=True),
|
||||
'set-check-gateway': KeyInfo(can_disable=True),
|
||||
'set-disabled': KeyInfo(can_disable=True),
|
||||
'set-distance': KeyInfo(can_disable=True),
|
||||
'set-in-nexthop': KeyInfo(can_disable=True),
|
||||
'set-in-nexthop-direct': KeyInfo(can_disable=True),
|
||||
'set-in-nexthop-ipv6': KeyInfo(can_disable=True),
|
||||
'set-in-nexthop-linklocal': KeyInfo(can_disable=True),
|
||||
'set-out-nexthop': KeyInfo(can_disable=True),
|
||||
'set-out-nexthop-ipv6': KeyInfo(can_disable=True),
|
||||
'set-out-nexthop-linklocal': KeyInfo(can_disable=True),
|
||||
'set-pref-src': KeyInfo(can_disable=True),
|
||||
'set-route-comment': KeyInfo(can_disable=True),
|
||||
'set-route-tag': KeyInfo(can_disable=True),
|
||||
'set-route-targets': KeyInfo(can_disable=True),
|
||||
'set-routing-mark': KeyInfo(can_disable=True),
|
||||
'set-scope': KeyInfo(can_disable=True),
|
||||
'set-site-of-origin': KeyInfo(can_disable=True),
|
||||
'set-target-scope': KeyInfo(can_disable=True),
|
||||
'set-type': KeyInfo(can_disable=True),
|
||||
'set-use-te-nexthop': KeyInfo(can_disable=True),
|
||||
'site-of-origin': KeyInfo(can_disable=True),
|
||||
'target-scope': KeyInfo(can_disable=True),
|
||||
},
|
||||
)),
|
||||
],
|
||||
),
|
||||
('routing', 'filter', 'rule'): APIData(
|
||||
versioned=[
|
||||
('7', '>=', VersionedAPIData(
|
||||
|
|
|
@ -198,6 +198,7 @@ options:
|
|||
- routing bgp network
|
||||
- routing bgp peer
|
||||
- routing bgp template
|
||||
- routing filter
|
||||
- routing filter rule
|
||||
- routing filter select-rule
|
||||
- routing id
|
||||
|
|
|
@ -207,6 +207,7 @@ options:
|
|||
- routing bgp network
|
||||
- routing bgp peer
|
||||
- routing bgp template
|
||||
- routing filter
|
||||
- routing filter rule
|
||||
- routing filter select-rule
|
||||
- routing id
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue