Deprecate xclarity hardware type

Lenovo Third Party CI is still being setup,
and while they are making forward progress,
we need to plan ahead for the Stein cycle.

As such, marking the xclarity hardware type
and related interfaces as deprecated.

Once Lenovo has their 3rd party CI operational,
this change can be reverted.

Change-Id: I3395063ce6a98e040518a133e7928f6c780f4829
Story: #2003097
Task: #23190
(cherry picked from commit 7cd960f8e1)
This commit is contained in:
Julia Kreger 2018-07-25 09:33:40 -07:00
parent b3652391f3
commit 82fd058a4d
4 changed files with 40 additions and 0 deletions

View File

@ -51,6 +51,15 @@ class XClarityManagement(base.ManagementInterface):
super(XClarityManagement, self).__init__()
self.xclarity_client = common.get_xclarity_client()
# NOTE(TheJulia): Marking as unsupported as 3rd Party CI for this
# interface was not established before Rocky cycle feature freeze.
# Lenovo is continuing to work on establishing their Third Party CI,
# and upon establishment and verification of Thid Party CI, this
# unsupported flag shall be removed.
# TODO(TheJulia): If Third Party CI is not online prior to the
# Stein Feature Freeze, this interface should be removed.
supported = False
def get_properties(self):
return common.COMMON_PROPERTIES

View File

@ -34,6 +34,15 @@ class XClarityPower(base.PowerInterface):
super(XClarityPower, self).__init__()
self.xclarity_client = common.get_xclarity_client()
# NOTE(TheJulia): Marking as unsupported as 3rd Party CI for this
# interface was not established before Rocky cycle feature freeze.
# Lenovo is continuing to work on establishing their Third Party CI,
# and upon establishment and verification of Thid Party CI, this
# unsupported flag shall be removed.
# TODO(TheJulia): If Third Party CI is not online prior to the
# Stein Feature Freeze, this interface should be removed.
supported = False
def get_properties(self):
return common.get_properties()

View File

@ -24,6 +24,15 @@ from ironic.drivers.modules.xclarity import power
class XClarityHardware(generic.GenericHardware):
"""XClarity hardware type. """
# NOTE(TheJulia): Marking as unsupported as 3rd Party CI for this
# hardware type was not established before Rocky cycle feature freeze.
# Lenovo is continuing to work on establishing their Third Party CI,
# and upon establishment and verification of Thid Party CI, this
# unsupported flag shall be removed.
# TODO(TheJulia): If Third Party CI is not online prior to the
# Stein Feature Freeze, this hardware type should be removed.
supported = False
@property
def supported_management_interfaces(self):
"""List of supported management interfaces."""

View File

@ -0,0 +1,13 @@
deprecations:
- |
The ``xclarity`` hardware type, as well as the supporting
driver interfaces have been deprecated and are scheduled to be removed
from ironic in the Stein development cycle. This is due to the lack of
operational Third Party testing to help ensure that the support for
Lenovo XClarity is functional.
The ``xclarity`` hardware type was introduced at the end of the Queens
development cycle. During implementation of Third Party CI, the Lenovo
team encountered some unforseen delays. Lenovo is continuing to work
towards Third Party CI, and upon establishment and verification of
functional Third Party CI, this deprecation will be rescinded.