Neutron: "List provider networks" doesn't show fully parameters

Bug #1529545 reported by Cao Xuan Hoang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openstack-api-site
Fix Released
Low
Cao Xuan Hoang

Bug Description

Networking API v2.0 extensions (Networks provider extended attributes): http://developer.openstack.org/api-ref-networking-v2-ext.html#listProviderNetworks

Issue: Lists provider networks that are accessible to the tenant who submits the request. Response parameters table and JSON response doesn't show fully parameters (not has "availability_zone_hints" and "availability_zones" attributes).
For example:

Current:
{
    "network": {
        {
            "status": "ACTIVE",
            "subnets": [
                "54d6f61d-db07-451c-9ab3-b9609b6b6f0b"
            ],
            "name": "private-network",
            "provider:physical_network": null,
            "admin_state_up": true,
            "tenant_id": "4fd44f30292945e481c7b8a0c8908869",
            "provider:network_type": "local",
            "mtu": 0,
            "router:external": true,
            "shared": true,
            "id": "d32019d3-bc6e-4319-9c1d-6722fc136a22",
            "provider:segmentation_id": null
        },

It should be updated as below:
{
    "network": {
        {
            "status": "ACTIVE",
            "subnets": [
                "54d6f61d-db07-451c-9ab3-b9609b6b6f0b"
            ],
            "availability_zone_hints": [ ],
            "availability_zones": [
                 "nova"
            ],
            "name": "private-network",
            "provider:physical_network": null,
            "admin_state_up": true,
            "tenant_id": "4fd44f30292945e481c7b8a0c8908869",
            "provider:network_type": "local",
            "mtu": 0,
            "router:external": true,
            "shared": true,
            "port_security_enabled": true,
            "id": "d32019d3-bc6e-4319-9c1d-6722fc136a22",
            "provider:segmentation_id": null
        },

Tags: neutron
Cao Xuan Hoang (hoangcx)
Changed in openstack-api-site:
assignee: nobody → Cao Xuan Hoang (hoangcx)
Atsushi SAKAI (sakaia)
tags: added: neutron
Changed in openstack-api-site:
status: New → Confirmed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to api-site (master)

Fix proposed to branch: master
Review: https://review.openstack.org/261933

Changed in openstack-api-site:
importance: Undecided → Low
milestone: none → mitaka
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to api-site (master)

Reviewed: https://review.openstack.org/261933
Committed: https://git.openstack.org/cgit/openstack/api-site/commit/?id=a4f1220749e8bf772c3c084115e38ce5f6f3bc1b
Submitter: Jenkins
Branch: master

commit a4f1220749e8bf772c3c084115e38ce5f6f3bc1b
Author: Nguyen Phuong An <email address hidden>
Date: Mon Dec 28 15:19:24 2015 +0700

    Adding availability_zone attributes

    This patch adds "availability_zones" & "availability_zone_hints" attributes
    into response parameter of list/create/update/show network provider
    extension.

    Co-Authored-By: Cao Xuan Hoang <email address hidden>

    Closes-Bug: #1529545

    Change-Id: If77038d6d90d5d7a79536014e69734c85624a94e

Changed in openstack-api-site:
status: Confirmed → 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.