From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [IPv6:2a01:7e0:0:424::9]) by lore.proxmox.com (Postfix) with ESMTPS id 6146B1FF165 for ; Thu, 17 Jul 2025 14:05:47 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id A465638AEF; Thu, 17 Jul 2025 14:06:48 +0200 (CEST) From: Gabriel Goller To: pve-devel@lists.proxmox.com Date: Thu, 17 Jul 2025 14:06:39 +0200 Message-Id: <20250717120639.401311-2-g.goller@proxmox.com> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20250717120639.401311-1-g.goller@proxmox.com> References: <20250717120639.401311-1-g.goller@proxmox.com> MIME-Version: 1.0 X-Bm-Milter-Handled: 55990f41-d878-4baa-be0a-ee34c49e34d2 X-Bm-Transport-Timestamp: 1752754003985 X-SPAM-LEVEL: Spam detection results: 0 AWL -0.011 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment RCVD_IN_MSPIKE_H2 0.001 Average reputation (+2) RCVD_IN_VALIDITY_CERTIFIED_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. RCVD_IN_VALIDITY_RPBL_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. RCVD_IN_VALIDITY_SAFE_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Subject: [pve-devel] [PATCH pve-manager 2/2] fabrics: add emptyText attributes to some input fields X-BeenThere: pve-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox VE development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Proxmox VE development discussion Cc: Thomas Lamprecht Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: pve-devel-bounces@lists.proxmox.com Sender: "pve-devel" Add default emptyText attributes to OpenFabric and OSPF add/edit windows. Use the default values on Hello Interval [0], CSNP Interval [1] and Hello Multiplier [2] inputs. For the OSPF area just use the simplest area "0" (the backbone). [0]: https://github.com/FRRouting/frr/blob/f56119ea0321ee7d149172422a6d87e106a94778/isisd/isis_constants.h#L77 [1]: https://github.com/FRRouting/frr/blob/f56119ea0321ee7d149172422a6d87e106a94778/isisd/isis_constants.h#L69 [2]: https://github.com/FRRouting/frr/blob/f56119ea0321ee7d149172422a6d87e106a94778/isisd/isis_constants.h#L81 Suggested-by: Thomas Lamprecht Signed-off-by: Gabriel Goller --- www/manager6/sdn/fabrics/openfabric/FabricEdit.js | 2 ++ www/manager6/sdn/fabrics/openfabric/InterfacePanel.js | 1 + www/manager6/sdn/fabrics/ospf/FabricEdit.js | 1 + 3 files changed, 4 insertions(+) diff --git a/www/manager6/sdn/fabrics/openfabric/FabricEdit.js b/www/manager6/sdn/fabrics/openfabric/FabricEdit.js index 9da624190bc6..46dd61c410aa 100644 --- a/www/manager6/sdn/fabrics/openfabric/FabricEdit.js +++ b/www/manager6/sdn/fabrics/openfabric/FabricEdit.js @@ -47,6 +47,7 @@ Ext.define('PVE.sdn.Fabric.OpenFabric.Fabric.Edit', { labelWidth: 120, name: 'hello_interval', allowBlank: true, + emptyText: '3', skipEmptyText: true, cbind: { deleteEmpty: '{!isCreate}', @@ -58,6 +59,7 @@ Ext.define('PVE.sdn.Fabric.OpenFabric.Fabric.Edit', { labelWidth: 120, name: 'csnp_interval', allowBlank: true, + emptyText: '10', skipEmptyText: true, cbind: { deleteEmpty: '{!isCreate}', diff --git a/www/manager6/sdn/fabrics/openfabric/InterfacePanel.js b/www/manager6/sdn/fabrics/openfabric/InterfacePanel.js index fbc2a27d8c9e..f23b889b4687 100644 --- a/www/manager6/sdn/fabrics/openfabric/InterfacePanel.js +++ b/www/manager6/sdn/fabrics/openfabric/InterfacePanel.js @@ -24,6 +24,7 @@ Ext.define('PVE.sdn.Fabric.OpenFabric.InterfacePanel', { widget: { xtype: 'proxmoxintegerfield', isFormField: false, + emptyText: '10', bind: { disabled: '{record.isDisabled}', }, diff --git a/www/manager6/sdn/fabrics/ospf/FabricEdit.js b/www/manager6/sdn/fabrics/ospf/FabricEdit.js index c27c6eb4458d..4c4e17c99090 100644 --- a/www/manager6/sdn/fabrics/ospf/FabricEdit.js +++ b/www/manager6/sdn/fabrics/ospf/FabricEdit.js @@ -14,6 +14,7 @@ Ext.define('PVE.sdn.Fabric.Ospf.Fabric.Edit', { fieldLabel: gettext('Area'), labelWidth: 120, name: 'area', + emptyText: '0', allowBlank: false, }, ], -- 2.39.5 _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel