public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: "DERUMIER, Alexandre" <Alexandre.DERUMIER@groupe-cyllene.com>
To: "pve-devel@lists.proxmox.com" <pve-devel@lists.proxmox.com>
Subject: Re: [pve-devel] [PATCH pve-manager 1/1] Adds MTU to NetworkEdit
Date: Tue, 6 Sep 2022 09:01:23 +0000	[thread overview]
Message-ID: <d23a6de1-9635-c97a-7b48-4bd65e404b1a@groupe-cyllene.com> (raw)
In-Reply-To: <20220905111150.10440-2-thomas@crummett.us>

Hi,

They are already a pending patches serie here:

https://www.mail-archive.com/pve-devel@lists.proxmox.com/msg08696.html

Le 5/09/22 à 13:11, Thomas Crummett a écrit :
> ---
>   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',


      reply	other threads:[~2022-09-06  9:01 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-05 11:11 [pve-devel] [PATCH pve-manager 0/1] Add " Thomas Crummett
2022-09-05 11:11 ` [pve-devel] [PATCH pve-manager 1/1] Adds " Thomas Crummett
2022-09-06  9:01   ` DERUMIER, Alexandre [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=d23a6de1-9635-c97a-7b48-4bd65e404b1a@groupe-cyllene.com \
    --to=alexandre.derumier@groupe-cyllene.com \
    --cc=pve-devel@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal