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
This commit is contained in:
Tom Barron
2015-06-20 04:57:54 -04:00
parent 87016e624b
commit bf545b7ba1

View File

@@ -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'