neutron/neutron/tests/unit/plumgrid
marios c9077f6219 Make allocation_pools attribute of subnet updateable by PUT
Bug 1111572 was filed about a failed update (PUT) on
'allocation_pools' of subnet. This is currently not allowed by the
neutron API (hence DocImpact below). Following discussion on the
bug and subsequently, it seems this is a desirable feature.

This review makes the allocation_pools attribute of subnet
updateable by PUT. The semantics are that the entire allocation
pools attribute is replaced by the provided parameter (see
provided tests for details).

Unit tests added that exercise successful update of
allocation_pools with sane params and update using erroneous
allocation_pools that fall outside the subnet cidr.

DocImpact

Closes-Bug: 1111572
Change-Id: I47a3a71d0d196b76eda46b1d960193fb60417ba9
Co-Authored-By: Robert Collins <rbtcollins@hp.com>
2014-06-09 19:40:37 +03:00
..
__init__.py Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
test_plumgrid_plugin.py Make allocation_pools attribute of subnet updateable by PUT 2014-06-09 19:40:37 +03:00