mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
use client id for IPv6 DHCP host definition
Originally, only a host name was used to associate a DHCPv6 request with a specific IPv6 address. Further testing demonstrates that this is an unreliable method and, instead, a client-id or DUID needs to be used. According to DHCPv6 standards, this id can be a duid-LLT, duid-LL, or duid-UUID even though dnsmasq will accept almost any text string. Although validity checking of a specified string makes sure it is hexadecimal notation with bytes separated by colons, there is no rigorous check to make sure it meets the standard. Documentation and schemas have been updated. Signed-off-by: Gene Czarcinski <gene@czarc.net> Signed-off-by: Laine Stump <laine@laine.org>
This commit is contained in:
committed by
Laine Stump
parent
8e3c1f2ebb
commit
0b73a763f3
@@ -280,7 +280,10 @@
|
||||
<element name="host">
|
||||
<choice>
|
||||
<group>
|
||||
<attribute name="mac"><ref name="uniMacAddr"/></attribute>
|
||||
<choice>
|
||||
<attribute name="mac"><ref name="uniMacAddr"/></attribute>
|
||||
<attribute name="id"><ref name="DUID"/></attribute>
|
||||
</choice>
|
||||
<optional>
|
||||
<attribute name="name"><text/></attribute>
|
||||
</optional>
|
||||
|
||||
Reference in New Issue
Block a user