[
https://issues.apache.org/jira/browse/CLOUDSTACK-7847?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15301408#comment-15301408
]
ASF subversion and git services commented on CLOUDSTACK-7847:
-------------------------------------------------------------
Commit 550aabb3082e2df4787ada8904f67b086213db09 in cloudstack's branch
refs/heads/master from [[email protected]]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=550aabb ]
Merge pull request #1550 from ustcweizhou/CLOUDSTACK-9380-listDomains-NPE
CLOUDSTACK-9380: fix NPE in listDomains API for a mistakeThe issue happens if
volumeTotal is NULL in database.
This is caused by commit 0407fb334f3a79f570217f35636b47076b06d500 for
CLOUDSTACK-7847.
* pr/1550:
CLOUDSTACK-9380: fix NPE in listDomains API for a mistake
Signed-off-by: Will Stevens <[email protected]>
> API: listDomains should display the domain resources, similar to listAccounts
> -----------------------------------------------------------------------------
>
> Key: CLOUDSTACK-7847
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7847
> Project: CloudStack
> Issue Type: Improvement
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Components: API
> Affects Versions: 4.4.0
> Environment: CloudStack 4.4.0 w/ KVM Hypervisor on Ubuntu 14.04 LTS
> Reporter: Logan B
> Assignee: Wei Zhou
> Fix For: 4.6.0
>
>
> Currently the "listDomains" call does not display any resource statistics.
> Since resources can be limited at the Domain level, it would make sense to
> have the "listDomains" call return the resource limit & usage details the
> same way "listAccounts" does.
> I would suggest having it return the following details for the domain:
> - Max/Used IPs
> - Max/Used Templates
> - Max/Used Snapshots
> - Max/Used VPC
> - Max/Used Networks
> - Max/Used Memory
> - Max/Used Projects
> - Max/Used vCPU Count
> - Max/Used CPU Mhz (This may not actually be tracked by CloudStack)
> - Max/Used Primary Storage
> - Max/Used Secondary Storage
> - I may have missed some.
> This would make it much easier to pull statistics information for a domain,
> instead of having to use multiple other calls.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)