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

@ -1,2 +1,2 @@
minor_changes: minor_changes:
- api_info, api_modify - add support for the ``ip dhcp-server matcher`` path (https://github.com/ansible-collections/community.routeros/issues/300). - api_info, api_modify - add support for the ``ip dhcp-server matcher`` path (https://github.com/ansible-collections/community.routeros/pull/300).

View file

@ -1,2 +1,2 @@
minor_changes: minor_changes:
- api_info, api_modify - set default for ``force`` in ``ip dhcp-server option`` to an explicit ``false`` (https://github.com/ansible-collections/community.routeros/issues/300). - api_info, api_modify - set default for ``force`` in ``ip dhcp-server option`` to an explicit ``false`` (https://github.com/ansible-collections/community.routeros/pull/300).

View file

@ -0,0 +1,2 @@
minor_changes:
- api_info, api_modify - add support for the ``routing ospf static-neighbor`` path in RouterOS 7 (https://github.com/ansible-collections/community.routeros/pull/302).

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( ('routing', 'ospf-v3', 'instance'): APIData(
unversioned=VersionedAPIData( unversioned=VersionedAPIData(
unknown_mechanism=True, unknown_mechanism=True,

View file

@ -209,6 +209,7 @@ options:
- routing ospf area range - routing ospf area range
- routing ospf instance - routing ospf instance
- routing ospf interface-template - routing ospf interface-template
- routing ospf static-neighbor
- routing pimsm instance - routing pimsm instance
- routing pimsm interface-template - routing pimsm interface-template
- routing rip - routing rip

View file

@ -218,6 +218,7 @@ options:
- routing ospf area range - routing ospf area range
- routing ospf instance - routing ospf instance
- routing ospf interface-template - routing ospf interface-template
- routing ospf static-neighbor
- routing pimsm instance - routing pimsm instance
- routing pimsm interface-template - routing pimsm interface-template
- routing rip - routing rip