--- Begin Message ---
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 <[email protected]>
---
 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



--- End Message ---
_______________________________________________
pve-devel mailing list
[email protected]
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to