From 34ef6e1e3671a678ee713929fb5ee570ad3a5715 Mon Sep 17 00:00:00 2001 From: "rick.chen" Date: Thu, 30 Apr 2015 17:30:17 +0800 Subject: [PATCH] Port ProphetStor driver to use ABCMeta driver model Use new ABCMeta driver model for ProphetStor driver. Change-Id: Ic8ecbecb661971a4535a6899b0d104ef5bdf0011 Implements: blueprint abc-driver-update --- cinder/volume/drivers/prophetstor/dplcommon.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/cinder/volume/drivers/prophetstor/dplcommon.py b/cinder/volume/drivers/prophetstor/dplcommon.py index 5f78982f8..b647e2d3d 100644 --- a/cinder/volume/drivers/prophetstor/dplcommon.py +++ b/cinder/volume/drivers/prophetstor/dplcommon.py @@ -17,6 +17,7 @@ Implementation of the class of ProphetStor DPL storage adapter of Federator. # v2.0.1 Consistency group support # v2.0.2 Pool aware scheduler # v2.0.3 Consistency group modification support + # v2.0.4 Port ProphetStor driver to use new driver model """ import base64 @@ -682,9 +683,11 @@ class DPLVolume(object): [httplib.OK, httplib.ACCEPTED]) -class DPLCOMMONDriver(driver.VolumeDriver): +class DPLCOMMONDriver(driver.ConsistencyGroupVD, driver.ExtendVD, + driver.CloneableVD, driver.CloneableImageVD, + driver.SnapshotVD, driver.LocalVD, driver.BaseVD): """Class of dpl storage adapter.""" - VERSION = '2.0.3' + VERSION = '2.0.4' def __init__(self, *args, **kwargs): super(DPLCOMMONDriver, self).__init__(*args, **kwargs) -- 2.45.2