all lists on 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] ceph: gui: add device class select on OSD create
Date: Thu, 15 Oct 2020 10:12:45 +0200	[thread overview]
Message-ID: <20201015081245.1872775-1-a.antreich@proxmox.com> (raw)

Signed-off-by: Alwin Antreich <a.antreich@proxmox.com>
---
 www/manager6/ceph/OSD.js | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/www/manager6/ceph/OSD.js b/www/manager6/ceph/OSD.js
index 88109315..e9224743 100644
--- a/www/manager6/ceph/OSD.js
+++ b/www/manager6/ceph/OSD.js
@@ -77,6 +77,23 @@ Ext.define('PVE.CephCreateOsd', {
 			    name: 'encrypted',
 			    fieldLabel: gettext('Encrypt OSD')
 			},
+			{
+			    xtype: 'proxmoxKVComboBox',
+			    comboItems: [
+				['hdd', 'HDD'],
+				['ssd', 'SSD'],
+				['nvme', 'NVME'],
+			    ],
+			    name: 'crush-device-class',
+			    nodename: me.nodename,
+			    fieldLabel: gettext('Device Class'),
+			    value: '',
+			    autoSelect: false,
+			    allowBlank: true,
+			    editable: true,
+			    emptyText: 'auto detect',
+			    deleteEmpty: me.isCreate ? false : true,
+			},
 		    ],
 		    advancedColumn2: [
 			{
-- 
2.27.0





             reply	other threads:[~2020-10-15  8:12 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-15  8:12 Alwin Antreich [this message]
2020-10-22 16:54 ` [pve-devel] applied: " Thomas Lamprecht

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=20201015081245.1872775-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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal