cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Prasanna Santhanam (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-420) listZones missing name parameter
Date Wed, 27 Feb 2013 08:11:14 GMT

    [ https://issues.apache.org/jira/browse/CLOUDSTACK-420?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13588106#comment-13588106
] 

Prasanna Santhanam commented on CLOUDSTACK-420:
-----------------------------------------------

Fixed on master and 4.1. Thanks for the patch



Tested using cloudmonkey on  devcloud
tty> list zones
count = 1
zone:
====
id = 80ecf86e-13c7-47ea-b166-f282bd419c78
allocationstate = Disabled
dhcpprovider = VirtualRouter
dns1 = 8.8.8.8
dns2 = 4.4.4.4
internaldns1 = 192.168.56.1
localstorageenabled = True
name = DevCloud0
networktype = Basic
securitygroupsenabled = True
zonetoken = 0e826c08-57d1-39a7-a2a4-ac92948c6f67

tty> list zones  
available=       domainid=        id=              isAsync=         keyword=         page=
           pagesize=        showcapacities=  
tty> list zones name=Dev

tty> list zones name=DevCloud0
count = 1
zone:
====
id = 80ecf86e-13c7-47ea-b166-f282bd419c78
allocationstate = Disabled
dhcpprovider = VirtualRouter
dns1 = 8.8.8.8
dns2 = 4.4.4.4
internaldns1 = 192.168.56.1
localstorageenabled = True
name = DevCloud0
networktype = Basic
securitygroupsenabled = True
zonetoken = 0e826c08-57d1-39a7-a2a4-ac92948c6f67

tty> list zones name=DevCloud 


                
> listZones missing name parameter
> --------------------------------
>
>                 Key: CLOUDSTACK-420
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-420
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: API
>    Affects Versions: pre-4.0.0
>            Reporter: Kenneth Bell
>            Assignee: Prasanna Santhanam
>            Priority: Minor
>
> Unlike all the other listXXX API calls, listZones doesn't take the name of the zone as
a parameter.
> This is inconvenient as it means in some code I'm writing I have to query all zones,
and filter client-side, rather than retrieving just the zone of interest.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message