summaryrefslogtreecommitdiffstats
path: root/nova/exception.py
diff options
context:
space:
mode:
authorAkihiro MOTOKI <motoki@da.jp.nec.com>2012-09-13 21:22:33 +0900
committerAkihiro MOTOKI <motoki@da.jp.nec.com>2012-10-09 15:28:26 +0900
commit7948b7a572e33e3fd541e27f2617d832eb43b504 (patch)
treedca8b796c48f6518a525a53082fe2997620c2d75 /nova/exception.py
parentfb101685cc14ed9b0396ce966e571d3fb457c32f (diff)
downloadnova-7948b7a572e33e3fd541e27f2617d832eb43b504.tar.gz
nova-7948b7a572e33e3fd541e27f2617d832eb43b504.tar.xz
nova-7948b7a572e33e3fd541e27f2617d832eb43b504.zip
Proxy floating IP calls to quantum
Fixes bug 1023169. Also fixes bug 1031119. In Folsom, floating IP support is moved to Quantum. By this commit floating IP calls to nova are proxied to Quantum and nova command can be used to manage floating IPs. pip-requires is also updated and now requires python-quantumclient >=2.1 which supports floating IP feature in Quantum. Change-Id: I2c32948a8fe291601216dc62d546da64a8fb8428
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