add parent/sub-resource support into Quantum API framework

Bug #1085968 reported by Oleg Bondarev
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
High
Oleg Bondarev

Bug Description

Currently the Extension Middleware has a mechanism for specifying parents for resources or in other words for specifying sub-resources. In this case corresponding sub-resource controller should be aware of resource parent and be able to handle CRUD operations with an additional parent_id parameter.
However quantum.api.v2.base.Controller is not able to handle such calls now - so we need to add sub-resource support there.

Changed in quantum:
assignee: nobody → Oleg Bondarev (obondarev)
Changed in quantum:
milestone: none → grizzly-2
importance: Undecided → High
dan wendlandt (danwent)
Changed in quantum:
status: New → Confirmed
Changed in quantum:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to quantum (master)

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

commit f4e1fa0ea7225da7eb3387f87538d47dfc03161c
Author: Oleg Bondarev <email address hidden>
Date: Tue Dec 4 19:15:09 2012 +0400

    add parent/sub-resource support into Quantum API framework

    - quantum.api.v2.base.Controller class now able to handle sub-resources
    - quantum.api.v2.router.APIRouter now able to specify sub-resources

    Fixes bug 1085968

    Change-Id: I07f2c1f3d974f7f17d4947804bde064dd8004a84

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