[
https://issues.apache.org/jira/browse/CLOUDSTACK-9997?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16097194#comment-16097194
]
ASF subversion and git services commented on CLOUDSTACK-9997:
-------------------------------------------------------------
Commit 088cca2b2897846637eb5433bb0e344569005265 in cloudstack's branch
refs/heads/master from Wei Zhou
[ https://gitbox.apache.org/repos/asf?p=cloudstack.git;h=088cca2 ]
CLOUDSTACK-9997: Add cpu cores information in CapacityResponse
This commit contains following changes
(1) add CPU CORE information in op_host_capacity
(2) add capacity name in the CapacityResponse
(3) add allocatedCapacity for CPU/MEMORY/CPU CORE for zones
(4) sort CapacityResponse by zonename and CapacityType
> 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)