mirror of
https://github.com/ansible-collections/community.routeros.git
synced 2025-06-23 02:08:47 +02:00
Add support for ip route and ip route vrf (#123)
* Add support for ip route and ip route vrf * Changelog
This commit is contained in:
parent
1e36dfa2d0
commit
558eb501d2
4 changed files with 32 additions and 0 deletions
|
@ -298,6 +298,31 @@ PATHS = {
|
|||
'ranges': KeyInfo(),
|
||||
},
|
||||
),
|
||||
('ip', 'route'): APIData(
|
||||
fully_understood=True,
|
||||
fields={
|
||||
'check-gateway': KeyInfo(can_disable=True),
|
||||
'comment': KeyInfo(can_disable=True, remove_value=''),
|
||||
'disabled': KeyInfo(default=False),
|
||||
'distance': KeyInfo(),
|
||||
'dst-address': KeyInfo(),
|
||||
'gateway': KeyInfo(required=True),
|
||||
'route-tag': KeyInfo(can_disable=True),
|
||||
'routing-mark': KeyInfo(can_disable=True),
|
||||
'scope': KeyInfo(),
|
||||
'target-scope': KeyInfo(),
|
||||
},
|
||||
),
|
||||
('ip', 'route', 'vrf'): APIData(
|
||||
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(
|
||||
fully_understood=True,
|
||||
primary_keys=('name', ),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue