b7b7fd919d
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>