From: Tom Barron Date: Sat, 20 Jun 2015 08:57:54 +0000 (-0400) Subject: Port NetApp E-Series iSCSI driver to ABC model X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=bf545b7ba1bf4b486e4c51ed151ea215a6553344;p=openstack-build%2Fcinder-build.git Port NetApp E-Series iSCSI driver to ABC model This commit modifies the NetApp E-Series volume driver to the new ABC driver model. The corresponding FibreChannel driver already uses that model since it was recently implemented and was written with an appropriate ABC class signature in the first place. A corresponding class signature is now used for iSCSI. This commit also modifies a couple doc strings to match the corresponding FibreChannel driver. Change-Id: I624efd6e511f15d34fff1d97a0848c2610185e17 Partially-implements: blueprint abc-driver-update --- diff --git a/cinder/volume/drivers/netapp/eseries/iscsi_driver.py b/cinder/volume/drivers/netapp/eseries/iscsi_driver.py index 3de100b71..bd1af9f77 100644 --- a/cinder/volume/drivers/netapp/eseries/iscsi_driver.py +++ b/cinder/volume/drivers/netapp/eseries/iscsi_driver.py @@ -15,7 +15,7 @@ # License for the specific language governing permissions and limitations # under the License. """ -iSCSI driver for NetApp E-series storage systems. +Volume driver for NetApp E-Series iSCSI storage systems. """ from oslo_log import log as logging @@ -28,7 +28,13 @@ from cinder.volume.drivers.netapp import utils as na_utils LOG = logging.getLogger(__name__) -class NetAppEseriesISCSIDriver(driver.ISCSIDriver): +class NetAppEseriesISCSIDriver(driver.BaseVD, + driver.ManageableVD, + driver.ExtendVD, + driver.CloneableVD, + driver.TransferVD, + driver.SnapshotVD): + """NetApp E-Series iSCSI volume driver.""" DRIVER_NAME = 'NetApp_iSCSI_ESeries'