[ https://issues.apache.org/jira/browse/CLOUDSTACK-7847?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14230039#comment-14230039 ]
Logan B commented on CLOUDSTACK-7847: ------------------------------------- Wei, Please makes sure to post the commit id here when ready. I'll be happy to test it, as we will need to pull this into our 4.5 deployment so we can display statistics to our customers without giant loop calls. > 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)