From: Marc Koderer Date: Tue, 3 Mar 2015 07:12:44 +0000 (+0100) Subject: Port block_device driver to use new driver model X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=e94362a5ec71a557c423126bbf75e42c26d65b12;p=openstack-build%2Fcinder-build.git Port block_device driver to use new driver model Use new ABCmeta driver model for block_device driver. Change-Id: I8af975f58909352a105182a59ff777affec75e35 Implements: blueprint abc-driver-update --- diff --git a/cinder/volume/drivers/block_device.py b/cinder/volume/drivers/block_device.py index 9e76c1fee..d046edb65 100644 --- a/cinder/volume/drivers/block_device.py +++ b/cinder/volume/drivers/block_device.py @@ -40,8 +40,9 @@ CONF = cfg.CONF CONF.register_opts(volume_opts) -class BlockDeviceDriver(driver.VolumeDriver): - VERSION = '2.0.0' +class BlockDeviceDriver(driver.BaseVD, driver.LocalVD, driver.CloneableVD, + driver.CloneableImageVD, driver.TransferVD): + VERSION = '2.1.0' def __init__(self, *args, **kwargs): super(BlockDeviceDriver, self).__init__(*args, **kwargs)