diff options
author | Aija Jauntēva <aija.jaunteva@dell.com> | 2020-09-01 06:52:34 -0400 |
---|---|---|
committer | Dmitry Tantsur <dtantsur@protonmail.com> | 2020-09-23 13:34:50 +0000 |
commit | 796e2302c3d7dc5f010b837b33b85819f4dcacb1 (patch) | |
tree | 3350bee0e4e9793e7abeadf241dad8fc74b06640 /ironic/drivers/modules/drac/bios.py | |
parent | 65d50663941ffe66be587e09d0c63528f970dabd (diff) | |
download | ironic-796e2302c3d7dc5f010b837b33b85819f4dcacb1.tar.gz |
Add Redfish BIOS interface to idrac HW type
This change adds idrac hardware type support of a BIOS interface
implementation that utilizes the Redfish out-of-band (OOB) management
protocol and is compatible with the integrated Dell Remote Access
Controller (iDRAC) baseboard management controller (BMC). It is named
'idrac-redfish'.
The idrac hardware type declares support for that new interface
implementation, in addition to all BIOS interface implementations it has
been supporting. The highest priority BIOS interface remains the same,
the one which relies on the Web Services Management (WS-Man) OOB
management protocol. The new 'idrac-redfish' immediately follows it.
Co-Authored-By: Eric Barrera <eric_barrera@dell.com>
Co-Authored-By: Richard G. Pioso <richard.pioso@dell.com>
Co-Authored-By: Mike Raineri <mraineri@gmail.com>
Story: 2008100
Task: 40803
Depends-On: https://review.opendev.org/#/c/750020/
Change-Id: Ic5a1da418dccb0f3ec92914909aacd7c339d8837
Diffstat (limited to 'ironic/drivers/modules/drac/bios.py')
-rw-r--r-- | ironic/drivers/modules/drac/bios.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/ironic/drivers/modules/drac/bios.py b/ironic/drivers/modules/drac/bios.py index cb306f7fb..bc09c0176 100644 --- a/ironic/drivers/modules/drac/bios.py +++ b/ironic/drivers/modules/drac/bios.py @@ -29,6 +29,7 @@ from ironic.drivers import base from ironic.drivers.modules import deploy_utils from ironic.drivers.modules.drac import common as drac_common from ironic.drivers.modules.drac import job as drac_job +from ironic.drivers.modules.redfish import bios as redfish_bios from ironic import objects drac_exceptions = importutils.try_import('dracclient.exceptions') @@ -38,6 +39,16 @@ LOG = logging.getLogger(__name__) METRICS = metrics_utils.get_metrics_logger(__name__) +class DracRedfishBIOS(redfish_bios.RedfishBIOS): + """iDRAC Redfish interface for BIOS settings-related actions. + + Presently, this class entirely defers to its base class, a generic, + vendor-independent Redfish interface. Future resolution of Dell EMC- + specific incompatibilities and introduction of vendor value added + should be implemented by this class. + """ + + class DracWSManBIOS(base.BIOSInterface): """BIOSInterface Implementation for iDRAC.""" |