]> git.proxmox.com Git - pve-manager.git/commitdiff
ceph: gui: add device class select on OSD create
authorAlwin Antreich <a.antreich@proxmox.com>
Thu, 15 Oct 2020 08:12:45 +0000 (10:12 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 22 Oct 2020 16:50:04 +0000 (18:50 +0200)
Signed-off-by: Alwin Antreich <a.antreich@proxmox.com>
www/manager6/ceph/OSD.js

index 8810931512a35be2f69225ef822ac4116160afd7..e92247439c55c41052d8e0437fadf7b3907202a6 100644 (file)
@@ -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: [
                        {