Support iRMC hardware type again

This commit supports ``irmc`` hardware type again.

Co-Authored-By: Vanou Ishii <ishii.vanou@fujitsu.com>
Change-Id: I37b9ac5943a153f54ea64f26cbd758f53982a6ac
This commit is contained in:
Yushiro FURUKAWA 2020-09-09 01:45:19 +09:00 committed by Vanou Ishii
parent ac19e6050d
commit 8bd138ca85
7 changed files with 5 additions and 16 deletions

View File

@ -38,8 +38,6 @@ class IRMCHardware(generic.GenericHardware):
have iRMC S4 management system.
"""
supported = False
@property
def supported_bios_interfaces(self):
"""List of supported bios interfaces."""

View File

@ -34,8 +34,6 @@ METRICS = metrics_utils.get_metrics_logger(__name__)
class IRMCBIOS(base.BIOSInterface):
supported = False
def get_properties(self):
"""Return the properties of the interface."""
return irmc_common.COMMON_PROPERTIES

View File

@ -580,8 +580,6 @@ class IRMCVolumeBootMixIn(object):
used by VIOM (Virtual I/O Manager) library of SCCI client.
"""
supported = False
def _validate_volume_boot(self, task):
"""Validate information for volume boot with this interface.
@ -900,8 +898,6 @@ class IRMCVolumeBootMixIn(object):
class IRMCVirtualMediaBoot(base.BootInterface, IRMCVolumeBootMixIn):
"""iRMC Virtual Media boot-related actions."""
supported = False
capabilities = ['iscsi_volume_boot', 'fibre_channel_volume_boot']
def __init__(self):
@ -1105,8 +1101,6 @@ class IRMCVirtualMediaBoot(base.BootInterface, IRMCVolumeBootMixIn):
class IRMCPXEBoot(pxe.PXEBoot):
"""iRMC PXE boot."""
supported = False
@METRICS.timer('IRMCPXEBoot.prepare_ramdisk')
def prepare_ramdisk(self, task, ramdisk_params):
"""Prepares the boot of Ironic ramdisk using PXE.

View File

@ -197,8 +197,6 @@ def _inspect_hardware(node, existing_traits=None, **kwargs):
class IRMCInspect(base.InspectInterface):
"""Interface for out of band inspection."""
supported = False
def __init__(self):
"""Validate the driver-specific inspection information.

View File

@ -208,8 +208,6 @@ def _set_power_state(task, target_state, timeout=None):
class IRMCPower(base.PowerInterface):
"""Interface for power-related actions."""
supported = False
def get_properties(self):
"""Return the properties of the interface.

View File

@ -339,8 +339,6 @@ def _validate_physical_disks(node, logical_disks):
class IRMCRAID(base.RAIDInterface):
supported = False
def get_properties(self):
"""Return the properties of the interface."""
return irmc_common.COMMON_PROPERTIES

View File

@ -0,0 +1,5 @@
---
features:
- |
Supports the Fujitsu ``irmc`` hardware type again. The Third Party CI for
the driver has started to work correctly in September 2020.