mirror of https://github.com/apache/cloudstack.git
bug 12314: cloudStack 3.0 new UI - add cluster action - pass cluster type as ExternalManaged if hypervisor is VMware.
This commit is contained in:
parent
6660f367d0
commit
84adb6b5bc
|
|
@ -5226,7 +5226,14 @@
|
|||
var array1 = [];
|
||||
array1.push("&zoneId=" + args.context.zones[0].id);
|
||||
array1.push("&hypervisor=" + args.data.hypervisor);
|
||||
array1.push("&clustertype=CloudManaged");
|
||||
|
||||
var clusterType;
|
||||
if(args.data.hypervisor == "VMware")
|
||||
clusterType="ExternalManaged";
|
||||
else
|
||||
clusterType="CloudManaged";
|
||||
array1.push("&clustertype=" + clusterType);
|
||||
|
||||
array1.push("&podId=" + args.data.podId);
|
||||
|
||||
var clusterName = args.data.name;
|
||||
|
|
|
|||
Loading…
Reference in New Issue