[pve-devel] [PATCH pve-manager v2 2/4] sdn: vnet: add isolate-ports option

Stefan Hanreich s.hanreich at proxmox.com
Tue Nov 12 16:54:23 CET 2024


From: Alexandre Derumier via pve-devel <pve-devel at lists.proxmox.com>

We add this as advanced option in the UI and also move vlan-aware
to advanced section.

Signed-off-by: Alexandre Derumier <alexandre.derumier at groupe-cyllene.com>
 [ SH: improve naming and commit msg slightly ]
Signed-off-by: Stefan Hanreich <s.hanreich at proxmox.com>
---
 www/manager6/sdn/VnetEdit.js | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/www/manager6/sdn/VnetEdit.js b/www/manager6/sdn/VnetEdit.js
index 9fb6cd6c7..e5870893e 100644
--- a/www/manager6/sdn/VnetEdit.js
+++ b/www/manager6/sdn/VnetEdit.js
@@ -71,6 +71,18 @@ Ext.define('PVE.sdn.VnetInputPanel', {
 		deleteEmpty: "{!isCreate}",
 	    },
 	},
+    ],
+    advancedItems: [
+	{
+	    xtype: 'proxmoxcheckbox',
+	    name: 'isolate-ports',
+	    uncheckedValue: null,
+	    checked: false,
+	    fieldLabel: gettext('Isolate Ports'),
+	    cbind: {
+		deleteEmpty: "{!isCreate}",
+	    },
+	},
 	{
 	    xtype: 'proxmoxcheckbox',
 	    itemId: 'sdnVnetVlanAwareField',
-- 
2.39.5




More information about the pve-devel mailing list