ironic/ironic/drivers/modules/redfish
Dmitry Tantsur 699bd410c7 [Refactor] Make caching BIOS settings explicit
Currently we cache BIOS setting after calling apply_configuration or
factory_reset implicitly via a wrapper added in BIOSInterface.__new__.
It's confusing, and we did forget about this aspect when writing
unit tests for the new iLO BIOS interface. This results in unsufficient
mocking that breaks unit tests with proliantutils installed.

This patch moves caching BIOS settings to an explicit decorator and
fixes the mocking problem.

Change-Id: I704eccea484b36cb5056fdb64d3702738c22c678
Story: #2004953
Task: #29375
2019-02-06 19:08:18 +01:00
..
__init__.py Add redfish driver 2017-04-21 11:06:24 +01:00
bios.py [Refactor] Make caching BIOS settings explicit 2019-02-06 19:08:18 +01:00
inspect.py Follow-up logging change 2019-01-10 16:17:26 -08:00
management.py Added Redfish boot mode management 2018-06-18 10:55:47 +02:00
power.py Make redfish power interface wait for the power state change 2017-06-29 16:47:08 +02:00
utils.py Add configurable Redfish client authentication 2018-12-04 09:07:06 +01:00