Add missing exception NetworkDuplicated

NetworkDuplicated is missing from nova.exception but used in quantumv2

Part of bug 1078067

Change-Id: I115b6171cc119b62bd2cd8d96420188a6488db54
This commit is contained in:
Yun Mao 2012-11-12 14:18:24 -05:00
parent fe4124e2f7
commit a5e26af512

View File

@ -520,6 +520,10 @@ class StorageRepositoryNotFound(NotFound):
message = _("Cannot find SR to read/write VDI.")
class NetworkDuplicated(NovaException):
message = _("Network %(network_id)s is duplicated.")
class NetworkInUse(NovaException):
message = _("Network %(network_id)s is still in use.")