XML type is not "neutron:type" but "quantum:type"

Bug #1239309 reported by Akihiro Motoki
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openstack-api-site
Fix Released
High
Diane Fleming
openstack-manuals
Fix Released
High
Diane Fleming

Bug Description

In Havana neutron and python-neutronclient code, "quantum:type" is used to represent Neutron-specific types as follows. However, the examples in the netconn-api document use "neutron:type".

DEBUG: neutronclient.client
REQ: curl -i http://157.7.133.23:9696/v2.0/networks/0e76d48f-c9fd-428d-bb4d-8396c71a56a7.xml -X GET -H "X-Auth-Token: a99fbe28136d46f3b85373f0b361376a" -H "Content-Type: application/xml" -H "Accept: application/xml" -H "User-Agent: python-neutronclient"

DEBUG: neutronclient.client RESP:{'date': 'Sun, 13 Oct 2013 09:57:41 GMT', 'status': '200', 'content-length': '856', 'content-type': 'application/xml; charset=UTF-8', 'content-location': 'http://157.7.133.23:9696/v2.0/networks/0e76d48f-c9fd-428d-bb4d-8396c71a56a7.xml'} <?xml version='1.0' encoding='UTF-8'?>
<network xmlns="http://openstack.org/quantum/api/v2.0" xmlns:provider="http://docs.openstack.org/ext/provider/api/v1.0" xmlns:quantum="http://openstack.org/quantum/api/v2.0" xmlns:router="http://docs.openstack.org/ext/neutron/router/api/v1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><status>ACTIVE</status><subnets><subnet>f97e86a6-fe0d-4dea-aaff-f45504667a8c</subnet></subnets><name>net1</name><provider:physical_network xsi:nil="true" /><admin_state_up quantum:type="bool">True</admin_state_up><tenant_id>16cdbe38d8e34050aafd1d1e135d2d77</tenant_id><provider:network_type>local</provider:network_type><router:external quantum:type="bool">False</router:external><shared quantum:type="bool">False</shared><id>0e76d48f-c9fd-428d-bb4d-8396c71a56a7</id><provider:segmentation_id xsi:nil="true" /></network>

Tags: netconn-api
Tom Fifield (fifieldt)
Changed in openstack-api-site:
status: New → Confirmed
importance: Undecided → High
milestone: none → havana
Changed in openstack-api-site:
assignee: nobody → Diane Fleming (diane-fleming)
Revision history for this message
Diane Fleming (diane-fleming) wrote :

Already fixed through another bug.

Changed in openstack-api-site:
status: Confirmed → Fix Committed
Changed in openstack-manuals:
importance: Undecided → High
status: New → In Progress
assignee: nobody → Diane Fleming (diane-fleming)
milestone: none → havana
Tom Fifield (fifieldt)
Changed in openstack-manuals:
status: In Progress → Fix Released
Changed in openstack-api-site:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.