blob: 470ed14221c9a2a34ac705c2206169e04d8d43d5 [file] [log] [blame]
{
"listClusters": {
"listclustersresponse": {
"cluster": [
{
"allocationstate": "Enabled",
"clustertype": "CloudManaged",
"cpuovercommitratio": "1.0",
"hypervisortype": "Simulator",
"id": "38f93102-4f87-49ab-bafa-854bdf31cfe6",
"managedstate": "Managed",
"memoryovercommitratio": "1.0",
"name": "SimCluster0",
"podid": "6137ef6f-753f-4e7b-a728-8d46a92358d2",
"podname": "POD0",
"resourcedetails": {
"cluster.cpu.allocated.capacity.disablethreshold": "0.85",
"cluster.cpu.allocated.capacity.notificationthreshold": "0.01",
"cluster.memory.allocated.capacity.disablethreshold": "0.02",
"cluster.memory.allocated.capacity.notificationthreshold": "0.01",
"cluster.storage.allocated.capacity.notificationthreshold": "0.01",
"cluster.storage.capacity.notificationthreshold": "0.01",
"cpuOvercommitRatio": "1.0",
"memoryOvercommitRatio": "1.0",
"outOfBandManagementEnabled": "true",
"resourceHAEnabled": "true"
},
"zoneid": "04ccc336-d730-42fe-8ff6-5ae36e141e81",
"zonename": "SimZone1"
},
{
"allocationstate": "Enabled",
"clustertype": "CloudManaged",
"cpuovercommitratio": "1.0",
"hypervisortype": "Simulator",
"id": "388a9023-f0a9-43f1-a962-b8689e0fca09",
"managedstate": "Unmanaged",
"memoryovercommitratio": "1.0",
"name": "SimCluster1",
"podid": "6137ef6f-753f-4e7b-a728-8d46a92358d2",
"podname": "POD0",
"resourcedetails": {
"cpuOvercommitRatio": "1.0",
"memoryOvercommitRatio": "1.0"
},
"zoneid": "04ccc336-d730-42fe-8ff6-5ae36e141e81",
"zonename": "SimZone1"
},
{
"allocationstate": "Enabled",
"clustertype": "CloudManaged",
"cpuovercommitratio": "1.0",
"hypervisortype": "KVM",
"id": "f1f5a259-1b55-431d-ad7e-6d39c28f1b15",
"managedstate": "Managed",
"memoryovercommitratio": "1.0",
"name": "TestCluster",
"podid": "6137ef6f-753f-4e7b-a728-8d46a92358d2",
"podname": "POD0",
"resourcedetails": {
"cpuOvercommitRatio": "1.0",
"memoryOvercommitRatio": "1.0"
},
"zoneid": "04ccc336-d730-42fe-8ff6-5ae36e141e81",
"zonename": "SimZone1"
}
],
"count": 3
}
},
"disableHAForCluster": {
"disablehaforclusterresponse": {
"accountid": "27ef5ba2-5fe0-11ea-9a56-1e006800018c",
"userid": "27f2484f-5fe0-11ea-9a56-1e006800018c",
"cmd": "org.apache.cloudstack.api.command.admin.ha.DisableHAForClusterCmd",
"jobstatus": 1,
"jobprocstatus": 0,
"jobresultcode": 0,
"jobresulttype": "object",
"jobresult": {
"success": true
},
"created": "2021-10-02T08:59:13+0000",
"completed": "2021-10-02T08:59:13+0000",
"jobid": "c0591985-d022-4a2d-b5b5-1ac209849f66"
}
},
"enableHAForCluster": {
"enablehaforclusterresponse": {
"accountid": "27ef5ba2-5fe0-11ea-9a56-1e006800018c",
"userid": "27f2484f-5fe0-11ea-9a56-1e006800018c",
"cmd": "org.apache.cloudstack.api.command.admin.ha.EnableHAForClusterCmd",
"jobstatus": 1,
"jobprocstatus": 0,
"jobresultcode": 0,
"jobresulttype": "object",
"jobresult": {
"success": true
},
"created": "2021-10-02T09:05:15+0000",
"completed": "2021-10-02T09:05:15+0000",
"jobid": "875ead2d-7b78-4bb0-83f5-c40a2a944dde"
}
},
"disableOutOfBandManagementForCluster": {
"disableoutofbandmanagementforclusterresponse": {
"accountid": "27ef5ba2-5fe0-11ea-9a56-1e006800018c",
"userid": "27f2484f-5fe0-11ea-9a56-1e006800018c",
"cmd": "org.apache.cloudstack.api.command.admin.outofbandmanagement.DisableOutOfBandManagementForClusterCmd",
"jobstatus": 1,
"jobprocstatus": 0,
"jobresultcode": 0,
"jobresulttype": "object",
"jobresult": {
"outofbandmanagement": {
"enabled": false,
"status": true
}
},
"created": "2021-10-02T09:09:04+0000",
"completed": "2021-10-02T09:09:04+0000",
"jobid": "067b171f-ca63-4d41-bb87-461589e20223"
}
},
"enableOutOfBandManagementForCluster": {
"enableoutofbandmanagementforclusterresponse": {
"accountid": "27ef5ba2-5fe0-11ea-9a56-1e006800018c",
"userid": "27f2484f-5fe0-11ea-9a56-1e006800018c",
"cmd": "org.apache.cloudstack.api.command.admin.outofbandmanagement.EnableOutOfBandManagementForClusterCmd",
"jobstatus": 1,
"jobprocstatus": 0,
"jobresultcode": 0,
"jobresulttype": "object",
"jobresult": {
"outofbandmanagement": {
"enabled": true,
"status": true
}
},
"created": "2021-10-02T09:14:30+0000",
"completed": "2021-10-02T09:14:30+0000",
"jobid": "16f517a5-247b-4f96-aba4-0e876e1e9720"
}
},
"dedicateCluster": {
"dedicateclusterresponse": {
"accountid": "27ef5ba2-5fe0-11ea-9a56-1e006800018c",
"userid": "27f2484f-5fe0-11ea-9a56-1e006800018c",
"cmd": "org.apache.cloudstack.api.commands.DedicateClusterCmd",
"jobstatus": 1,
"jobprocstatus": 0,
"jobresultcode": 0,
"jobresulttype": "object",
"jobresult": {
"dedicatedcluster": {
"id": "60a97ad1-702b-40dd-9ca5-a67954a28fbd",
"clusterid": "f1f5a259-1b55-431d-ad7e-6d39c28f1b15",
"clustername": "TestCluster",
"domainid": "e4874e10-5fdf-11ea-9a56-1e006800018c",
"accountid": "27ef5ba2-5fe0-11ea-9a56-1e006800018c",
"affinitygroupid": "a8725454-1680-4517-85ce-6f8ec08300fb"
}
},
"created": "2021-10-02T09:16:25+0000",
"completed": "2021-10-02T09:16:25+0000",
"jobid": "64e777d8-9c72-4639-aa75-057971ecd289"
}
},
"releaseDedicatedCluster": {
"releasededicatedclusterresponse": {
"accountid": "27ef5ba2-5fe0-11ea-9a56-1e006800018c",
"userid": "27f2484f-5fe0-11ea-9a56-1e006800018c",
"cmd": "org.apache.cloudstack.api.commands.ReleaseDedicatedClusterCmd",
"jobstatus": 1,
"jobprocstatus": 0,
"jobresultcode": 0,
"jobresulttype": "object",
"jobresult": {
"success": true
},
"created": "2021-10-02T14:40:30+0000",
"completed": "2021-10-02T14:40:30+0000",
"jobid": "e7cb7eb7-b77d-4568-9bcf-11bb5fd78938"
}
},
"updateCluster": {
"updateclusterresponse": {
"cluster": {
"id": "f1f5a259-1b55-431d-ad7e-6d39c28f1b15",
"name": "TestClusterUpdated",
"podid": "6137ef6f-753f-4e7b-a728-8d46a92358d2",
"podname": "POD0",
"zoneid": "04ccc336-d730-42fe-8ff6-5ae36e141e81",
"zonename": "SimZone1",
"hypervisortype": "KVM",
"clustertype": "CloudManaged",
"allocationstate": "Enabled",
"managedstate": "Managed",
"cpuovercommitratio": "1.0",
"memoryovercommitratio": "1.0",
"resourcedetails": {
"cpuOvercommitRatio": "1.0",
"resourceHAEnabled": "true",
"memoryOvercommitRatio": "1.0",
"outOfBandManagementEnabled": "true"
}
}
}
},
"deleteCluster": {
"deleteclusterresponse": {
"success": true
}
}
}