[PATCH container 2/2] api: add duid field to container interface schema
Alex Goodkind
alex at goodkind.io
Mon Nov 24 01:43:02 CET 2025
Add optional 'duid' field to the interface object schema in the
container interface query API. This field contains the DHCPv6
DUID value in hexadecimal format with colons.
Signed-off-by: Alex Goodkind <alex at goodkind.io>
---
src/PVE/API2/LXC.pm | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/src/PVE/API2/LXC.pm b/src/PVE/API2/LXC.pm
index 3d74f71..280f9c9 100644
--- a/src/PVE/API2/LXC.pm
+++ b/src/PVE/API2/LXC.pm
@@ -2970,6 +2970,11 @@ __PACKAGE__->register_method({
description => 'The MAC address of the interface',
optional => 0,
},
+ duid => {
+ type => 'string',
+ description => 'DHCPv6 DUID (DHCP Unique Identifier) value in hex format with colons',
+ optional => 1,
+ },
# TODO: deprecate on next major release
inet => {
type => 'string',
--
2.43.0
More information about the pve-devel
mailing list