[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-419?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Rohit Yadav resolved CLOUDSTACK-419.
------------------------------------

    Resolution: Won't Fix

This was much broken in 3.x releases, all responses would have uuids. Not 
fix-able, as some of the entities could be uuids (new ones) and old ones have 
still have (ids). In response, we'll always get values from uuid column from 
database.

To handle upgrade path in 4.1, we'll copy all ids to uuid fields so the 
response will have long int ids in case of old entities but all new entities 
will have uuids.

                
> domainid zone property is a long, not a UUID
> --------------------------------------------
>
>                 Key: CLOUDSTACK-419
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-419
>             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
>
> See example response to listZones below, notice domainid in the second zone 
> record is an int, rather than a uuid.
> <?xml version="1.0" encoding="utf-16"?>
> <listzonesresponse cloud-stack-version="3.0.2.20120506222834">
>   <count>2</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>
>   <zone>
>     <id>5873a6e5-a4d2-4763-b11e-1cfa3268c158</id>
>     <name>NewZone</name>
>     <dns1>192.168.1.254</dns1>
>     <internaldns1>192.168.1.254</internaldns1>
>     <guestcidraddress>10.1.1.0/24</guestcidraddress>
>     <domainid>1</domainid>
>     <domainname>ROOT</domainname>
>     <networktype>Advanced</networktype>
>     <securitygroupsenabled>false</securitygroupsenabled>
>     <allocationstate>Disabled</allocationstate>
>     <zonetoken>b15a1b8a-fee5-3fc7-8a0c-ec7c6ca41384</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

Reply via email to