← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1245764] Re: The response of availability-zone's index is inconsistent between xml and json format

 

XML support is going away so closing this bug

** Changed in: nova
       Status: Confirmed => Invalid

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1245764

Title:
  The response of availability-zone's index is inconsistent between xml
  and json format

Status in OpenStack Compute (Nova):
  Invalid

Bug description:
  json format:

  {
      "availability_zone_info": [
          {
              "hosts": null,
              "zone_name": "nova",
              "zone_state": {
                  "available": true
              }
          }
      ]
  }

  xml format:
  <?xml version='1.0' encoding='UTF-8'?>
  <availability_zones xmlns:os-availability-zone="http://docs.openstack.org/compute/ext/availabilityzone/api/v3";>
    <availability_zone name="nova">
      <zone_state available="True"/>
      <metadata/>
    </availability_zone>
  </availability_zones>

  
  Json format use 'availability_zone_info', but xml format use 'availability_zones', we should make it consistent.

  I prefer to use 'availability_zones'

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1245764/+subscriptions