mirror of
https://github.com/ansible-collections/community.routeros.git
synced 2025-06-20 17:15:46 +02:00
DHCPv6 client: add new options from 7.15+ (#341)
* script * custom-duid * use-interface-duid * validate-server-duid
This commit is contained in:
parent
85d24d180e
commit
575af30d88
2 changed files with 10 additions and 0 deletions
|
@ -0,0 +1,2 @@
|
|||
minor_changes:
|
||||
- api_info, api_modify - add the ``use-interface-duid`` option for ``ipv6 dhcp-client`` path. This option prevents issues with Fritzbox modems and routers, when using virtual interfaces (like VLANs) may create duplicated records in hosts config, this breaks original "expose-host" function. Also add the ``script``, ``custom-duid`` and ``validate-server-duid`` as backport from 7.15 version update (https://github.com/ansible-collections/community.routeros/pull/341).
|
|
@ -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(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue