Kenneth Bell created CLOUDSTACK-419:
---------------------------------------

             Summary: 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
          Components: API
    Affects Versions: pre-4.0.0
            Reporter: Kenneth Bell
            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