From a8030b7cb6f8199234d85d8c7574b563e5a24fe9 Mon Sep 17 00:00:00 2001 From: Kurt Martin Date: Thu, 18 Jun 2015 17:30:38 -0700 Subject: [PATCH] Port LeftHand driver to use ABCMeta driver model Use new ABCMeta driver model for LeftHand driver. Implements: blueprint abc-driver-update Change-Id: I4acd1cd711b8718340abd08fdabacb2e4b713b73 --- cinder/volume/drivers/san/hp/hp_lefthand_iscsi.py | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/cinder/volume/drivers/san/hp/hp_lefthand_iscsi.py b/cinder/volume/drivers/san/hp/hp_lefthand_iscsi.py index 9887dcf14..1bd35797b 100644 --- a/cinder/volume/drivers/san/hp/hp_lefthand_iscsi.py +++ b/cinder/volume/drivers/san/hp/hp_lefthand_iscsi.py @@ -45,7 +45,14 @@ LOG = logging.getLogger(__name__) MIN_CLIENT_VERSION = '1.0.4' -class HPLeftHandISCSIDriver(driver.VolumeDriver): +class HPLeftHandISCSIDriver(driver.TransferVD, + driver.ManageableVD, + driver.ExtendVD, + driver.CloneableVD, + driver.SnapshotVD, + driver.RetypeVD, + driver.MigrateVD, + driver.BaseVD): """Executes commands relating to HP/LeftHand SAN ISCSI volumes. Version history: @@ -55,10 +62,11 @@ class HPLeftHandISCSIDriver(driver.VolumeDriver): 1.0.3 - Fix for no handler for logger during tests 1.0.4 - Removing locks bug #1395953 1.0.5 - Adding support for manage/unmanage. - 1.0.6 - Fixed #1432757 Updated minimum client version. + 1.0.6 - Updated minimum client version. bug #1432757 + 1.0.7 - Update driver to use ABC metaclasses """ - VERSION = "1.0.6" + VERSION = "1.0.7" def __init__(self, *args, **kwargs): super(HPLeftHandISCSIDriver, self).__init__(*args, **kwargs) -- 2.45.2