summaryrefslogtreecommitdiffstats
path: root/nova/exception.py
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2012-10-12 21:59:36 +0000
committerGerrit Code Review <review@openstack.org>2012-10-12 21:59:36 +0000
commitbb53babeae5b8d540bba8bb3327e8a86c8977368 (patch)
tree0a87ee8efff38f934345f210b24f5e09899881c8 /nova/exception.py
parent0b971dd9120bd26e8dc534b32d01650fcb87c4f8 (diff)
parentce04b13f26169e2d71b7d3122d3a769cb4348bf7 (diff)
Merge "Dis-associate an auto-assigned floating IP should return proper warning"
Diffstat (limited to 'nova/exception.py')
-rw-r--r--nova/exception.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/nova/exception.py b/nova/exception.py
index 4261ad3ab..8983103dd 100644
--- a/nova/exception.py
+++ b/nova/exception.py
@@ -678,6 +678,10 @@ class NoFloatingIpInterface(NotFound):
message = _("Interface %(interface)s not found.")
+class CannotDisassociateAutoAssignedFloatingIP(NovaException):
+ message = _("Cannot disassociate auto assigined floating ip")
+
+
class KeypairNotFound(NotFound):
message = _("Keypair %(name)s not found for user %(user_id)s")