mirror of
https://github.com/ansible-collections/community.routeros.git
synced 2025-06-28 20:40:24 +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,8 +727,23 @@ 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(
|
||||
unversioned=VersionedAPIData(
|
||||
versioned=[
|
||||
('7', '<', VersionedAPIData(
|
||||
fully_understood=True,
|
||||
primary_keys=('routing-mark', ),
|
||||
fields={
|
||||
|
@ -737,7 +752,8 @@ PATHS = {
|
|||
'interfaces': KeyInfo(),
|
||||
'routing-mark': KeyInfo(),
|
||||
},
|
||||
),
|
||||
)),
|
||||
],
|
||||
),
|
||||
('ip', 'dhcp-server'): APIData(
|
||||
unversioned=VersionedAPIData(
|
||||
|
|
|
@ -147,6 +147,7 @@ options:
|
|||
- ip traffic-flow target
|
||||
- ip upnp
|
||||
- ip upnp interfaces
|
||||
- ip vrf
|
||||
- ipv6 address
|
||||
- ipv6 dhcp-client
|
||||
- ipv6 dhcp-server
|
||||
|
|
|
@ -156,6 +156,7 @@ options:
|
|||
- ip traffic-flow target
|
||||
- ip upnp
|
||||
- ip upnp interfaces
|
||||
- ip vrf
|
||||
- ipv6 address
|
||||
- ipv6 dhcp-client
|
||||
- ipv6 dhcp-server
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue