]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commitdiff
Port rbd driver to use new driver model
authorMarc Koderer <marc@koderer.com>
Wed, 3 Dec 2014 07:43:10 +0000 (08:43 +0100)
committerMarc Koderer <marc@koderer.com>
Fri, 24 Apr 2015 08:08:37 +0000 (10:08 +0200)
Use new ABCmeta driver model for rbd driver.

Implements: blueprint abc-driver-update

Change-Id: Ifaa06477e388e4b2807c65a2357b49451db5d670

cinder/volume/drivers/rbd.py

index 3c1eb21d9c447932a6146729fdb366efd9f17e84..6a538388e4764637bb891befa645c0697376bfda 100644 (file)
@@ -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)