ironic/ironic
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
..
api Fix listing nodes with conductor could raise 2019-01-24 09:20:53 +08:00
cmd Allocation API: database and RPC 2019-01-07 12:51:10 +01:00
common Merge "Provides mount point as cinder requires it to attach volume" 2019-02-04 16:39:36 +00:00
conductor Merge "Parallelize periodic power sync calls follow up" 2019-02-02 12:08:28 +00:00
conf Merge "Parallelize periodic power sync calls follow up" 2019-02-02 12:08:28 +00:00
db Allocation API: conductor API (without HA and take over) 2019-01-31 13:01:09 +01:00
dhcp Merge "Add meaningful exception in Neutron port show" 2018-03-16 13:49:39 +00:00
drivers [Refactor] Make caching BIOS settings explicit 2019-02-06 19:08:18 +01:00
hacking Follow-up to improve pep8 checking with hacking 2018-07-26 10:29:41 +07:00
objects Add is_smartnic to Port data model 2019-01-29 11:17:08 +02:00
tests [Refactor] Make caching BIOS settings explicit 2019-02-06 19:08:18 +01:00
__init__.py Move eventlet monkey patch code 2017-03-02 13:48:18 +02:00
version.py Correct version.py and update current version string 2014-03-21 13:50:05 -07:00