Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 3F61D200AE4 for ; Thu, 26 May 2016 05:06:26 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 3E0F1160A34; Thu, 26 May 2016 03:06:26 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 88574160A2E for ; Thu, 26 May 2016 05:06:25 +0200 (CEST) Received: (qmail 82968 invoked by uid 500); 26 May 2016 03:06:14 -0000 Mailing-List: contact issues-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list issues@cloudstack.apache.org Received: (qmail 82683 invoked by uid 500); 26 May 2016 03:06:14 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 82581 invoked by uid 99); 26 May 2016 03:06:14 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 May 2016 03:06:14 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 340392C1F68 for ; Thu, 26 May 2016 03:06:14 +0000 (UTC) Date: Thu, 26 May 2016 03:06:14 +0000 (UTC) From: "ASF subversion and git services (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CLOUDSTACK-7847) API: listDomains should display the domain resources, similar to listAccounts MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 26 May 2016 03:06:26 -0000 [ 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 [~williamstevens@gmail.com] [ 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 > 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)