From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) by lore.proxmox.com (Postfix) with ESMTPS id 7413B1FF15E for ; Mon, 24 Nov 2025 01:44:11 +0100 (CET) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 7734E14DC4; Mon, 24 Nov 2025 01:44:17 +0100 (CET) To: pve-devel@lists.proxmox.com Date: Sun, 23 Nov 2025 16:43:00 -0800 MIME-Version: 1.0 Message-ID: List-Id: Proxmox VE development discussion List-Post: From: Alex Goodkind via pve-devel Precedence: list Cc: Alex Goodkind , tarick@bedeir.com X-Mailman-Version: 2.1.29 X-BeenThere: pve-devel@lists.proxmox.com List-Subscribe: , List-Unsubscribe: , List-Archive: Reply-To: Proxmox VE development discussion List-Help: Subject: [pve-devel] [PATCH container 0/2] Add DHCPv6 DUID support to container interface query Content-Type: multipart/mixed; boundary="===============2325599815219826721==" Errors-To: pve-devel-bounces@lists.proxmox.com Sender: "pve-devel" --===============2325599815219826721== Content-Type: message/rfc822 Content-Disposition: inline Return-Path: X-Original-To: pve-devel@lists.proxmox.com Delivered-To: pve-devel@lists.proxmox.com Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by lists.proxmox.com (Postfix) with ESMTPS id 7E2D4D04AB for ; Mon, 24 Nov 2025 01:44:16 +0100 (CET) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 4B67114D48 for ; Mon, 24 Nov 2025 01:43:46 +0100 (CET) Received: from mail-pg1-x52f.google.com (mail-pg1-x52f.google.com [IPv6:2607:f8b0:4864:20::52f]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by firstgate.proxmox.com (Proxmox) with ESMTPS for ; Mon, 24 Nov 2025 01:43:44 +0100 (CET) Received: by mail-pg1-x52f.google.com with SMTP id 41be03b00d2f7-bc59a785697so3326704a12.0 for ; Sun, 23 Nov 2025 16:43:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=goodkind.io; s=google; t=1763945018; x=1764549818; darn=lists.proxmox.com; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=ydH18Sv1FcR648vnepue9WyffLIje0Vy+cNr07TsAp0=; b=Kz4P46M+4EV/Y0RUWo2+WU0g3MaGEscX284rJ8m0eXkiq4y3WFEAwbYCg3s5cM8N4E KJS2Gqb/hzDKsxKHAQDlM75t2QttIQQPK9gSs+Gs8EYGa8mmrFKPGS0O1o3YDIOBVi+V FVasy3e3fGPQN3shvupLOtoxwoWd+zcsrrk/TTMi0/a129EmHRnKaLs09FP0lJ6hr4w6 Y0YH4AiHR2sMUJ85oCzvb2/q28PqhWpvBy9mL7YsXL+Fblhp/1GTJp1anpnsAva6/g29 1b0iLJHdmzpq3TzzjxN29iBh9SENRBHxMAwyNyhkzJmtjvF4oGMz5uAm3Y2G0lVzW6R0 HTgg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1763945018; x=1764549818; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=ydH18Sv1FcR648vnepue9WyffLIje0Vy+cNr07TsAp0=; b=lPni1LmeR3K350vDpavoK4Mwf9+zE+JbOfXTa6dEqTvIsXBr50+kihFbEAQzOQBYJy 3Z7XtISbyCQ7/bZtAdSomGnSnGpsDXlg4V/Rwnf+LfYuUw3Oz3ah+P+tHslr+w3zghWP Ae0z+SSYkDiJzZbi7uG7rv3wOePaTqVm2SVYx/r9NszHpTRvHfxV3AXMs4Efz3DXE/NE ri+2LWpSK6LSfvf4zLMDQAChb4/eABjnyWz/ExAHnktAmohDbbUPitBzMpXLZ1XyP5Nw RxUmFU8qS2DQVOeYh0/7vz8gKiJpzTUKe+d+j3VgCC4ehFBcwDuYlMEkvo5ruwX0cW1x PM/w== X-Gm-Message-State: AOJu0YykUbSAT5O1ZhZd/v/i018aTn8BgLt+CtFhojTEbH44x/ZURIox 67FWNv7gFGLZ9N3Wd+bLfffMqQ5Ll8hmcgBUy/txrA3fLO+nMPSDkkedDu3Bls5FNaBW/GbRSgY DaHW4 X-Gm-Gg: ASbGncsgB52XaQcERvrJrRQi8hLjXKiGCkPKe+AugpmBR+me5giKGlvAPGTRybG6z+Z 6F3OXaRLIw/R5MN9rLhLt/3PbuRNnjGX7p7lJtIV2Z/6yzvUX8k6cWASF5Y8L7kcj74zZK1H9b/ pCYGGuVPeBn1X8JIHVllIDWRgIlkN3rHiVXZrERliMm8NhS/Jv4AIY9IzM+1+eMj66JgIBVhBDk XjXj+nv5Xu8p+hTiRJvzp5flEkMHKQlP22veKXo1kjm9Jp7uCCnsR6+S6YDPhNnFHLYKQoxRReB 3zz8gkZJK38szYIFv+rE5AVIR/tm595QIx1v3IjPh6X8HrwLibSwqMEodGNkjOlvmLBxXcUBi5A cD5pl6SDsR76iZ0Ew0yw/fsBagl5TaiUNgZLRYyhv7KC/tcxINhzkhv4PVPzc7gDcxeZZX23a7V 8ANAvID3ZVii8ybP11be0DheQVm6srCEUlUIQnM4hIn2461jxHvhhz X-Google-Smtp-Source: AGHT+IH6W1AJY0ilgiNltO5Cl0hyHtSkbdhQNyED54V24yNrVCAI/LY1Jyz53e9owjYn7xweKIJW/g== X-Received: by 2002:a05:7300:8186:b0:2a4:3593:9695 with SMTP id 5a478bee46e88-2a71927a2c2mr6296420eec.18.1763945017998; Sun, 23 Nov 2025 16:43:37 -0800 (PST) Received: from mini.home.goodkind.io ([2604:5500:c271:bf01::2]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-2a6fc53169csm45504111eec.4.2025.11.23.16.43.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 23 Nov 2025 16:43:37 -0800 (PST) Received: by mini.home.goodkind.io (Postfix, from userid 1000) id A7E2A5A000B; Sun, 23 Nov 2025 16:43:36 -0800 (PST) From: Alex Goodkind To: pve-devel@lists.proxmox.com Cc: tarick@bedeir.com, Alex Goodkind 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> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SPAM-LEVEL: Spam detection results: 0 BAYES_00 -1.9 Bayes spam probability is 0 to 1% DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain DKIM_VALID_EF -0.1 Message has a valid DKIM or DK signature from envelope-from domain DMARC_PASS -0.1 DMARC pass policy RCVD_IN_DNSWL_NONE -0.0001 Sender listed at https://www.dnswl.org/, no trust SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record URIBL_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [lxc.pm] 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 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 ", 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 --===============2325599815219826721== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel --===============2325599815219826721==--