Add support for the "ipv6 nd prefix" path (#303)

Upstream documentation:
https://help.mikrotik.com/docs/display/ROS/IPv6+Neighbor+Discovery#IPv6NeighborDiscovery-Prefix
This commit is contained in:
hansmi 2024-08-01 17:06:02 +02:00 committed by GitHub
parent ba806c0593
commit 64ee613a0d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 20 additions and 0 deletions

View file

@ -0,0 +1,2 @@
minor_changes:
- api_info, api_modify - add support for the ``ipv6 nd prefix`` path (https://github.com/ansible-collections/community.routeros/pull/303).

View file

@ -3697,6 +3697,22 @@ PATHS = {
}, },
), ),
), ),
('ipv6', 'nd', 'prefix'): APIData(
unversioned=VersionedAPIData(
fully_understood=True,
fields={
'6to4-interface': KeyInfo(default='none'),
'autonomous': KeyInfo(),
'comment': KeyInfo(can_disable=True, remove_value=''),
'disabled': KeyInfo(default=False),
'interface': KeyInfo(required=True),
'on-link': KeyInfo(default=True),
'preferred-lifetime': KeyInfo(),
'prefix': KeyInfo(),
'valid-lifetime': KeyInfo(),
},
),
),
('ipv6', 'nd', 'prefix', 'default'): APIData( ('ipv6', 'nd', 'prefix', 'default'): APIData(
unversioned=VersionedAPIData( unversioned=VersionedAPIData(
single_value=True, single_value=True,

View file

@ -174,6 +174,7 @@ options:
- ipv6 firewall nat - ipv6 firewall nat
- ipv6 firewall raw - ipv6 firewall raw
- ipv6 nd - ipv6 nd
- ipv6 nd prefix
- ipv6 nd prefix default - ipv6 nd prefix default
- ipv6 route - ipv6 route
- ipv6 settings - ipv6 settings

View file

@ -183,6 +183,7 @@ options:
- ipv6 firewall nat - ipv6 firewall nat
- ipv6 firewall raw - ipv6 firewall raw
- ipv6 nd - ipv6 nd
- ipv6 nd prefix
- ipv6 nd prefix default - ipv6 nd prefix default
- ipv6 route - ipv6 route
- ipv6 settings - ipv6 settings