mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-02 20:02:29 +01:00
zone wide primary storage server side changes
This commit is contained in:
parent
6ef7928a9c
commit
31c26beb7f
@ -8654,7 +8654,8 @@
|
|||||||
name: { label: 'label.name' },
|
name: { label: 'label.name' },
|
||||||
ipaddress: { label: 'label.server' },
|
ipaddress: { label: 'label.server' },
|
||||||
path: { label: 'label.path' },
|
path: { label: 'label.path' },
|
||||||
clustername: { label: 'label.cluster'}
|
clustername: { label: 'label.cluster'},
|
||||||
|
scope:{label:'Scope'}
|
||||||
},
|
},
|
||||||
|
|
||||||
dataProvider: function(args) {
|
dataProvider: function(args) {
|
||||||
@ -9218,9 +9219,24 @@
|
|||||||
|
|
||||||
action: function(args) {
|
action: function(args) {
|
||||||
var array1 = [];
|
var array1 = [];
|
||||||
|
array1.push("&scope=" + todb(args.data.scope));
|
||||||
|
|
||||||
array1.push("&zoneid=" + args.data.zoneid);
|
array1.push("&zoneid=" + args.data.zoneid);
|
||||||
array1.push("&podId=" + args.data.podId);
|
|
||||||
|
if(args.data.scope == 'cluster'){
|
||||||
|
|
||||||
|
array1.push("&podid=" + args.data.podId);
|
||||||
array1.push("&clusterid=" + args.data.clusterId);
|
array1.push("&clusterid=" + args.data.clusterId);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
if(args.data.scope == 'host'){
|
||||||
|
array1.push("&podid=" + args.data.podId);
|
||||||
|
array1.push("&clusterid=" + args.data.clusterId);
|
||||||
|
array1.push("&hostid=" + args.data.hostId);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
array1.push("&name=" + todb(args.data.name));
|
array1.push("&name=" + todb(args.data.name));
|
||||||
|
|
||||||
var server = args.data.server;
|
var server = args.data.server;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user