neutron/neutron/db
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
..
firewall FWaaS - fix reordering of rules in policy 2013-09-17 23:46:56 -07:00
loadbalancer Fix H302 violations in db package and services 2014-04-22 15:31:00 +02:00
metering Fix Metering doesn't respect the l3 agent binding 2014-04-14 17:05:57 +02:00
migration Merge "Check DB scheme prior to migration to Ml2" 2014-06-09 15:11:19 +00:00
vpn Fix H302 violations in db package and services 2014-04-22 15:31:00 +02:00
__init__.py Update License Headers to replace Nicira with VMware 2014-02-27 08:11:15 +00:00
agents_db.py Fix some typos in neutron/db and IBM SDN-VE plugin 2014-05-13 01:44:38 +00:00
agentschedulers_db.py Merge "Fix some typos in neutron/db and IBM SDN-VE plugin" 2014-05-28 09:40:36 +00:00
allowedaddresspairs_db.py Allowed Addresspairs: Removing check for overlap with fixed ips 2014-05-21 18:41:55 +00:00
api.py Sync db code from oslo-incubator 2014-04-23 18:14:49 +03:00
db_base_plugin_v2.py Make allocation_pools attribute of subnet updateable by PUT 2014-06-09 19:40:37 +03:00
dhcp_rpc_base.py Fix KeyError exception while updating dhcp port 2014-05-28 11:46:13 -07:00
external_net_db.py Fix some typos in neutron/db and IBM SDN-VE plugin 2014-05-13 01:44:38 +00:00
extradhcpopt_db.py Correctly inherit __table_args__ from parent class 2014-03-17 13:37:46 +00:00
extraroute_db.py Performance improvement of router routes operations 2014-05-02 08:16:37 +09:00
l3_agentschedulers_db.py Fix H302 violations in db package and services 2014-04-22 15:31:00 +02:00
l3_db.py Allow L3 base to handle extensions on router creation 2014-06-04 01:27:15 -07:00
l3_gwmode_db.py Update License Headers to replace Nicira with VMware 2014-02-27 08:11:15 +00:00
l3_rpc_base.py Fix race condition in update_floatingip_statuses 2014-03-04 20:28:01 -08:00
model_base.py Apply Oslo ModelBase to NeutronBase 2013-07-08 10:14:26 +08:00
models_v2.py Make allocation_pools attribute of subnet updateable by PUT 2014-06-09 19:40:37 +03:00
portbindings_base.py Removing vim header lines 2014-04-01 10:38:31 -04:00
portbindings_db.py Removing vim header lines 2014-04-01 10:38:31 -04:00
portsecurity_db.py Update License Headers to replace Nicira with VMware 2014-02-27 08:11:15 +00:00
quota_db.py Removing vim header lines 2014-04-01 10:38:31 -04:00
routedserviceinsertion_db.py Removing vim header lines 2014-04-01 10:38:31 -04:00
routerservicetype_db.py Removing vim header lines 2014-04-01 10:38:31 -04:00
securitygroups_db.py Fix some typos in neutron/db and IBM SDN-VE plugin 2014-05-13 01:44:38 +00:00
securitygroups_rpc_base.py Fix protocol value for SG IPV6 RA rule 2014-04-25 21:41:19 +05:30
servicetype_db.py Removing vim header lines 2014-04-01 10:38:31 -04:00
sqlalchemyutils.py Fix H302 violations in db package and services 2014-04-22 15:31:00 +02:00