mirror of
https://github.com/ansible-collections/community.routeros.git
synced 2025-06-29 13:00:11 +02:00
Support routing id and bgp connection (#220)
* Support "/routing id" https://help.mikrotik.com/docs/pages/viewpage.action?pageId=59965506 * Support "/routing bgp connection" https://help.mikrotik.com/docs/display/ROS/BGP#BGP-ConnectionMenu * Add changelog fragment * Add period. --------- Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
parent
226649ac13
commit
a6979c7f3d
4 changed files with 40 additions and 0 deletions
2
changelogs/fragments/220-routing-id-bgp-connection.yml
Normal file
2
changelogs/fragments/220-routing-id-bgp-connection.yml
Normal file
|
@ -0,0 +1,2 @@
|
|||
minor_changes:
|
||||
- api_modify, api_info - support API paths ``routing id``, ``routing bgp connection`` (https://github.com/ansible-collections/community.routeros/pull/220).
|
|
@ -2888,6 +2888,18 @@ PATHS = {
|
|||
},
|
||||
),
|
||||
),
|
||||
('routing', 'id'): APIData(
|
||||
unversioned=VersionedAPIData(
|
||||
fully_understood=True,
|
||||
fields={
|
||||
'disabled': KeyInfo(default=False),
|
||||
'id': KeyInfo(),
|
||||
'name': KeyInfo(),
|
||||
'select-dynamic-id': KeyInfo(),
|
||||
'select-from-vrf': KeyInfo(),
|
||||
},
|
||||
),
|
||||
),
|
||||
('routing', 'bfd', 'interface'): APIData(
|
||||
unversioned=VersionedAPIData(
|
||||
unknown_mechanism=True,
|
||||
|
@ -3533,6 +3545,28 @@ PATHS = {
|
|||
},
|
||||
),
|
||||
),
|
||||
('routing', 'bgp', 'connection'): APIData(
|
||||
unversioned=VersionedAPIData(
|
||||
fully_understood=True,
|
||||
fields={
|
||||
'as': KeyInfo(),
|
||||
'name': KeyInfo(required=True),
|
||||
'connect': KeyInfo(default=True),
|
||||
'listen': KeyInfo(default=True),
|
||||
'local.address': KeyInfo(),
|
||||
'local.port': KeyInfo(),
|
||||
'local.role': KeyInfo(required=True),
|
||||
'local.ttl': KeyInfo(),
|
||||
'remote.address': KeyInfo(required=True),
|
||||
'remote.port': KeyInfo(),
|
||||
'remote.as': KeyInfo(),
|
||||
'remote.allowed-as': KeyInfo(),
|
||||
'remote.ttl': KeyInfo(),
|
||||
'tcp-md5-key': KeyInfo(),
|
||||
'templates': KeyInfo(),
|
||||
},
|
||||
),
|
||||
),
|
||||
('routing', 'bgp', 'instance'): APIData(
|
||||
unversioned=VersionedAPIData(
|
||||
fixed_entries=True,
|
||||
|
|
|
@ -156,9 +156,11 @@ options:
|
|||
- queue interface
|
||||
- queue tree
|
||||
- radius incoming
|
||||
- routing bgp connection
|
||||
- routing bgp instance
|
||||
- routing filter rule
|
||||
- routing filter select-rule
|
||||
- routing id
|
||||
- routing mme
|
||||
- routing ospf area
|
||||
- routing ospf area range
|
||||
|
|
|
@ -165,9 +165,11 @@ options:
|
|||
- queue interface
|
||||
- queue tree
|
||||
- radius incoming
|
||||
- routing bgp connection
|
||||
- routing bgp instance
|
||||
- routing filter rule
|
||||
- routing filter select-rule
|
||||
- routing id
|
||||
- routing mme
|
||||
- routing ospf area
|
||||
- routing ospf area range
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue