mirror of
https://github.com/ansible-collections/community.routeros.git
synced 2025-06-21 09:35:45 +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
|
@ -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(
|
||||
unversioned=VersionedAPIData(
|
||||
fully_understood=True,
|
||||
primary_keys=('routing-mark', ),
|
||||
fields={
|
||||
'comment': KeyInfo(can_disable=True, remove_value=''),
|
||||
'disabled': KeyInfo(default=False),
|
||||
'interfaces': KeyInfo(),
|
||||
'routing-mark': KeyInfo(),
|
||||
},
|
||||
),
|
||||
versioned=[
|
||||
('7', '<', VersionedAPIData(
|
||||
fully_understood=True,
|
||||
primary_keys=('routing-mark', ),
|
||||
fields={
|
||||
'comment': KeyInfo(can_disable=True, remove_value=''),
|
||||
'disabled': KeyInfo(default=False),
|
||||
'interfaces': KeyInfo(),
|
||||
'routing-mark': KeyInfo(),
|
||||
},
|
||||
)),
|
||||
],
|
||||
),
|
||||
('ip', 'dhcp-server'): APIData(
|
||||
unversioned=VersionedAPIData(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue