mirror of
https://github.com/ansible-collections/community.routeros.git
synced 2025-06-29 21:04:34 +02:00
Add RouterOS 6.x support for '/ip route rule' path (#278)
* Add RouterOS 6.x support for '/ip route rule' path * add changelogs fragments
This commit is contained in:
parent
018125ddfa
commit
9d34cca66b
4 changed files with 21 additions and 0 deletions
2
changelogs/fragments/278-add_ip_route_rule_path.yml
Normal file
2
changelogs/fragments/278-add_ip_route_rule_path.yml
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
minor_changes:
|
||||||
|
- api_info, api_modify - add ``/ip route rule`` path for RouterOS 6.x (https://github.com/ansible-collections/community.routeros/pull/278).
|
|
@ -729,6 +729,23 @@ PATHS = {
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
('ip', 'route', 'rule'): APIData(
|
||||||
|
versioned=[
|
||||||
|
('7', '<', VersionedAPIData(
|
||||||
|
fully_understood=True,
|
||||||
|
fields={
|
||||||
|
'action': KeyInfo(default='lookup'),
|
||||||
|
'comment': KeyInfo(can_disable=True, remove_value=''),
|
||||||
|
'disabled': KeyInfo(default=False),
|
||||||
|
'dst-address': KeyInfo(can_disable=True),
|
||||||
|
'interface': KeyInfo(can_disable=True),
|
||||||
|
'routing-mark': KeyInfo(can_disable=True),
|
||||||
|
'src-address': KeyInfo(can_disable=True),
|
||||||
|
'table': KeyInfo(default='main'),
|
||||||
|
},
|
||||||
|
)),
|
||||||
|
],
|
||||||
|
),
|
||||||
('ip', 'vrf'): APIData(
|
('ip', 'vrf'): APIData(
|
||||||
versioned=[
|
versioned=[
|
||||||
('7', '>=', VersionedAPIData(
|
('7', '>=', VersionedAPIData(
|
||||||
|
|
|
@ -149,6 +149,7 @@ options:
|
||||||
- ip pool
|
- ip pool
|
||||||
- ip proxy
|
- ip proxy
|
||||||
- ip route
|
- ip route
|
||||||
|
- ip route rule
|
||||||
- ip route vrf
|
- ip route vrf
|
||||||
- ip service
|
- ip service
|
||||||
- ip settings
|
- ip settings
|
||||||
|
|
|
@ -158,6 +158,7 @@ options:
|
||||||
- ip pool
|
- ip pool
|
||||||
- ip proxy
|
- ip proxy
|
||||||
- ip route
|
- ip route
|
||||||
|
- ip route rule
|
||||||
- ip route vrf
|
- ip route vrf
|
||||||
- ip service
|
- ip service
|
||||||
- ip settings
|
- ip settings
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue