[pve-devel] [PATCH manager 6/7] ext6migrate: add LVM-Thin to manager6
Dominik Csapak
d.csapak at proxmox.com
Tue Mar 8 11:03:56 CET 2016
shows the option to add lvmthin storage
Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
www/manager6/dc/StorageView.js | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/www/manager6/dc/StorageView.js b/www/manager6/dc/StorageView.js
index b9604c1..cf4df5b 100644
--- a/www/manager6/dc/StorageView.js
+++ b/www/manager6/dc/StorageView.js
@@ -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') {
@@ -124,6 +126,15 @@ Ext.define('PVE.dc.StorageView', {
}
},
{
+ 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',
handler: function() {
--
2.1.4
More information about the pve-devel
mailing list