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

@ -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(
unversioned=VersionedAPIData(
single_value=True,