[pve-devel] [PATCH pve-manager 2/6] ui: sdn: zones: evpn : add disable-arp-nd-suppression

Alexandre Derumier aderumier at odiso.com
Fri Feb 11 10:33:41 CET 2022


Signed-off-by: Alexandre Derumier <aderumier at odiso.com>
---
 www/manager6/sdn/zones/EvpnEdit.js | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/www/manager6/sdn/zones/EvpnEdit.js b/www/manager6/sdn/zones/EvpnEdit.js
index 04a6f4d6..d5a09ecf 100644
--- a/www/manager6/sdn/zones/EvpnEdit.js
+++ b/www/manager6/sdn/zones/EvpnEdit.js
@@ -24,6 +24,10 @@ Ext.define('PVE.sdn.zones.EvpnInputPanel', {
             delete values['exitnodes-local-routing'];
         }
 
+        if (values['disable-arp-nd-suppression'] === 0) {
+            delete values['disable-arp-nd-suppression'];
+        }
+
 	return values;
     },
 
@@ -76,6 +80,13 @@ Ext.define('PVE.sdn.zones.EvpnInputPanel', {
 		checked: false,
 		fieldLabel: gettext('Advertise subnets'),
 	    },
+	    {
+		xtype: 'proxmoxcheckbox',
+		name: 'disable-arp-nd-suppression',
+		uncheckedValue: 0,
+		checked: false,
+		fieldLabel: gettext('Disable arp-nd suppression'),
+	    },
 	    {
 		xtype: 'pveSDNControllerSelector',
 		fieldLabel: gettext('Controller'),
-- 
2.30.2





More information about the pve-devel mailing list