You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@jclouds.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2018/12/05 18:47:00 UTC

[jira] [Commented] (JCLOUDS-1468) Add missing fields on CloudStack usage API

    [ https://issues.apache.org/jira/browse/JCLOUDS-1468?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16710475#comment-16710475 ] 

ASF subversion and git services commented on JCLOUDS-1468:
----------------------------------------------------------

Commit 25f2bcd8c9b170b26ce8eb8c9db542d6f42eb1d7 in jclouds's branch refs/heads/master from [~john_mcdonnell]
[ https://git-wip-us.apache.org/repos/asf?p=jclouds.git;h=25f2bcd ]

[JCLOUDS-1468] Adding missing options for the ListUsageRecords API call.


> 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)