ironic/ironic/tests/unit/drivers
Xavier b78605487d Add inspection feature for the OneView drivers
This change is about adding the ability to the OneView drivers of doing
hardware inspection. In this context, for enable hardware under
management by OneView been inspected, is essencial a Server Profile
applied to that hardware. A Server Profile, in OneView context, means
a configuration that makes booting and connectivity operations settings
possible.

Considering in-band inspection as the inspection process that involves
booting a ramdisk on the target node and fetching information directly
from it, in this patch we extend the
ironic.drivers.modules.inspector.Inspector class to inherit the ironic
implementation for in-band inspection behaviours and to address our
needs, we override the 'inspect_hardware' method to apply the needed
Server Profile and we also override the '_periodic_check_result'
periodic task to remove the Server Profile after the inspection
process is over.

Change-Id: I77ebf4b9175c2c1df1baa6d58714ff54c97c17ff
Closes-Bug: 1621530
2016-09-28 20:50:38 -03:00
..
modules Add inspection feature for the OneView drivers 2016-09-28 20:50:38 -03:00
__init__.py Prepare for functional testing 2015-09-28 21:27:01 +00:00
agent_pxe_config.template Add support for partition images in agent drivers 2016-03-21 16:12:08 +00:00
elilo_efi_pxe_config.template Prepare for functional testing 2015-09-28 21:27:01 +00:00
ipxe_config.template ipxe: retry on failure 2016-04-19 10:20:36 -04:00
ipxe_config_timeout.template ipxe: retry on failure 2016-04-19 10:20:36 -04:00
ipxe_uefi_config.template ipxe: retry on failure 2016-04-19 10:20:36 -04:00
pxe_config.template Prepare for functional testing 2015-09-28 21:27:01 +00:00
pxe_grub_config.template Prepare for functional testing 2015-09-28 21:27:01 +00:00
test_agent.py IPMITool: add IPMISocatConsole and IPMIConsole class 2016-07-25 16:42:31 +09:00
test_base.py Introduce new driver call and RPC for heartbeat 2016-06-27 15:26:10 +02:00
test_fake.py Fix fake.FakeBoot.prepare_ramdisk() signature 2016-07-15 16:36:37 +03:00
test_irmc.py Remove iterated form of side effects 2016-07-07 10:08:55 +09:00
test_pxe.py IPMITool: add IPMISocatConsole and IPMIConsole class 2016-07-25 16:42:31 +09:00
test_utils.py Pass swiftclient header values as strings 2016-08-19 10:10:01 -07:00
third_party_driver_mock_specs.py Switch Inspector interface to pass keystoneauth sessions 2016-08-22 18:04:29 +02:00
third_party_driver_mocks.py Switch Inspector interface to pass keystoneauth sessions 2016-08-22 18:04:29 +02:00