ceph: gui: add device class select on OSD create

Signed-off-by: Alwin Antreich <a.antreich@proxmox.com>
This commit is contained in:
Alwin Antreich 2020-10-15 10:12:45 +02:00 committed by Thomas Lamprecht
parent d571f1f382
commit c4f39f9a23

View 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: [
{