From: Kurt Martin Date: Fri, 19 Jun 2015 00:30:38 +0000 (-0700) Subject: Port LeftHand driver to use ABCMeta driver model X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=a8030b7cb6f8199234d85d8c7574b563e5a24fe9;p=openstack-build%2Fcinder-build.git Port LeftHand driver to use ABCMeta driver model Use new ABCMeta driver model for LeftHand driver. Implements: blueprint abc-driver-update Change-Id: I4acd1cd711b8718340abd08fdabacb2e4b713b73 --- 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)