From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate001.proxmox.com (gate001.proxmox.com [IPv6:2a0f:8001:1:32::40]) by lore.proxmox.com (Postfix) with ESMTPS id 4A6781FF0AE for ; Tue, 13 Oct 2026 14:32:59 +0200 (CEST) Received: from gate001.proxmox.com (localhost.localdomain [127.0.0.1]) by gate001.proxmox.com (Proxmox) with ESMTP id 97910213BC; Tue, 13 Oct 2026 14:32:42 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.10.3 smtp.infra.comaite.com D42B262C15 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comaite.com; s=377A38C6-3A8D-11E5-A0EC-E97757B27CB3; t=1791893674; bh=aeA5s2f6Pd6GqyVttZvYYdbaWZECPvuJE20SYPX1BMc=; h=From:To:Date:Message-ID:MIME-Version; b=PZFOV8ipgs/nANzIVXG+ZO0wG7IMd+cQaogf4QcnJy2zoHNEMXamtTfdYpjZ5ZjzU H72H8Sstq4HUGOTAgN/1omQl2d7vdjXze+iaB/r6QI/2vAwc9JNgjSwOcOYZ+9QR1R lVLIpGws3VH4TccwxIKO8YfvR9b399pNeK2KBsnZoT8qW8ACOELU+zp+GbUYjF/S2E +rz7a/nprho+2tsXd/5Ns0RFDD7Rrm7ZczjgHbNEaokE7PM8JEY3v/qi222lFr9/Jb UerHck0gHPu1EB+85cCS2rCyHKAZIoiVwT/yt9laBW8hO6CZ6QoMqq0ydVflcsU6pc evOlamkwNbfqw== From: =?UTF-8?q?R=C3=A9mi=20PAETA?= To: pve-devel@lists.proxmox.com Subject: [RFC PATCH manager 15/16] ui: sdn: vnet: disable isolate ports for ovn zones Date: Tue, 13 Oct 2026 14:14:31 +0200 Message-ID: <20261013121432.2642979-16-remi.paeta@comaite.com> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20261013121432.2642979-1-remi.paeta@comaite.com> References: <1116090294.1714263.1791537779868.JavaMail.zimbra@comaite.com> <20261013121432.2642979-1-remi.paeta@comaite.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-SPAM-LEVEL: Spam detection results: 2 AWL 2.500 Adjusted score from AWL reputation of From: address 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 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: NWGC7PTWCWRJTRUKSG6LCXCGHDW35CPX X-Message-ID-Hash: NWGC7PTWCWRJTRUKSG6LCXCGHDW35CPX X-MailFrom: remi.paeta@comaite.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: OVN zones refuse the isolate-ports option, so disable the field for their vnets and drop the option when editing a vnet of such a zone. Signed-off-by: Rémi PAETA --- www/manager6/sdn/VnetEdit.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/www/manager6/sdn/VnetEdit.js b/www/manager6/sdn/VnetEdit.js index 36638e10..771accdd 100644 --- a/www/manager6/sdn/VnetEdit.js +++ b/www/manager6/sdn/VnetEdit.js @@ -35,6 +35,9 @@ Ext.define('PVE.sdn.VnetInputPanel', { if (me.down('#sdnVnetPortSecurityField').isDisabled()) { addDelete('port-security'); } + if (me.down('#sdnVnetIsolatePortsField').isDisabled()) { + addDelete('isolate-ports'); + } return values; }, @@ -119,6 +122,7 @@ Ext.define('PVE.sdn.VnetInputPanel', { advancedItems: [ { xtype: 'proxmoxcheckbox', + itemId: 'sdnVnetIsolatePortsField', name: 'isolate-ports', uncheckedValue: null, checked: false, @@ -168,6 +172,9 @@ Ext.define('PVE.sdn.VnetInputPanel', { let isOvn = zoneType === 'ovn'; portSecurityField.setHidden(!isOvn); portSecurityField.setDisabled(!isOvn); + + // OVN zones do not support isolating the ports of a vnet + me.down('#sdnVnetIsolatePortsField').setDisabled(isOvn); }, }); -- 2.47.3