Add support for "routing table" (#215)

Signed-off-by: Michael Hanselmann <public@hansmi.ch>
This commit is contained in:
hansmi 2023-09-10 21:46:14 +02:00 committed by GitHub
parent 2350913075
commit 4d8ebaeb8d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 17 additions and 0 deletions

View 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).

View file

@ -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,

View file

@ -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

View file

@ -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