[ 
https://issues.apache.org/jira/browse/JCLOUDS-1468?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ignasi Barrera updated JCLOUDS-1468:
------------------------------------
    Component/s: jclouds-compute

> Add missing fields on CloudStack usage API
> ------------------------------------------
>
>                 Key: JCLOUDS-1468
>                 URL: https://issues.apache.org/jira/browse/JCLOUDS-1468
>             Project: jclouds
>          Issue Type: New Feature
>          Components: jclouds-compute
>    Affects Versions: 2.1.1
>            Reporter: John McDonnell
>            Priority: Major
>              Labels: cloudstack
>
> Looking at the CloudStack sources[1], it seems the current version of the 
> CloudStack APIs module doesn't support all the available usage types, request 
> parameters, and response parameters.
> Usage Types missing:
>  
> ||Usage Type||Usage Type Number||
> |VM_DISK_IO_READ|21|
> |VM_DISK_IO_WRITE|22|
> |VM_DISK_BYTES_READ|23|
> |VM_DISK_BYTES_WRITE|24|
> |VM_SNAPSHOT|25|
> |VOLUME_SECONDARY|26|
> |VM_SNAPSHOT_ON_PRIMARY|27|
>  
> Source: 
> [https://github.com/apache/cloudstack/blob/master/api/src/main/java/org/apache/cloudstack/usage/UsageTypes.java]
>  
> +*List Usage Records Request*+
>  
> ||Missing flag||CloudStack implementation||Description||
> |includetags|[GetUsageRecordsCmd.java|https://github.com/apache/cloudstack/blob/master/api/src/main/java/org/apache/cloudstack/api/command/admin/usage/GetUsageRecordsCmd.java]|As
>  part  CLOUDSTACK-9958/ [PR 
> 2242|https://github.com/apache/cloudstack/pull/2242] to the CloudStack 
> project, tags were introduced to be optionally returned via the 
> ListUsageRecords command.
>  
> Part of this issue is to introduce this parameter to JClouds.|
>  +*List Usage Records Response Changes*+
> ||Missing Usage Parameter||Description||
> |domain|Unable to find when this was introduced but looks to have been part 
> of the UsageRecord response for at least 5 years|
> |virtualSize|Unable to find when this was introduced but looks to have been 
> part of the UsageRecord response for at least 5 years|
> |cpuNumber|As part of CLOUDSTACK-6850 cpuNumber, cpuSpeed and memory were 
> introduced into CloudStack|
> |cpuSpeed|As part of CLOUDSTACK-6850 cpuNumber, cpuSpeed and memory were 
> introduced into CloudStack|
> |memory|As part of CLOUDSTACK-6850 cpuNumber, cpuSpeed and memory were 
> introduced into CloudStack|
> |isSystem|Unable to find when this was introduced but looks to have been part 
> of the UsageRecord response for at least 5 years|
> |networkId|Unable to find when this was introduced but looks to have been 
> part of the UsageRecord response for at least 5 years|
> |isDefault|Unable to find when this was introduced but looks to have been 
> part of the UsageRecord response for at least 5 years|
> |tags|As part  CLOUDSTACK-9958/ [PR 
> 2242|https://github.com/apache/cloudstack/pull/2242] to the CloudStack 
> project, tags were introduced to be optionally returned via the 
> ListUsageRecords command.
>  
> Part of this issue is to introduce this parameter to JClouds.|
> Source:
> [https://github.com/apache/cloudstack/blob/master/api/src/main/java/org/apache/cloudstack/api/response/UsageRecordResponse.java]



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to