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



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

Reply via email to