Github user lttmtins commented on the pull request: https://github.com/apache/cloudstack/pull/1314#issuecomment-169384312 To test with cloudmonkey (this is the output with the pull request code underneath) you need 2 API calls (e.g. via cloudmonkey): (nl2) > list capacity sortby=usage type=0 count = 1 capacity: capacitytotal = 0 capacityused = 3501740523520 percentused = 0 type = 0 zoneid = 76251030-aca1-44c6-b47d-8010ee17e0ad zonename = NL2 (nl2) > Suggested tests to see if the 'capacitytotal != 0': (nl2) > list capacity type=0 clusterid=<uuid> (nl2) > list capacity type=1 clusterid=<uuid> (nl2) > list capacity type=3 clusterid=<uuid> (nl2) > list capacity type=0 sortby=usage (nl2) > list capacity type=1 sortby=usage (nl2) > list capacity type=3 sortby=usage
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---