Merge "Deprecate Cisco drivers"

This commit is contained in:
Zuul 2019-02-28 18:49:36 +00:00 committed by Gerrit Code Review
commit b277be27a9
6 changed files with 34 additions and 0 deletions

View File

@ -24,6 +24,10 @@ from ironic.drivers.modules.ucs import power as ucs_power
class CiscoUCSStandalone(ipmi.IPMIHardware):
"""Cisco UCS in standalone mode"""
# NOTE(TheJulia): Deprecated due to a lack of operating third party
# CI, which stopped reporting during the Stein development cycle.
supported = False
@property
def supported_management_interfaces(self):
"""List of supported management interfaces."""
@ -40,6 +44,10 @@ class CiscoUCSStandalone(ipmi.IPMIHardware):
class CiscoUCSManaged(CiscoUCSStandalone):
"""Cisco UCS under UCSM management"""
# NOTE(TheJulia): Deprecated due to a lack of operating third party
# CI, which stopped reporting during the Stein development cycle.
supported = False
@property
def supported_management_interfaces(self):
"""List of supported management interfaces."""

View File

@ -40,6 +40,10 @@ IRONIC_TO_CIMC_BOOT_DEVICE = {
class CIMCManagement(base.ManagementInterface):
# NOTE(TheJulia): Deprecated due to a lack of operating third party
# CI, which stopped reporting during the Stein development cycle.
supported = False
def get_properties(self):
"""Return the properties of the interface.

View File

@ -81,6 +81,10 @@ def _wait_for_state_change(target_state, task):
class Power(base.PowerInterface):
# NOTE(TheJulia): Deprecated due to a lack of operating third party
# CI, which stopped reporting during the Stein development cycle.
supported = False
def get_properties(self):
"""Return the properties of the interface.

View File

@ -44,6 +44,10 @@ UCS_TO_IRONIC_BOOT_DEVICE = {
class UcsManagement(base.ManagementInterface):
# NOTE(TheJulia): Deprecated due to a lack of operating third party
# CI, which stopped reporting during the Stein development cycle.
supported = False
def get_properties(self):
return ucs_helper.COMMON_PROPERTIES

View File

@ -74,6 +74,9 @@ class Power(base.PowerInterface):
This PowerInterface class provides a mechanism for controlling the
power state of servers managed by Cisco UCS Manager.
"""
# NOTE(TheJulia): Deprecated due to a lack of operating third party
# CI, which stopped reporting during the Stein development cycle.
supported = False
def get_properties(self):
"""Returns common properties of the driver."""

View File

@ -0,0 +1,11 @@
---
deprecations:
- |
The Cisco ``cisco-ucs-managed`` and ``cisco-ucs-standalone`` drivers have
been deprecated due to a lack of reporting third-party CI and vendor
maintenance of the driver code. In the present state of these drivers,
they would have been removed as part of the eventual removal of support
for Python2. These drivers should be anticipated to be removed prior to
the final Train release of the Bare Metal service. More information
can be found
`here <http://lists.openstack.org/pipermail/openstack-discuss/2019-February/002460.html>`_.