From 85368948d470eec08b06fa815b234c125788a276 Mon Sep 17 00:00:00 2001 From: Marc Koderer Date: Wed, 3 Dec 2014 08:43:10 +0100 Subject: [PATCH] Port rbd driver to use new driver model Use new ABCmeta driver model for rbd driver. Implements: blueprint abc-driver-update Change-Id: Ifaa06477e388e4b2807c65a2357b49451db5d670 --- cinder/volume/drivers/rbd.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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) -- 2.45.2