From: Skyler Berg Date: Thu, 9 Jul 2015 18:36:36 +0000 (-0700) Subject: Port Tintri driver to ABC driver model X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=e825ebbe26c4382d4e66e5b1f0421e8a261f41d4;p=openstack-build%2Fcinder-build.git Port Tintri driver to ABC driver model The Tintri driver implements methods for some abstract classes not inherited with NfsDriver. This patch makes the driver inherit from all the classes that it implements. Change-Id: I36c3ac5368e99e367e6541cec8198fa475f1dffe Partially-implements: blueprint abc-driver-update --- diff --git a/cinder/volume/drivers/tintri.py b/cinder/volume/drivers/tintri.py index 25828c16e..7a74b6304 100644 --- a/cinder/volume/drivers/tintri.py +++ b/cinder/volume/drivers/tintri.py @@ -33,6 +33,7 @@ from cinder import exception from cinder import utils from cinder.i18n import _, _LE, _LI, _LW from cinder.image import image_utils +from cinder.volume import driver from cinder.volume.drivers import nfs LOG = logging.getLogger(__name__) @@ -61,7 +62,11 @@ CONF = cfg.CONF CONF.register_opts(tintri_options) -class TintriDriver(nfs.NfsDriver): +class TintriDriver(driver.ManageableVD, + driver.CloneableVD, + driver.CloneableImageVD, + driver.SnapshotVD, + nfs.NfsDriver): """Base class for Tintri driver.""" VENDOR = 'Tintri'