From: Marc Koderer Date: Wed, 3 Dec 2014 07:43:10 +0000 (+0100) Subject: Port rbd driver to use new driver model X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=85368948d470eec08b06fa815b234c125788a276;p=openstack-build%2Fcinder-build.git Port rbd driver to use new driver model Use new ABCmeta driver model for rbd driver. Implements: blueprint abc-driver-update Change-Id: Ifaa06477e388e4b2807c65a2357b49451db5d670 --- diff --git a/cinder/volume/drivers/rbd.py b/cinder/volume/drivers/rbd.py index 3c1eb21d9..6a538388e 100644 --- a/cinder/volume/drivers/rbd.py +++ b/cinder/volume/drivers/rbd.py @@ -259,10 +259,12 @@ class RADOSClient(object): return int(features) -class RBDDriver(driver.VolumeDriver): +class RBDDriver(driver.RetypeVD, driver.TransferVD, driver.ExtendVD, + driver.CloneableVD, driver.CloneableImageVD, driver.SnapshotVD, + driver.BaseVD): """Implements RADOS block device (RBD) volume commands.""" - VERSION = '1.1.0' + VERSION = '1.2.0' def __init__(self, *args, **kwargs): super(RBDDriver, self).__init__(*args, **kwargs)