public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [pve-devel] [PATCH container 0/2] Add DHCPv6 DUID support to container interface query
@ 2025-11-24  0:43 Alex Goodkind via pve-devel
  0 siblings, 0 replies; only message in thread
From: Alex Goodkind via pve-devel @ 2025-11-24  0:43 UTC (permalink / raw)
  To: pve-devel; +Cc: Alex Goodkind, tarick

[-- Attachment #1: Type: message/rfc822, Size: 6732 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 0/2] Add DHCPv6 DUID support to container interface query
Date: Sun, 23 Nov 2025 16:43:00 -0800
Message-ID: <20251124004302.498297-1-alex@goodkind.io>

This patch series adds DHCPv6 DUID (DHCP Unique Identifier) support
to the container interface query API. The implementation retrieves the
DUID via networkctl and formats it according to RFC 8415 with the
appropriate type prefix.

The first patch extends the get_interfaces function to query networkctl
for DUID information and parse it into the proper format. The second
patch updates the API schema to include the duid field in the response.

This allows users to see the DHCPv6 DUID assigned to each
container network interface, which is necessary for setting up
static DHCPv6 leases programmatically and useful for network
management and debugging DHCPv6 configurations.

Note: When applying these patches, please preserve my email address
<alex@goodkind.io> in the Author field for proper attribution.
Previously, when I sent patches via the mailing list, the Author field
was rewritten to "Alex Goodkind via pve-devel <pve-devel@lists.proxmox.com>",
which prevented GitHub from correctly attributing the commits to my
account. Thank you!

Alex Goodkind (2):
  lxc: add DHCPv6 DUID retrieval to get_interfaces
  api: add duid field to container interface schema

 src/PVE/API2/LXC.pm |  5 ++++
 src/PVE/LXC.pm      | 72 +++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 77 insertions(+)

-- 
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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2025-11-24  0:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-11-24  0:43 [pve-devel] [PATCH container 0/2] Add DHCPv6 DUID support to container interface query Alex Goodkind via pve-devel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal