mirror of
https://github.com/ansible-collections/community.routeros.git
synced 2025-06-26 19:58:45 +02:00
Add support for "routing table" (#215)
Signed-off-by: Michael Hanselmann <public@hansmi.ch>
This commit is contained in:
parent
2350913075
commit
4d8ebaeb8d
4 changed files with 17 additions and 0 deletions
2
changelogs/fragments/215-add-routing-table.yml
Normal file
2
changelogs/fragments/215-add-routing-table.yml
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
minor_changes:
|
||||||
|
- api_info, api_modify - add support for the ``routing table`` path in RouterOS 7 (https://github.com/ansible-collections/community.routeros/pull/215).
|
|
@ -939,6 +939,19 @@ PATHS = {
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
('routing', 'table'): APIData(
|
||||||
|
versioned=[
|
||||||
|
('7', '>=', VersionedAPIData(
|
||||||
|
fully_understood=True,
|
||||||
|
fields={
|
||||||
|
'name': KeyInfo(required=True),
|
||||||
|
'comment': KeyInfo(can_disable=True, remove_value=''),
|
||||||
|
'disabled': KeyInfo(can_disable=True),
|
||||||
|
'fib': KeyInfo(),
|
||||||
|
},
|
||||||
|
)),
|
||||||
|
],
|
||||||
|
),
|
||||||
('snmp', 'community'): APIData(
|
('snmp', 'community'): APIData(
|
||||||
unversioned=VersionedAPIData(
|
unversioned=VersionedAPIData(
|
||||||
fully_understood=True,
|
fully_understood=True,
|
||||||
|
|
|
@ -163,6 +163,7 @@ options:
|
||||||
- routing pimsm interface-template
|
- routing pimsm interface-template
|
||||||
- routing rip
|
- routing rip
|
||||||
- routing ripng
|
- routing ripng
|
||||||
|
- routing table
|
||||||
- snmp
|
- snmp
|
||||||
- snmp community
|
- snmp community
|
||||||
- system clock
|
- system clock
|
||||||
|
|
|
@ -168,6 +168,7 @@ options:
|
||||||
- routing pimsm interface-template
|
- routing pimsm interface-template
|
||||||
- routing rip
|
- routing rip
|
||||||
- routing ripng
|
- routing ripng
|
||||||
|
- routing table
|
||||||
- snmp
|
- snmp
|
||||||
- snmp community
|
- snmp community
|
||||||
- system clock
|
- system clock
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue