cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ustcweizhou <...@git.apache.org>
Subject [GitHub] cloudstack pull request #1901: [4.9] CLOUDSTACK-9405: add details parameter ...
Date Fri, 13 Jan 2017 07:28:05 GMT
Github user ustcweizhou commented on a diff in the pull request:

    https://github.com/apache/cloudstack/pull/1901#discussion_r95948158
  
    --- Diff: api/src/org/apache/cloudstack/api/command/admin/domain/ListDomainsCmd.java ---
    @@ -53,6 +59,12 @@
                    description = "If set to false, list only resources belonging to the command's
caller; if set to true - list resources that the caller is authorized to see. Default value
is false")
         private Boolean listAll;
     
    +    @Parameter(name = ApiConstants.DETAILS,
    +               type = CommandType.LIST,
    +               collectionType = CommandType.STRING,
    +               description = "comma separated list of host details requested, value can
be a list of [ all, resource, min]")
    --- End diff --
    
    @serg38 currently no difference. However if we want to add more type of details, then
it will be useful. for example, we add a new detail type: stats in our branch.
    
    the defition is copied from listhosts API (you can see host details in the decription,
I will change it).


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message