ironic/ironic/tests/unit/drivers
Mark Goddard 65a68e4e96 Deploy steps - conductor & drivers
This adds a 'deploy_step' decorator. A deploy step must take as the
only positional argument, a TaskManager object.

A step can be executed synchronously or asynchronously. A step should
return None if the method has completed synchronously or
states.DEPLOYWAIT if the step will continue to execute asynchronously.
If the step executes asynchronously, it should issue a call to the
'continue_node_deploy' RPC, so the conductor can begin the next
deploy step.

Only steps with priorities greater than 0 are used.
These steps are ordered by priority from highest value to lowest
value. For steps with the same priority, they are ordered by driver
interface priority (see conductor.manager.DEPLOYING_INTERFACE_PRIORITY).

All in-tree DeployInterfaces are converted to have one big deploy_step
(their existing deploy() method).

A new RPC method 'continue_node_deploy' (RPC API version 1.45) is used
by deploy steps to notify the conductor to continue node deployment
(e.g. execute the next deploy step).

Similar to cleaning, the conductor gets the node's deploy steps and
executes them, one at a time (one deploy step right now). The conductor
also handles out-of-tree drivers that don't have deploy steps yet; a
warning is logged in these cases.

Co-Authored-By: Ruby Loo <rloo@oath.com>

Change-Id: I5feac3856cc4b87a850180b7fd0b3b9805f9225f
Story: #1753128
Task: #22592
2018-07-11 16:18:59 +00:00
..
modules Deploy steps - conductor & drivers 2018-07-11 16:18:59 +00:00
__init__.py Prepare for functional testing 2015-09-28 21:27:01 +00:00
boot.ipxe Convert iPXE boot script to Jinja template 2016-11-21 18:44:38 +02:00
elilo_efi_pxe_config.template Do not pass ipa-driver-name as kernel parameter 2016-11-11 17:16:20 +02:00
ipxe_config.template Remove ip parameter from ipxe command line 2018-05-04 12:24:37 -07:00
ipxe_config_boot_from_volume_extra_volume.template Fix authentication issues along with add multi extra volumes 2018-05-30 14:28:01 +07:00
ipxe_config_boot_from_volume_no_extra_volumes.template Fix authentication issues along with add multi extra volumes 2018-05-30 14:28:01 +07:00
ipxe_config_timeout.template Remove ip parameter from ipxe command line 2018-05-04 12:24:37 -07:00
pxe_config.template Stop passing IP address to IPA by PXE 2018-05-30 10:58:37 +09:00
pxe_grub_config.template Do not pass ipa-driver-name as kernel parameter 2016-11-11 17:16:20 +02:00
test_base.py Deploy steps - conductor & drivers 2018-07-11 16:18:59 +00:00
test_cisco.py Add I202 to flake ignore list 2017-10-25 14:32:52 +03:00
test_drac.py Remove the iDRAC classic drivers 2018-06-26 14:29:37 +02:00
test_fake_hardware.py Adds boot mode support to ManagementInterface 2018-06-15 15:19:41 +00:00
test_generic.py Completely stop using the "fake" classic driver in unit tests 2018-06-06 16:10:43 +02:00
test_ilo.py Remove the ilo classic drivers 2018-06-22 16:55:20 +02:00
test_ipmi.py Remove the ipmitool classic drivers 2018-06-27 13:08:42 +02:00
test_irmc.py Support RAID configuration for BM via iRMC driver 2018-07-04 15:45:34 +07:00
test_oneview.py Remove the OneView classic drivers 2018-06-26 14:30:27 +02:00
test_redfish.py Add redfish driver 2017-04-21 11:06:24 +01:00
test_snmp.py Adds hardware type for SNMP powered systems 2017-08-07 10:28:16 -04:00
test_utils.py Completely stop using the "fake" classic driver in unit tests 2018-06-06 16:10:43 +02:00
test_xclarity.py tox.ini: flake8: Remove I202 from ignore list 2018-02-26 09:00:42 -08:00
third_party_driver_mock_specs.py Added Redfish boot mode management 2018-06-18 10:55:47 +02:00
third_party_driver_mocks.py Remove the iRMC classic drivers 2018-06-26 14:30:38 +02:00