VMware: delete the driver VMwareESXDriver
In Juno we had a deprcation warning about the VMwareESXDriver no longer being supported. This class is now deleted. Change-Id: Id5b50fa944f57cd8fd61611d93caac8066cfd93d
This commit is contained in:
parent
9fd059b938
commit
81bb294365
|
@ -18,8 +18,4 @@
|
||||||
# NOTE(sdague) for nicer compute_driver specification
|
# NOTE(sdague) for nicer compute_driver specification
|
||||||
from nova.virt.vmwareapi import driver
|
from nova.virt.vmwareapi import driver
|
||||||
|
|
||||||
# VMwareESXDriver is deprecated in Juno. This property definition
|
|
||||||
# allows those configurations to work which reference it while
|
|
||||||
# logging a deprecation warning
|
|
||||||
VMwareESXDriver = driver.VMwareESXDriver
|
|
||||||
VMwareVCDriver = driver.VMwareVCDriver
|
VMwareVCDriver = driver.VMwareVCDriver
|
||||||
|
|
|
@ -104,22 +104,6 @@ CONF.register_opts(spbm_opts, 'vmware')
|
||||||
TIME_BETWEEN_API_CALL_RETRIES = 1.0
|
TIME_BETWEEN_API_CALL_RETRIES = 1.0
|
||||||
|
|
||||||
|
|
||||||
# The following class was removed in the transition from Icehouse to
|
|
||||||
# Juno, but may still be referenced in configuration files. The
|
|
||||||
# following stub allow those configurations to work while logging a
|
|
||||||
# deprecation warning.
|
|
||||||
class VMwareESXDriver(driver.ComputeDriver):
|
|
||||||
"""The ESX host connection object."""
|
|
||||||
|
|
||||||
def _do_deprecation_warning(self):
|
|
||||||
LOG.warn(_LW('The VMware ESX driver is now deprecated and has been '
|
|
||||||
'removed in the Juno release. The VC driver will remain '
|
|
||||||
'and continue to be supported.'))
|
|
||||||
|
|
||||||
def __init__(self, virtapi, read_only=False, scheme="https"):
|
|
||||||
self._do_deprecation_warning()
|
|
||||||
|
|
||||||
|
|
||||||
class VMwareVCDriver(driver.ComputeDriver):
|
class VMwareVCDriver(driver.ComputeDriver):
|
||||||
"""The VC host connection object."""
|
"""The VC host connection object."""
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue