Subnets can be specified in the body of the create network API call meaninglessly

Bug #1046173 reported by Itsuro Oda
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
High
dan wendlandt

Bug Description

Subnets is permited 'R' operation only in the specification.
'allow_post' and 'allow_put' of the 'subnets' in the 'networks' should be False. (api/v2/attributes.py)

dan wendlandt (danwent)
Changed in quantum:
milestone: none → folsom-rc1
assignee: nobody → dan wendlandt (danwent)
importance: Undecided → High
status: New → In Progress
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/12766

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

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

commit d5e49cb8579e65a2ab6711c8942d8a65d6baf75a
Author: Dan Wendlandt <email address hidden>
Date: Tue Sep 11 01:26:57 2012 -0700

    make subnets attribute of a network read-only

    bug 1046173

    writing to the subnets attribute is not supported, so rather than
    making it looks like we accept it but ignoring it, we should explicitly
    reject requests to specify it on network create/update.

    Change-Id: I5b6f0f35794c9d5606befb97a89c6c6c97ee3dbf

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: folsom-rc1 → 2012.2
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.