summaryrefslogtreecommitdiffstats
path: root/nova/exception.py
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2012-01-24 22:24:57 +0000
committerGerrit Code Review <review@openstack.org>2012-01-24 22:24:57 +0000
commitbf5f01ce637ad80c46c2d30bd563829f1e5bf18f (patch)
tree8f088591fefe9601b85f27571fb5c5213aadfeb6 /nova/exception.py
parentb328b0422035212c844ff5bbcc03f648fb7a2779 (diff)
parent8279240ee30d55d127e4d964a9861b721ac7cc74 (diff)
downloadnova-bf5f01ce637ad80c46c2d30bd563829f1e5bf18f.tar.gz
nova-bf5f01ce637ad80c46c2d30bd563829f1e5bf18f.tar.xz
nova-bf5f01ce637ad80c46c2d30bd563829f1e5bf18f.zip
Merge "Handle error in associate floating IP (bug 845507)"
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 42ec908d7..8eda6bfc6 100644
--- a/nova/exception.py
+++ b/nova/exception.py
@@ -588,6 +588,10 @@ class NoFloatingIpsDefined(NotFound):
message = _("Zero floating ips exist.")
+class NoFloatingIpInterface(NotFound):
+ message = _("Interface %(interface)s not found.")
+
+
class KeypairNotFound(NotFound):
message = _("Keypair %(name)s not found for user %(user_id)s")