From 7948b7a572e33e3fd541e27f2617d832eb43b504 Mon Sep 17 00:00:00 2001 From: Akihiro MOTOKI Date: Thu, 13 Sep 2012 21:22:33 +0900 Subject: 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 --- nova/exception.py | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'nova/exception.py') 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 -- cgit