From: Alexandre Derumier via pve-devel <pve-devel@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.derum...@groupe-cyllene.com>
 [ SH: improve naming and commit msg slightly ]
Signed-off-by: Stefan Hanreich <s.hanre...@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


_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to