summaryrefslogtreecommitdiffstats
path: root/nova/exception.py
diff options
context:
space:
mode:
Diffstat (limited to 'nova/exception.py')
-rw-r--r--nova/exception.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/nova/exception.py b/nova/exception.py
index 0b969e625..4261ad3ab 100644
--- a/nova/exception.py
+++ b/nova/exception.py
@@ -648,6 +648,15 @@ class FloatingIpNotFoundForHost(FloatingIpNotFound):
message = _("Floating ip not found for host %(host)s.")
+class FloatingIpMultipleFoundForAddress(NovaException):
+ message = _("Multiple floating ips are found for address %(address)s.")
+
+
+class FloatingIpPoolNotFound(NotFound):
+ message = _("Floating ip pool not found.")
+ safe = True
+
+
class NoMoreFloatingIps(FloatingIpNotFound):
message = _("Zero floating ips available.")
safe = True