Remove deprecated VD base classes which are not used now

Change-Id: I171022c0af01f4216c30630be7487f6f53d5fbca
This commit is contained in:
Ivan Kolodyazhny 2017-09-15 10:34:41 -06:00
parent 7552648b1b
commit 2c8b3d457d
2 changed files with 1 additions and 27 deletions

View File

@ -1845,21 +1845,6 @@ class BaseVD(object):
pass pass
class LocalVD(object):
"""This class has been deprecated and should not be inherited."""
pass
class SnapshotVD(object):
"""This class has been deprecated and should not be inherited."""
pass
class ConsistencyGroupVD(object):
"""This class has been deprecated and should not be inherited."""
pass
@six.add_metaclass(abc.ABCMeta) @six.add_metaclass(abc.ABCMeta)
class CloneableImageVD(object): class CloneableImageVD(object):
@abc.abstractmethod @abc.abstractmethod
@ -1908,16 +1893,6 @@ class MigrateVD(object):
return (False, None) return (False, None)
class ExtendVD(object):
"""This class has been deprecated and should not be inherited."""
pass
class TransferVD(object):
"""This class has been deprecated and should not be inherited."""
pass
@six.add_metaclass(abc.ABCMeta) @six.add_metaclass(abc.ABCMeta)
class ManageableVD(object): class ManageableVD(object):
@abc.abstractmethod @abc.abstractmethod

View File

@ -32,7 +32,6 @@ from cinder.image import image_utils
from cinder import interface from cinder import interface
from cinder import utils from cinder import utils
from cinder.volume import configuration from cinder.volume import configuration
from cinder.volume import driver
from cinder.volume.drivers import remotefs from cinder.volume.drivers import remotefs
VERSION = '1.4.0' VERSION = '1.4.0'
@ -76,7 +75,7 @@ CONF.register_opts(nfs_opts, group=configuration.SHARED_CONF_GROUP)
@interface.volumedriver @interface.volumedriver
class NfsDriver(remotefs.RemoteFSSnapDriverDistributed, driver.ExtendVD): class NfsDriver(remotefs.RemoteFSSnapDriverDistributed):
"""NFS based cinder driver. """NFS based cinder driver.
Creates file on NFS share for using it as block device on hypervisor. Creates file on NFS share for using it as block device on hypervisor.