mirror of
https://github.com/xcat2/xcat-core.git
synced 2026-11-26 12:22:15 +00:00
9e234189ef
makedhcp reversed the first three fields of vpd.uuid to build the DUID-UUID, and the OpenEmbedded Genesis image reported product_uuid in the opposite order to the legacy image. Kea matched neither reservation, so an IPv6 node took a pool address with no bootfile-url. vpd.uuid holds the sixteen octets in the order the client sends them. kvm.pm swaps the first three SMBIOS fields to build the libvirt <uuid>, dodiscovery and doxcat swap product_uuid before they report or send it, and both DHCP backends on master use the column as the DUID payload unchanged. On xcat76-cn the firmware sent 00:04 followed by that column verbatim. kea_duid_from_uuid now colonises vpd.uuid and prefixes 00:04, and genesis-discover reports the DMI uuid in the same order as its legacy sibling. The s390x and device-tree paths read their uuid elsewhere and are untouched. Five assertions in dhcp_kea_plugin_intent.t and the genesis-discover assertion in genesis_openembedded_discovery.bats fail without this change. Signed-off-by: Daniel Hilst <392820+dhilst@users.noreply.github.com>