provider networks: plugins should specify supported network types

Bug #1133064 reported by Salvatore Orlando
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Medium
Salvatore Orlando

Bug Description

We have had for a long time this TODO in extension/providernet.py

# TODO(salvatore-orlando): Devise a solution for allowing plugins
# to alter the set of allowed values

As a result, we already have a plugin-specific network-type in this module, and more might come in the future.
It is probably worth addressing this in the current release, as the change will just require the extension to check if the plugin has supported network types and extend the resource attribute map accordingly, with the new validation data.

Tags: api
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to quantum (master)

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

Changed in quantum:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to quantum (master)

Reviewed: https://review.openstack.org/22928
Committed: http://github.com/openstack/quantum/commit/c2653d519ddeb5dc85fb6e7d11f8983c3d850dfa
Submitter: Jenkins
Branch: master

commit c2653d519ddeb5dc85fb6e7d11f8983c3d850dfa
Author: Salvatore Orlando <email address hidden>
Date: Mon Feb 25 11:37:34 2013 +0100

    Remove network type validation from provider networks extension

    Bug 1133064

    As the set of valid network types for the provider networks extension
    depends on the particular plugin, validation should be performed there.

    Change-Id: I3ce5762458bc553625a458ace80072bd804e31f0

Changed in quantum:
status: In Progress → Fix Committed
Changed in quantum:
importance: Undecided → Medium
Thierry Carrez (ttx)
Changed in quantum:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in quantum:
milestone: grizzly-rc1 → 2013.1
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.