Files
vmware-nsx/neutron/common/exceptions.py
Salvatore Orlando c19ed7aac8 Forbid update of subnet gateway ip when in use by a port
Bug 1186322

If a port is currently using the subnet's gateway IP, which usually
happens for router interfaces, do not allow updates to the gateway IP.
This patch adds an extra query on the IPAllocation model, which
returns at most a single record, and is executed in _validate_subnet
only when the subnet is updated.

Change-Id: Ie29be1b83f9a639562bfc84f3f2c082833126d32
2013-08-28 14:34:17 -07:00

8.5 KiB