mirror of
https://github.com/ansible-collections/community.routeros.git
synced 2025-06-29 21:04:34 +02:00
Change ip vrf for router OS v7 (#259)
* Update api_info.py * Update api_modify.py * Update _api_data.py * Update _api_data.py * Update _api_data.py * Update api_info.py * Update api_modify.py * Update api_info.py * Update api_modify.py * Create 259-add-routeros7-support-for-ip-vrf.yml * Update changelogs/fragments/259-add-routeros7-support-for-ip-vrf.yml Co-authored-by: Felix Fontein <felix@fontein.de> --------- Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
parent
6f7abfa8bc
commit
10fbc564a7
4 changed files with 30 additions and 10 deletions
|
@ -0,0 +1,2 @@
|
||||||
|
minor_changes:
|
||||||
|
- api_modify, api_info - add support for the ``ip vrf`` path in RouterOS 7 (https://github.com/ansible-collections/community.routeros/pull/259)
|
|
@ -727,17 +727,33 @@ PATHS = {
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
('ip', 'vrf'): APIData(
|
||||||
|
versioned=[
|
||||||
|
('7', '>=', VersionedAPIData(
|
||||||
|
fully_understood=True,
|
||||||
|
primary_keys=('name', ),
|
||||||
|
fields={
|
||||||
|
'comment': KeyInfo(can_disable=True, remove_value=''),
|
||||||
|
'disabled': KeyInfo(default=False),
|
||||||
|
'interfaces': KeyInfo(),
|
||||||
|
'name': KeyInfo(),
|
||||||
|
},
|
||||||
|
)),
|
||||||
|
]
|
||||||
|
),
|
||||||
('ip', 'route', 'vrf'): APIData(
|
('ip', 'route', 'vrf'): APIData(
|
||||||
unversioned=VersionedAPIData(
|
versioned=[
|
||||||
fully_understood=True,
|
('7', '<', VersionedAPIData(
|
||||||
primary_keys=('routing-mark', ),
|
fully_understood=True,
|
||||||
fields={
|
primary_keys=('routing-mark', ),
|
||||||
'comment': KeyInfo(can_disable=True, remove_value=''),
|
fields={
|
||||||
'disabled': KeyInfo(default=False),
|
'comment': KeyInfo(can_disable=True, remove_value=''),
|
||||||
'interfaces': KeyInfo(),
|
'disabled': KeyInfo(default=False),
|
||||||
'routing-mark': KeyInfo(),
|
'interfaces': KeyInfo(),
|
||||||
},
|
'routing-mark': KeyInfo(),
|
||||||
),
|
},
|
||||||
|
)),
|
||||||
|
],
|
||||||
),
|
),
|
||||||
('ip', 'dhcp-server'): APIData(
|
('ip', 'dhcp-server'): APIData(
|
||||||
unversioned=VersionedAPIData(
|
unversioned=VersionedAPIData(
|
||||||
|
|
|
@ -147,6 +147,7 @@ options:
|
||||||
- ip traffic-flow target
|
- ip traffic-flow target
|
||||||
- ip upnp
|
- ip upnp
|
||||||
- ip upnp interfaces
|
- ip upnp interfaces
|
||||||
|
- ip vrf
|
||||||
- ipv6 address
|
- ipv6 address
|
||||||
- ipv6 dhcp-client
|
- ipv6 dhcp-client
|
||||||
- ipv6 dhcp-server
|
- ipv6 dhcp-server
|
||||||
|
|
|
@ -156,6 +156,7 @@ options:
|
||||||
- ip traffic-flow target
|
- ip traffic-flow target
|
||||||
- ip upnp
|
- ip upnp
|
||||||
- ip upnp interfaces
|
- ip upnp interfaces
|
||||||
|
- ip vrf
|
||||||
- ipv6 address
|
- ipv6 address
|
||||||
- ipv6 dhcp-client
|
- ipv6 dhcp-client
|
||||||
- ipv6 dhcp-server
|
- ipv6 dhcp-server
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue