From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by lists.proxmox.com (Postfix) with ESMTPS id 402CC90CA7 for ; Mon, 5 Sep 2022 13:12:36 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 34C421BE47 for ; Mon, 5 Sep 2022 13:12:36 +0200 (CEST) Received: from voidstar.local (unknown [IPv6:2606:6240:dead:beef:b00b:b00b:face:babe]) by firstgate.proxmox.com (Proxmox) with ESMTP for ; Mon, 5 Sep 2022 13:12:35 +0200 (CEST) Received: by voidstar.local (Postfix, from userid 501) id F16949E688A; Mon, 5 Sep 2022 04:12:27 -0700 (PDT) From: Thomas Crummett To: pve-devel@lists.proxmox.com Cc: Thomas Crummett Date: Mon, 5 Sep 2022 04:11:50 -0700 Message-Id: <20220905111150.10440-2-thomas@crummett.us> X-Mailer: git-send-email 2.32.0 (Apple Git-132) In-Reply-To: <20220905111150.10440-1-thomas@crummett.us> References: <20220905111150.10440-1-thomas@crummett.us> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SPAM-LEVEL: Spam detection results: 1 AWL 0.700 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% HEADER_FROM_DIFFERENT_DOMAINS 0.25 From and EnvelopeFrom 2nd level mail domains are different KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment KAM_INFOUSMEBIZ 0.75 Prevalent use of .info|.us|.me|.me.uk|.biz|xyz|id|rocks|life domains in spam/malware KAM_LAZY_DOMAIN_SECURITY 1 Sending domain does not have any anti-forgery methods NO_DNS_FOR_FROM 0.001 Envelope sender has no MX or A DNS records RDNS_NONE 0.793 Delivered to internal network by a host with no rDNS SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_NONE 0.001 SPF: sender does not publish an SPF Record T_SCC_BODY_TEXT_LINE -0.01 - X-Mailman-Approved-At: Mon, 05 Sep 2022 13:21:36 +0200 Subject: [pve-devel] [PATCH pve-manager 1/1] Adds MTU to NetworkEdit 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: , X-List-Received-Date: Mon, 05 Sep 2022 11:12:36 -0000 --- www/manager6/qemu/NetworkEdit.js | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/www/manager6/qemu/NetworkEdit.js b/www/manager6/qemu/NetworkEdit.js index b39cffdc..8e70e386 100644 --- a/www/manager6/qemu/NetworkEdit.js +++ b/www/manager6/qemu/NetworkEdit.js @@ -15,6 +15,7 @@ Ext.define('PVE.qemu.NetworkInputPanel', { me.network.bridge = values.bridge; me.network.tag = values.tag; me.network.firewall = values.firewall; + me.network.mtu = values.mtu; } me.network.macaddr = values.macaddr; me.network.disconnect = values.disconnect; @@ -88,6 +89,17 @@ Ext.define('PVE.qemu.NetworkInputPanel', { ]; me.advancedColumn1 = [ + { + xtype: 'proxmoxintegerfield', + name: 'mtu', + fieldLabel: 'MTU', + minimum: 1, + emptyText: '1500', + submitEmpty: false, + cbind: { + deleteEmpty: '{!isCreate}', + }, + }, { xtype: 'proxmoxcheckbox', fieldLabel: gettext('Disconnect'), @@ -105,6 +117,7 @@ Ext.define('PVE.qemu.NetworkInputPanel', { change: function(cb, value) { var fields = [ 'disconnect', + 'mtu', 'bridge', 'tag', 'firewall', -- 2.32.0 (Apple Git-132)