ironic/ironic/tests/unit/drivers/modules
Julia Kreger 8bf3f47476 IPMI: Handle vendor set boot device differences
Supermicro machines, when in UEFI mode, have a different
device number, in binary, to represent the hard disk from
other vendors such as Fujitsu which actually has somewhat
similar code in their driver.

This means we need to be somewhat cognizent of the vendor of
the BMC and possibly update the device mapping based upon that
vendor.

This may ultimately fix a number of IPMI related problems, because
there is a reliance upon the text output of ipmitool, which only
reads the bytes retured by the BMC, which may not be reality after
the next reset, espescialy if ipmitool doesn't know of the UEFI
operating difference.

NOTE: This had to be a direct cherry-pick from the original change
as the intermediate branch that we normally would have cherry-picked
from has had other changes made to it, which resulted in an unclean
backport, where as with the original change it was clean.

Change-Id: Ie19db9e0cf1eafdfc9bb46248f4d457337821f94
Story: 2008241
Task: 41085
(cherry picked from commit a7ac9ce8cd)
2021-03-24 14:44:44 +00:00
..
ansible Remove compatibility with pre-deploy steps drivers 2020-03-12 12:24:09 +01:00
drac DRAC: Fix a failure to create virtual disk 2021-02-03 06:15:08 -05:00
ibmc opt: Enhance old stable branches to use latest python-ibmcclient 2020-10-21 21:18:17 +08:00
ilo Use correct error handler instead of calling process_event('fail') 2020-09-29 11:55:31 -04:00
intel_ipmi Fix the remaining hacking issues 2020-03-31 13:40:00 +00:00
irmc Lazy-load node details from the DB 2021-03-09 14:39:19 +00:00
network Fixes the issue that instance bond port can't get IP address 2020-11-14 00:13:21 +08:00
redfish Sync boot mode when changing the boot device via Redfish 2020-11-11 15:56:20 -08:00
storage Finalize removal of ipxe_enabled option 2020-02-21 14:25:01 +08:00
xclarity Use assertCountEqual instead of assertItemsEqual 2020-11-10 13:36:44 +00:00
__init__.py Move unit tests to correct directory 2015-09-30 17:47:19 -07:00
test_agent.py Do not assume that prepare_image is the last command to run 2020-09-04 11:35:50 +02:00
test_agent_base.py Merge "agent: do not hard power off if soft power off actually succeeds" into stable/ussuri 2020-06-29 15:51:57 +00:00
test_agent_client.py Handle an older agent with agent_token 2020-09-02 12:55:55 -07:00
test_boot_mode_utils.py Handle default_boot_mode during cleaning/inspection with PXE/iPXE 2020-09-12 10:53:23 +00:00
test_console_utils.py Automatic port allocation for the serial console 2020-02-10 16:09:12 +08:00
test_deploy_utils.py Prevent timeouts when using fast-track with redfish-virtual-media 2020-11-02 14:20:37 +00:00
test_image_cache.py Stop using six library 2019-12-23 09:38:25 +01:00
test_inspect_utils.py Fix ironic port creation after Redfish inspection 2019-01-08 12:27:28 +00:00
test_inspector.py Fix fast track following managed inspection 2020-07-02 07:58:51 +00:00
test_ipmitool.py IPMI: Handle vendor set boot device differences 2021-03-24 14:44:44 +00:00
test_ipxe.py Merge ""dual stack" support for PXE/iPXE" 2020-04-21 16:46:12 +00:00
test_iscsi_deploy.py Change [deploy]/default_boot_option to local 2020-04-15 11:46:03 -07:00
test_noop.py Fix FakeBIOS to allow tempest testing 2018-06-04 12:17:36 +02:00
test_noop_mgmt.py Add "noop" management and use it in the "ipmi" hardware type 2018-08-07 13:25:50 +00:00
test_pxe.py Handle default_boot_mode during cleaning/inspection with PXE/iPXE 2020-09-12 10:53:23 +00:00
test_snmp.py Mock out the correct greenthread sleep method 2019-11-20 17:52:33 +01:00