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
8.5 KiB
8.5 KiB