Wei Zhou created CLOUDSTACK-9997:
------------------------------------
Summary: Add cpu cores information in CapacityResponse
Key: CLOUDSTACK-9997
URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9997
Project: CloudStack
Issue Type: Improvement
Security Level: Public (Anyone can view this level - this is the default.)
Reporter: Wei Zhou
Assignee: Wei Zhou
for now, the capacity of following type are shown
CAPACITY_TYPE_MEMORY = 0* CAPACITY_TYPE_CPU = 1* CAPACITY_TYPE_STORAGE = 2*
CAPACITY_TYPE_STORAGE_ALLOCATED = 3* CAPACITY_TYPE_VIRTUAL_NETWORK_PUBLIC_IP =
4* CAPACITY_TYPE_PRIVATE_IP = 5* CAPACITY_TYPE_SECONDARY_STORAGE = 6*
CAPACITY_TYPE_VLAN = 7* CAPACITY_TYPE_DIRECT_ATTACHED_PUBLIC_IP = 8*
CAPACITY_TYPE_LOCAL_STORAGE = 9
actually GPU information is also there.
We need to add cpu cores to the response as well.
see https://cloudstack.apache.org/api/apidocs-4.9/apis/listCapacity.html
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)