From: Alon Marx Date: Sat, 25 Jul 2015 06:48:36 +0000 (+0300) Subject: Port XIVDS8K Driver to use ABCMeta driver model X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=511cbe933e65c64888882f56c66d44cd6b970489;p=openstack-build%2Fcinder-build.git Port XIVDS8K Driver to use ABCMeta driver model Use new ABCMeta driver model for XIVDS8KDriver. Change-Id: I24eae5d3622b950dd8ff4f516258a2a33dcf7847 Partially-implements: blueprint abc-driver-update --- diff --git a/cinder/volume/drivers/ibm/xiv_ds8k.py b/cinder/volume/drivers/ibm/xiv_ds8k.py index a58eb830e..302955ec5 100644 --- a/cinder/volume/drivers/ibm/xiv_ds8k.py +++ b/cinder/volume/drivers/ibm/xiv_ds8k.py @@ -27,6 +27,7 @@ from oslo_log import log as logging from oslo_utils import importutils from cinder import exception +from cinder.volume import driver from cinder.volume.drivers.san import san xiv_ds8k_opts = [ @@ -57,7 +58,17 @@ CONF.register_opts(xiv_ds8k_opts) LOG = logging.getLogger(__name__) -class XIVDS8KDriver(san.SanDriver): +class XIVDS8KDriver(san.SanDriver, + driver.ManageableVD, + driver.ExtendVD, + driver.SnapshotVD, + driver.MigrateVD, + driver.ReplicaVD, + driver.ConsistencyGroupVD, + driver.CloneableVD, + driver.CloneableImageVD, + driver.RetypeVD, + driver.TransferVD): """Unified IBM XIV and DS8K volume driver.""" def __init__(self, *args, **kwargs):