ironic/ironic/tests/unit/drivers/modules
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
..
ansible Deploy steps - conductor & drivers 2018-07-11 16:18:59 +00:00
cimc Remove the remaining fake drivers 2018-06-18 18:52:04 +02:00
drac iDRAC RAID10 creation with greater than 16 drives 2018-07-02 10:23:04 -04:00
ilo Remove the ilo classic drivers 2018-06-22 16:55:20 +02:00
irmc Support RAID configuration for BM via iRMC driver 2018-07-04 15:45:34 +07:00
network Completely stop using the "fake" classic driver in unit tests 2018-06-06 16:10:43 +02:00
oneview Remove the OneView classic drivers 2018-06-26 14:30:27 +02:00
redfish Added Redfish boot mode management 2018-06-18 10:55:47 +02:00
storage Merge "Add an external storage interface" 2018-06-26 11:49:41 +00:00
ucs Remove the remaining fake drivers 2018-06-18 18:52:04 +02:00
xclarity Remove excessive usage of mock_the_extension_manager in unit tests - part 2 2018-05-24 18:47:52 +02:00
__init__.py Move unit tests to correct directory 2015-09-30 17:47:19 -07:00
test_agent.py Deploy steps - conductor & drivers 2018-07-11 16:18:59 +00:00
test_agent_base_vendor.py Deploy steps - conductor & drivers 2018-07-11 16:18:59 +00:00
test_agent_client.py Do not pass credentials to the ramdisk on cleaning 2018-02-07 12:22:26 +01:00
test_console_utils.py Remove the fake_agent, fake_pxe and fake_inspector drivers 2018-06-08 10:18:31 +02:00
test_deploy_utils.py Deploy steps - conductor & drivers 2018-07-11 16:18:59 +00:00
test_image_cache.py Rework keystone auth for glance 2017-11-17 11:40:14 -05:00
test_inspector.py Remove the ipmitool classic drivers 2018-06-27 13:08:42 +02:00
test_ipmitool.py Move boot-related code to boot_mode_utils.py 2018-06-20 11:37:11 +02:00
test_iscsi_deploy.py Deploy steps - conductor & drivers 2018-07-11 16:18:59 +00:00
test_noop.py Fix FakeBIOS to allow tempest testing 2018-06-04 12:17:36 +02:00
test_pxe.py Remove the iRMC classic drivers 2018-06-26 14:30:38 +02:00
test_snmp.py Merge "Add read&write SNMP community names to `snmp` driver" 2018-07-05 22:06:22 +00:00