summaryrefslogtreecommitdiffstats
path: root/nova/exception.py
diff options
context:
space:
mode:
authorEldar Nugaev <reldan@oscloud.ru>2011-06-25 03:05:09 +0400
committerEldar Nugaev <reldan@oscloud.ru>2011-06-25 03:05:09 +0400
commit5e4d90b33ddb993294232eea168a768486ba0bf4 (patch)
tree779fa6ddbf949a7b322919c0102c4e7691aa7771 /nova/exception.py
parent62018b1abaa007f8f530ba08d74413c59e2814cb (diff)
downloadnova-5e4d90b33ddb993294232eea168a768486ba0bf4.tar.gz
nova-5e4d90b33ddb993294232eea168a768486ba0bf4.tar.xz
nova-5e4d90b33ddb993294232eea168a768486ba0bf4.zip
added disassociate method to tests
Diffstat (limited to 'nova/exception.py')
-rw-r--r--nova/exception.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/nova/exception.py b/nova/exception.py
index 64abff9af..8230c2b26 100644
--- a/nova/exception.py
+++ b/nova/exception.py
@@ -359,9 +359,11 @@ class DatastoreNotFound(NotFound):
class NoFixedIpsFoundForInstance(NotFound):
message = _("Instance %(instance_id)s has zero fixed ips.")
+
class FloatingIpNotDefined(NotFound):
message = _("Floating ip %(floating_ip)s not found")
+
class FloatingIpNotFound(NotFound):
message = _("Floating ip not found for fixed address %(fixed_ip)s.")