[PATCH pve-manager 1/1] sdn: vnet: add ports-isolation option.

Alexandre Derumier alexandre.derumier at groupe-cyllene.com
Thu Apr 25 16:43:50 CEST 2024


also move vlan-aware in advanced section

Signed-off-by: Alexandre Derumier <alexandre.derumier at groupe-cyllene.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 cdd83ed4..a00f83e6 100644
--- a/www/manager6/sdn/VnetEdit.js
+++ b/www/manager6/sdn/VnetEdit.js
@@ -52,6 +52,18 @@ Ext.define('PVE.sdn.VnetInputPanel', {
 		deleteEmpty: "{!isCreate}",
 	    },
 	},
+    ],
+    advancedItems: [
+	{
+	    xtype: 'proxmoxcheckbox',
+	    name: 'ports-isolation',
+	    uncheckedValue: null,
+	    checked: false,
+	    fieldLabel: gettext('Ports Isolation'),
+	    cbind: {
+		deleteEmpty: "{!isCreate}",
+	    },
+	},
 	{
 	    xtype: 'proxmoxcheckbox',
 	    name: 'vlanaware',
-- 
2.39.2




More information about the pve-devel mailing list