Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
pve-manager
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
pve-manager
Commits
6006f35a
Commit
6006f35a
authored
Oct 04, 2013
by
Alexandre Derumier
Committed by
Dietmar Maurer
Oct 08, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove nexenta plugin
Signed-off-by:
Alexandre Derumier
<
aderumier@odiso.com
>
parent
73b139cd
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
2 additions
and
183 deletions
+2
-183
Makefile
www/manager/Makefile
+0
-1
Utils.js
www/manager/Utils.js
+0
-2
StorageView.js
www/manager/dc/StorageView.js
+0
-11
Clone.js
www/manager/qemu/Clone.js
+1
-2
HDEdit.js
www/manager/qemu/HDEdit.js
+0
-1
HDMove.js
www/manager/qemu/HDMove.js
+1
-2
NexentaEdit.js
www/manager/storage/NexentaEdit.js
+0
-164
No files found.
www/manager/Makefile
View file @
6006f35a
...
...
@@ -134,7 +134,6 @@ JSSRC= \
storage/LVMEdit.js
\
storage/RBDEdit.js
\
storage/SheepdogEdit.js
\
storage/NexentaEdit.js
\
storage/ZFSEdit.js
\
dc/Summary.js
\
dc/OptionView.js
\
...
...
www/manager/Utils.js
View file @
6006f35a
...
...
@@ -690,8 +690,6 @@ Ext.define('PVE.Utils', { statics: {
return
'
RBD
'
;
}
else
if
(
value
===
'
sheepdog
'
)
{
return
'
Sheepdog
'
;
}
else
if
(
value
===
'
nexenta
'
)
{
return
'
Nexenta
'
;
}
else
if
(
value
===
'
zfs
'
)
{
return
'
ZFS
'
;
}
else
if
(
value
===
'
iscsidirect
'
)
{
...
...
www/manager/dc/StorageView.js
View file @
6006f35a
...
...
@@ -46,8 +46,6 @@ Ext.define('PVE.dc.StorageView', {
editor
=
'
PVE.storage.RBDEdit
'
;
}
else
if
(
type
===
'
sheepdog
'
)
{
editor
=
'
PVE.storage.SheepdogEdit
'
;
}
else
if
(
type
===
'
nexenta
'
)
{
editor
=
'
PVE.storage.NexentaEdit
'
;
}
else
if
(
type
===
'
zfs
'
)
{
editor
=
'
PVE.storage.ZFSEdit
'
;
}
else
{
...
...
@@ -168,15 +166,6 @@ Ext.define('PVE.dc.StorageView', {
win.show();
}
},
{
text: PVE.Utils.format_storage_type('nexenta'),
iconCls: 'pve-itype-icon-node',
handler: function() {
var win = Ext.create('PVE.storage.NexentaEdit', {});
win.on('destroy', reload);
win.show();
}
},
{
text: PVE.Utils.format_storage_type('zfs'),
iconCls: 'pve-itype-icon-node',
...
...
www/manager/qemu/Clone.js
View file @
6006f35a
...
...
@@ -69,7 +69,6 @@ Ext.define('PVE.window.Clone', {
rec
.
data
.
type
===
'
rbd
'
||
rec
.
data
.
type
===
'
iscsi
'
||
rec
.
data
.
type
===
'
sheepdog
'
||
rec
.
data
.
type
===
'
nexenta
'
||
rec
.
data
.
type
===
'
zfs
'
)
{
me
.
formatsel
.
setValue
(
'
raw
'
);
...
...
www/manager/qemu/HDEdit.js
View file @
6006f35a
...
...
@@ -192,7 +192,6 @@ Ext.define('PVE.qemu.HDInputPanel', {
}
else
if
(
rec
.
data
.
type
===
'
lvm
'
||
rec
.
data
.
type
===
'
rbd
'
||
rec
.
data
.
type
===
'
sheepdog
'
||
rec
.
data
.
type
===
'
nexenta
'
||
rec
.
data
.
type
===
'
zfs
'
)
{
me
.
hdfilesel
.
setDisabled
(
true
);
me
.
hdfilesel
.
setVisible
(
false
);
...
...
www/manager/qemu/HDMove.js
View file @
6006f35a
...
...
@@ -76,8 +76,7 @@ Ext.define('PVE.window.HDMove', {
me
.
formatsel
.
setDisabled
(
true
);
}
else
if
(
rec
.
data
.
type
===
'
lvm
'
||
rec
.
data
.
type
===
'
rbd
'
||
rec
.
data
.
type
===
'
sheepdog
'
||
rec
.
data
.
type
===
'
nexenta
'
rec
.
data
.
type
===
'
sheepdog
'
)
{
me
.
formatsel
.
setValue
(
'
raw
'
);
me
.
formatsel
.
setDisabled
(
true
);
...
...
www/manager/storage/NexentaEdit.js
deleted
100644 → 0
View file @
73b139cd
Ext
.
define
(
'
PVE.storage.NexentaInputPanel
'
,
{
extend
:
'
PVE.panel.InputPanel
'
,
onGetValues
:
function
(
values
)
{
var
me
=
this
;
if
(
me
.
create
)
{
values
.
type
=
'
nexenta
'
;
values
.
content
=
'
images
'
;
}
else
{
delete
values
.
storage
;
}
values
.
disable
=
values
.
enable
?
0
:
1
;
delete
values
.
enable
;
values
.
ssl
=
values
.
enablessl
?
1
:
0
;
delete
values
.
enablessl
;
return
values
;
},
initComponent
:
function
()
{
var
me
=
this
;
me
.
column1
=
[
{
xtype
:
me
.
create
?
'
textfield
'
:
'
displayfield
'
,
name
:
'
storage
'
,
height
:
22
,
// hack: set same height as text fields
value
:
me
.
storageId
||
''
,
fieldLabel
:
'
ID
'
,
vtype
:
'
StorageId
'
,
allowBlank
:
false
},
{
xtype
:
me
.
create
?
'
textfield
'
:
'
displayfield
'
,
name
:
'
portal
'
,
height
:
22
,
// hack: set same height as text fields
value
:
''
,
fieldLabel
:
gettext
(
'
Portal
'
),
allowBlank
:
false
},
{
xtype
:
me
.
create
?
'
textfield
'
:
'
displayfield
'
,
name
:
'
target
'
,
height
:
22
,
// hack: set same height as text fields
value
:
'
iqn.1986-03.com.sun:02:....
'
,
fieldLabel
:
gettext
(
'
Target
'
),
allowBlank
:
false
},
{
xtype
:
me
.
create
?
'
textfield
'
:
'
displayfield
'
,
name
:
'
pool
'
,
height
:
22
,
// hack: set same height as text fields
value
:
''
,
fieldLabel
:
gettext
(
'
Pool
'
),
allowBlank
:
false
},
{
xtype
:
me
.
create
?
'
textfield
'
:
'
displayfield
'
,
name
:
'
login
'
,
height
:
22
,
// hack: set same height as text fields
value
:
''
,
fieldLabel
:
gettext
(
'
Login
'
),
allowBlank
:
false
},
{
xtype
:
me
.
create
?
'
textfield
'
:
'
displayfield
'
,
name
:
'
password
'
,
height
:
22
,
// hack: set same height as text fields
value
:
''
,
fieldLabel
:
gettext
(
'
Password
'
),
allowBlank
:
false
}
];
me
.
column2
=
[
{
xtype
:
'
pvecheckbox
'
,
name
:
'
enable
'
,
checked
:
true
,
uncheckedValue
:
0
,
fieldLabel
:
gettext
(
'
Enable
'
)
},
{
xtype
:
'
pvecheckbox
'
,
name
:
'
enablessl
'
,
checked
:
true
,
uncheckedValue
:
0
,
fieldLabel
:
gettext
(
'
ssl
'
)
},
{
xtype
:
me
.
create
?
'
textfield
'
:
'
displayfield
'
,
name
:
'
blocksize
'
,
height
:
22
,
// hack: set same height as text fields
value
:
'
4K
'
,
fieldLabel
:
gettext
(
'
Block Size
'
),
allowBlank
:
false
}
];
if
(
me
.
create
||
me
.
storageId
!==
'
local
'
)
{
me
.
column2
.
unshift
({
xtype
:
'
PVE.form.NodeSelector
'
,
name
:
'
nodes
'
,
fieldLabel
:
gettext
(
'
Nodes
'
),
emptyText
:
gettext
(
'
All
'
)
+
'
(
'
+
gettext
(
'
No restrictions
'
)
+
'
)
'
,
multiSelect
:
true
,
autoSelect
:
false
});
}
me
.
callParent
();
}
});
Ext
.
define
(
'
PVE.storage.NexentaEdit
'
,
{
extend
:
'
PVE.window.Edit
'
,
initComponent
:
function
()
{
var
me
=
this
;
me
.
create
=
!
me
.
storageId
;
if
(
me
.
create
)
{
me
.
url
=
'
/api2/extjs/storage
'
;
me
.
method
=
'
POST
'
;
}
else
{
me
.
url
=
'
/api2/extjs/storage/
'
+
me
.
storageId
;
me
.
method
=
'
PUT
'
;
}
var
ipanel
=
Ext
.
create
(
'
PVE.storage.NexentaInputPanel
'
,
{
create
:
me
.
create
,
storageId
:
me
.
storageId
});
Ext
.
apply
(
me
,
{
subject
:
PVE
.
Utils
.
format_storage_type
(
'
nexenta
'
),
isAdd
:
true
,
items
:
[
ipanel
]
});
me
.
callParent
();
if
(
!
me
.
create
)
{
me
.
load
({
success
:
function
(
response
,
options
)
{
var
values
=
response
.
result
.
data
;
if
(
values
.
nodes
)
{
values
.
nodes
=
values
.
nodes
.
split
(
'
,
'
);
}
values
.
enable
=
values
.
disable
?
0
:
1
;
values
.
enablessl
=
values
.
ssl
?
1
:
0
;
ipanel
.
setValues
(
values
);
}
});
}
}
});
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment