]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
make subnets attribute of a network read-only
authorDan Wendlandt <dan@nicira.com>
Tue, 11 Sep 2012 08:26:57 +0000 (01:26 -0700)
committerDan Wendlandt <dan@nicira.com>
Tue, 11 Sep 2012 08:26:57 +0000 (01:26 -0700)
commitd5e49cb8579e65a2ab6711c8942d8a65d6baf75a
tree24f37de6c2451019a62fb6e015d0bb08f0076387
parent76bb3e253ca2ed82793ede6c1b497bf21e8116d1
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
quantum/api/v2/attributes.py
quantum/tests/unit/test_api_v2.py