From: Alex Goodkind via pve-devel <pve-devel@lists.proxmox.com>
To: pve-devel@lists.proxmox.com
Cc: Alex Goodkind <alex@goodkind.io>, tarick@bedeir.com
Subject: [pve-devel] [PATCH container 2/2] api: add duid field to container interface schema
Date: Sun, 23 Nov 2025 16:43:02 -0800 [thread overview]
Message-ID: <mailman.3.1763945056.399.pve-devel@lists.proxmox.com> (raw)
In-Reply-To: <20251124004302.498297-1-alex@goodkind.io>
[-- Attachment #1: Type: message/rfc822, Size: 6558 bytes --]
From: Alex Goodkind <alex@goodkind.io>
To: pve-devel@lists.proxmox.com
Cc: tarick@bedeir.com, Alex Goodkind <alex@goodkind.io>
Subject: [PATCH container 2/2] api: add duid field to container interface schema
Date: Sun, 23 Nov 2025 16:43:02 -0800
Message-ID: <20251124004302.498297-3-alex@goodkind.io>
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@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
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
prev parent reply other threads:[~2025-11-24 0:44 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20251124004302.498297-1-alex@goodkind.io>
2025-11-24 0:43 ` [pve-devel] [PATCH container 1/2] lxc: add DHCPv6 DUID retrieval to get_interfaces Alex Goodkind via pve-devel
2025-11-24 0:43 ` Alex Goodkind via pve-devel [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=mailman.3.1763945056.399.pve-devel@lists.proxmox.com \
--to=pve-devel@lists.proxmox.com \
--cc=alex@goodkind.io \
--cc=tarick@bedeir.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.