]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Add 'allocation_pools' to Quantum v2 API subnets.
authorSalvatore Orlando <salv.orlando@gmail.com>
Thu, 28 Jun 2012 09:22:36 +0000 (10:22 +0100)
committerSalvatore Orlando <salv.orlando@gmail.com>
Tue, 3 Jul 2012 18:27:40 +0000 (19:27 +0100)
commitb99dde80e2cb04943d6bf2d17e70c1c976d90da8
tree730be942b866dff0f8651415695d2f52528cffd2
parent06900100ad6ddf81c7e5d48a17db079969dd80ce
Add 'allocation_pools' to Quantum v2 API subnets.

This changeset adds a new parameter, 'allocation_pools' to the 'subnet'
resource of the Quantum v2 API.
Allows for creating and validation of subnets with multiple allocation pools.
This commit only deals with POST verb (subnet creation).
PUT verb (subnet update) will be dealt with in a subsequent commit.

This is the first commit for fixing bug #1016308

Change-Id: Ic356dcb5dcfa46af8ecc7e598529881f8bcbbeed
quantum/api/v2/base.py
quantum/api/v2/router.py
quantum/api/v2/views.py
quantum/common/exceptions.py
quantum/db/db_base_plugin_v2.py
quantum/db/models_v2.py
quantum/tests/unit/test_db_plugin.py