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:
Andrei Costescu 2023-10-07 14:38:37 +02:00 committed by GitHub
parent 226649ac13
commit a6979c7f3d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 40 additions and 0 deletions

View file

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