You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: api/src/org/apache/cloudstack/api/command/admin/cluster/AddClusterCmd.java
+17-1Lines changed: 17 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -66,7 +66,7 @@ public class AddClusterCmd extends BaseCmd {
66
66
@Parameter(name = ApiConstants.HYPERVISOR,
67
67
type = CommandType.STRING,
68
68
required = true,
69
-
description = "hypervisor type of the cluster: XenServer,KVM,VMware,Hyperv,BareMetal,Simulator")
69
+
description = "hypervisor type of the cluster: XenServer,KVM,VMware,Hyperv,BareMetal,Simulator,Ovm3")
70
70
privateStringhypervisor;
71
71
72
72
@Parameter(name = ApiConstants.CLUSTER_TYPE, type = CommandType.STRING, required = true, description = "type of the cluster: CloudManaged, ExternalManaged")
@@ -75,6 +75,22 @@ public class AddClusterCmd extends BaseCmd {
75
75
@Parameter(name = ApiConstants.ALLOCATION_STATE, type = CommandType.STRING, description = "Allocation state of this cluster for allocation of new resources")
76
76
privateStringallocationState;
77
77
78
+
@Parameter(name = ApiConstants.OVM3_POOL, type = CommandType.STRING, required = false, description = "Ovm3 native pooling enabled for cluster")
79
+
privateStringovm3pool;
80
+
@Parameter(name = ApiConstants.OVM3_CLUSTER, type = CommandType.STRING, required = false, description = "Ovm3 native OCFS2 clustering enabled for cluster")
81
+
privateStringovm3cluster;
82
+
@Parameter(name = ApiConstants.OVM3_VIP, type = CommandType.STRING, required = false, description = "Ovm3 vip to use for pool (and cluster)")
83
+
privateStringovm3vip;
84
+
publicStringgetOvm3Pool() {
85
+
returnovm3pool;
86
+
}
87
+
publicStringgetOvm3Cluster() {
88
+
returnovm3cluster;
89
+
}
90
+
publicStringgetOvm3Vip() {
91
+
returnovm3vip;
92
+
}
93
+
78
94
@Parameter(name = ApiConstants.VSM_USERNAME, type = CommandType.STRING, required = false, description = "the username for the VSM associated with this cluster")
0 commit comments