public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: Alwin Antreich <a.antreich@proxmox.com>
To: pve-devel@lists.proxmox.com
Subject: [pve-devel] [PATCH manager 3/3] ceph: gui: add pg_autoscale_mode to pool creation
Date: Thu, 15 Oct 2020 11:49:56 +0200	[thread overview]
Message-ID: <20201015094956.2168066-1-a.antreich@proxmox.com> (raw)
In-Reply-To: <20201014140352.2136911-1-a.antreich@proxmox.com>

Signed-off-by: Alwin Antreich <a.antreich@proxmox.com>
---
Note: I forgot to include the patch on the first send-email

 www/manager6/ceph/Pool.js | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/www/manager6/ceph/Pool.js b/www/manager6/ceph/Pool.js
index 19eb01e9..11bcf9d5 100644
--- a/www/manager6/ceph/Pool.js
+++ b/www/manager6/ceph/Pool.js
@@ -39,6 +39,19 @@ Ext.define('PVE.CephCreatePool', {
 	    name: 'crush_rule',
 	    allowBlank: false
 	},
+	{
+	    xtype: 'proxmoxKVComboBox',
+	    fieldLabel: 'PG Autoscale Mode', // do not localize
+	    name: 'pg_autoscale_mode',
+	    comboItems: [
+		['warn', 'warn'],
+		['on', 'on'],
+		['off', 'off'],
+	    ],
+	    value: 'warn',
+	    allowBlank: false,
+	    autoSelect: false,
+	},
 	{
 	    xtype: 'proxmoxintegerfield',
 	    fieldLabel: 'pg_num',
-- 
2.27.0





      parent reply	other threads:[~2020-10-15  9:50 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-14 14:03 [pve-devel] [PATCH manager 1/2] ceph: split out pool set into own method Alwin Antreich
2020-10-14 14:03 ` [pve-devel] [PATCH manager 2/2] ceph: add option pg_autoscale_mode on pool create Alwin Antreich
2020-10-15  9:49 ` Alwin Antreich [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=20201015094956.2168066-1-a.antreich@proxmox.com \
    --to=a.antreich@proxmox.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