DHCPv6 client: add new options from 7.15+ (#341)

* script
* custom-duid
* use-interface-duid
* validate-server-duid
This commit is contained in:
Peter Petrovich 2025-01-26 12:34:43 +01:00 committed by GitHub
parent 85d24d180e
commit 575af30d88
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 10 additions and 0 deletions

View file

@ -3544,6 +3544,14 @@ PATHS = {
'request': KeyInfo(),
'use-peer-dns': KeyInfo(default=True),
},
versioned_fields=[
# Mikrotik does not provide exact version in official changelogs.
# The 7.15 version is the earliest, found option in router config backups:
([('7.15', '>=')], 'script', KeyInfo(default='')),
([('7.15', '>=')], 'custom-duid', KeyInfo(default='')),
([('7.15', '>=')], 'use-interface-duid', KeyInfo(default=False)),
([('7.15', '>=')], 'validate-server-duid', KeyInfo(default=True)),
],
),
),
('ipv6', 'dhcp-server'): APIData(