summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVishvananda Ishaya <vishvananda@gmail.com>2011-09-13 14:32:24 -0700
committerVishvananda Ishaya <vishvananda@gmail.com>2011-09-13 14:32:24 -0700
commitde94312a584a25bd70e0410e69aef34bf7c275d4 (patch)
tree782334f53d03eaafdaaf782c004d1384b2b69bf2
parent67a2445265c8bce704802935b83c6e1ece805332 (diff)
deprecate aoe
-rw-r--r--nova/volume/driver.py9
1 files changed, 8 insertions, 1 deletions
diff --git a/nova/volume/driver.py b/nova/volume/driver.py
index 35e3ea8d0..e5bb498ed 100644
--- a/nova/volume/driver.py
+++ b/nova/volume/driver.py
@@ -221,7 +221,14 @@ class VolumeDriver(object):
class AOEDriver(VolumeDriver):
- """Implements AOE specific volume commands."""
+ """WARNING! Deprecated. This driver will be removed in Essex. Its use
+ is not recommended.
+
+ Implements AOE specific volume commands."""
+
+ def __init__(self, *args, **kwargs):
+ LOG.warn(_("AOEDriver is deprecated and will be removed in Essex"))
+ super(AOEDriver, self).__init__(*args, **kwargs)
def ensure_export(self, context, volume):
# NOTE(vish): we depend on vblade-persist for recreating exports