Add support for the "routing ospf static-neighbor" path (#302)

Upstream documentation:
https://help.mikrotik.com/docs/display/ROS/OSPF#OSPF-StaticNeighbourconfiguration

Signed-off-by: Michael Hanselmann <public@hansmi.ch>
This commit is contained in:
hansmi 2024-08-01 16:40:16 +02:00 committed by GitHub
parent 8c62d46198
commit ba806c0593
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 21 additions and 2 deletions

View file

@ -956,6 +956,21 @@ PATHS = {
},
),
),
('routing', 'ospf', 'static-neighbor'): APIData(
versioned=[
('7', '>=', VersionedAPIData(
fully_understood=True,
fields={
'address': KeyInfo(required=True),
'area': KeyInfo(required=True),
'comment': KeyInfo(can_disable=True, remove_value=''),
'disabled': KeyInfo(default=False),
'instance-id': KeyInfo(default=0),
'poll-interval': KeyInfo(default='2m'),
},
)),
],
),
('routing', 'ospf-v3', 'instance'): APIData(
unversioned=VersionedAPIData(
unknown_mechanism=True,