vmware: Mark VMware ESX vmdk driver as deprecated
The VMware ESX driver in Nova is now marked as deprecated and will be removed in Juno release. This change marks the VMware ESX vmdk driver as deprecated since it is intended for use with the ESX driver in Nova. The plan is to remove the ESX vmdk driver in Juno release. Closes-Bug: #1291194 DocImpact Change-Id: I285f3461c1ccef56329b70417fb023405dfceb5e
This commit is contained in:
parent
a68d5588a8
commit
0fc3afdff1
|
@ -150,8 +150,16 @@ class VMwareEsxVmdkDriver(driver.VolumeDriver):
|
|||
# 1.2.0 - storage profile volume types based placement of volumes
|
||||
VERSION = '1.2.0'
|
||||
|
||||
def _do_deprecation_warning(self):
|
||||
LOG.warn(_('The VMware ESX VMDK driver is now deprecated and will be '
|
||||
'removed in the Juno release. The VMware vCenter VMDK '
|
||||
'driver will remain and continue to be supported.'))
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
super(VMwareEsxVmdkDriver, self).__init__(*args, **kwargs)
|
||||
|
||||
self._do_deprecation_warning()
|
||||
|
||||
self.configuration.append_config_values(vmdk_opts)
|
||||
self._session = None
|
||||
self._stats = None
|
||||
|
|
Loading…
Reference in New Issue