From bf545b7ba1bf4b486e4c51ed151ea215a6553344 Mon Sep 17 00:00:00 2001 From: Tom Barron Date: Sat, 20 Jun 2015 04:57:54 -0400 Subject: [PATCH] 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 --- cinder/volume/drivers/netapp/eseries/iscsi_driver.py | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) 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' -- 2.45.2