ext6migrate: add LVM-Thin to manager6

shows the option to add lvmthin storage

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
Dominik Csapak 2016-03-08 11:03:56 +01:00 committed by Dietmar Maurer
parent fbf6e7b412
commit c3378f7b3e

View File

@ -41,6 +41,8 @@ Ext.define('PVE.dc.StorageView', {
editor = 'PVE.storage.GlusterFsEdit';
} else if (type === 'lvm') {
editor = 'PVE.storage.LVMEdit';
} else if (type === 'lvmthin') {
editor = 'PVE.storage.LvmThinEdit';
} else if (type === 'iscsi') {
editor = 'PVE.storage.IScsiEdit';
} else if (type === 'rbd') {
@ -123,6 +125,15 @@ Ext.define('PVE.dc.StorageView', {
win.show();
}
},
{
text: PVE.Utils.format_storage_type('lvmthin'),
iconCls: 'pve-itype-icon-storage',
handler: function() {
var win = Ext.create('PVE.storage.LvmThinEdit', {});
win.on('destroy', reload);
win.show();
}
},
{
text: PVE.Utils.format_storage_type('nfs'),
iconCls: 'pve-itype-icon-network-server',