Delete fixed_ips when network is deleted
* adds failing test * adds exception that is raised when network is in use * fixes bug 754900 Change-Id: Ib95dc5927561b979b1eea237d4d6dc323483d4a5
This commit is contained in:
@@ -525,6 +525,10 @@ class StorageRepositoryNotFound(NotFound):
|
||||
message = _("Cannot find SR to read/write VDI.")
|
||||
|
||||
|
||||
class NetworkInUse(NovaException):
|
||||
message = _("Network %(network_id)s is still in use.")
|
||||
|
||||
|
||||
class NetworkNotCreated(NovaException):
|
||||
message = _("%(req)s is required to create a network.")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user