summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkihiro Motoki <motoki@da.jp.nec.com>2015-04-09 14:41:36 +0900
committerAkihiro Motoki <motoki@da.jp.nec.com>2015-04-09 14:44:35 +0900
commitd6cfd34e13426b88b40cb6ef7fdcd60d9b7dcb6b (patch)
tree62ec1e0e52062bad4e1ac2f1e8e08f59f40a8a9e
parent5b464578a74f71e68bec8fb5e22ffaf421bc7247 (diff)
downloadpython-neutronclient-d6cfd34e13426b88b40cb6ef7fdcd60d9b7dcb6b.tar.gz
Revert "Remove unused AlreadyAttachedClient"
The removal of AlreadyAtatchedClient exception from neutronclient suddenly causes the failure of neutronclient icehouse job. It is better to wait the removal of the exception until Icehouse EOL (which will come soon). This reverts commit 30b198edec988d7c969c1edd4a2754bd9c9c79f4. Closes-Bug: #1441969 Change-Id: Ifa02a4ca39bc9c0fe9b65d5b0d66c588885cb12c
-rw-r--r--neutronclient/common/exceptions.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/neutronclient/common/exceptions.py b/neutronclient/common/exceptions.py
index 9a12f19..9728fbd 100644
--- a/neutronclient/common/exceptions.py
+++ b/neutronclient/common/exceptions.py
@@ -148,6 +148,12 @@ class OverQuotaClient(Conflict):
pass
+# TODO(amotoki): It is unused in Neutron, but it is referred to
+# in Horizon code. After Horizon code is updated, remove it.
+class AlreadyAttachedClient(Conflict):
+ pass
+
+
class IpAddressGenerationFailureClient(Conflict):
pass