mathieu-rohon 21bf28bc86 Add check for subnet update with conflict gateway and allocation_pools
Fixes: bug 1062061

The patch will raise exception 'GatewayConflictWithAllocationPools' when
subnet update with conflict gateway and allocation_pools.

Because before validate gateway ip with conflict allocation pools, we need
validate allocation pools first. Move the validation of allocation pools
into _validate_subnet. Then_allocate_pools_for_subnet is only responsible
for pools allocation, and_validate_subnet is responsible for most validate
for subnet.

Change-Id: I8dffe45ce5c02e8e6c317bad470054564538bcf2
2013-02-13 14:39:45 +01:00
..
2013-01-22 11:42:15 +08:00
2013-01-22 11:42:15 +08:00
2013-01-22 11:42:15 +08:00
2013-01-02 16:47:54 +00:00
2013-01-24 17:16:52 +08:00
2013-01-22 11:42:15 +08:00