From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate001.proxmox.com (gate001.proxmox.com [45.144.208.40]) by lore.proxmox.com (Postfix) with ESMTPS id EA96B1FF0A7 for ; Wed, 19 Aug 2026 14:44:22 +0200 (CEST) Received: from gate001.proxmox.com (localhost.localdomain [127.0.0.1]) by gate001.proxmox.com (Proxmox) with ESMTP id 480C621552; Wed, 19 Aug 2026 14:44:19 +0200 (CEST) From: Hannes Laimer To: pve-devel@lists.proxmox.com Subject: [PATCH manager/network 0/2] sdn: add guest/nic selectors to IPAM create window Date: Wed, 19 Aug 2026 14:44:05 +0200 Message-ID: <20260819124407.856577-1-h.laimer@proxmox.com> X-Mailer: git-send-email 2.47.3 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Bm-Milter-Handled: 55990f41-d878-4baa-be0a-ee34c49e34d2 X-Bm-Transport-Timestamp: 1787143430559 X-SPAM-LEVEL: Spam detection results: 0 AWL 1.364 Adjusted score from AWL reputation of From: address DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment (newer systems) RCVD_IN_DNSWL_MED -2.3 Sender listed at https://www.dnswl.org/, medium trust SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Message-ID-Hash: N66UXWUDRXNHQDIDEQ2XXNN7TTCRA5UM X-Message-ID-Hash: N66UXWUDRXNHQDIDEQ2XXNN7TTCRA5UM X-MailFrom: h.laimer@proxmox.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.10 Precedence: list List-Id: Proxmox VE development discussion List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Make it simpler to create IP mapping for guests, so MAC addresses don't have to be hand-copied over every time. This also adds the vmid as an optional POST parameter, so a vmid can be set on create, and not just on update through PUT. Aside from the POST endpoint accepting an optional vmid, no functional change is intended, this should only improve UX. The MAC field can still be filled by hand without using the selector, I guess there could be a use-case for having outside-macs be in our SDN IPAM, but I also think there's an argument for not allowing that. Either way, that stays unchanged with this. pve-network: Hannes Laimer (1): api: sdn: ipam: add optional vmid to POST endpoint src/PVE/API2/Network/SDN/Ips.pm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) pve-manager: Hannes Laimer (1): ui: sdn: ipam: allow picking the nic instead of typing its MAC www/manager6/sdn/IpamEdit.js | 112 ++++++++++++++++++++++++++++++++++- 1 file changed, 109 insertions(+), 3 deletions(-) Summary over all repositories: 2 files changed, 114 insertions(+), 4 deletions(-) -- Generated by murpp 0.12.0