ironic/ironic/drivers/modules/irmc
Jim Rollenhagen 954a234820 Remove mode argument from boot.(prepare|clean_up)_ramdisk
Ideally, the boot interface shouldn't care if it's booting an image for
deploy or rescue. The first step to unwinding this is not passing the
mode argument into the boot interface - for now, we infer it from the
state. Also stop validating whether the boot interface methods have a
mode argument, as this is totally broken anyway (due to the decorator on
the method). The rest of the boot interface's knowledge about deploy vs
rescue can be eliminated in the future, as we shouldn't rework too much
of that during feature freeze.

We fix the bug in validation this way for now, for two reasons:

* This argument really doesn't belong, and it's only been on master for
  six days. Get it out before people use it.
* Library updates are currently frozen; fixing the decorator isn't an
  option right now.

Change-Id: Icdeb870e9fd9cf836ff7ab97624189c8436adaba
Closes-Bug: #1746730
2018-02-01 15:40:50 +00:00
..
__init__.py Add iRMC Driver and its iRMC Power module 2015-01-28 07:04:48 -08:00
boot.py Remove mode argument from boot.(prepare|clean_up)_ramdisk 2018-02-01 15:40:50 +00:00
common.py Add I202 to flake ignore list 2017-10-25 14:32:52 +03:00
inspect.py Add additional capabilities discovery for iRMC driver 2017-11-21 17:49:42 +07:00
management.py Adds clean step 'restore_irmc_bios_config' to iRMC drivers 2017-06-29 10:06:20 +00:00
power.py Remove translation of log messages from ironic/drivers/modules/irmc 2017-04-26 00:38:04 +07:00