Details
-
New Feature
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.1.1
Description
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 |
List Usage Records Request
Missing flag | CloudStack implementation | Description |
---|---|---|
includetags | GetUsageRecordsCmd.java | As part CLOUDSTACK-9958/ PR 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 |
cpuSpeed | As part of |
memory | As part of |
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 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: