[
https://issues.apache.org/jira/browse/CLOUDSTACK-336?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rohit Yadav reassigned CLOUDSTACK-336:
--------------------------------------
Assignee: Rohit Yadav
> listZones doesn't honour paging
> -------------------------------
>
> Key: CLOUDSTACK-336
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-336
> 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: Rohit Yadav
> Priority: Minor
> Fix For: 4.1.0
>
>
> When there's a single zone, this API call should return no results:
> http://192.168.1.90:8080/client/api?page=132&pagesize=100&command=listZones&apiKey=cXffVceGdldAQ3jTwbitAh-XIPDlDTs7s9OGSy7QY9ot3Dqg9Ge1fO4dLciG7zTP1cRyik1DPdHJq6pz4y9iIA&signature=kQr%2bTSbQom6tGAjGyCXzihKU4yk%3d
> Instead, it returns the one zone present:
> <?xml version="1.0" encoding="utf-16"?>
> <listzonesresponse cloud-stack-version="3.0.2.20120506222834">
> <count>1</count>
> <zone>
> <id>fc9a3d8c-6ae0-4a9e-82e5-12c65712ce04</id>
> <name>Zone1</name>
> <dns1>192.168.1.254</dns1>
> <internaldns1>192.168.1.254</internaldns1>
> <networktype>Basic</networktype>
> <securitygroupsenabled>true</securitygroupsenabled>
> <allocationstate>Enabled</allocationstate>
> <zonetoken>787d94d6-520e-321a-9017-76485505ab16</zonetoken>
> <dhcpprovider>VirtualRouter</dhcpprovider>
> </zone>
> </listzonesresponse>
--
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