ironic/ironic/tests/unit
Shivanand Tendulker 45b03d03b7 Add iDRAC RAID deploy steps
This change adds two new deploy steps to the idrac RAID interface -
apply_configuration and delete_configuration. These use the existing
RAID support in the idrac driver used for clean steps.

In order to make this work, the lifecycle controller job validation has
been modified to allow specification of a name prefix for jobs to check.
This is because configuring the node for PXE boot can result in creation
of a BIOS config job, which previously caused the validation to fail.
The RAID interface now only checks for existing jobs on the same RAID
controller, and so ignores the BIOS config job.

The disk space calculation has been modified to allow for virtual disks
that are pending deletion, as this is necessary to make the numbers work
when deleting existing virtual disks and creating new ones from the same
set of physical disks.

We also use the new deployment_polling flag in driver_internal_info to
signal that the RAID interface polls for completion of the deploy step.

Co-Authored-By: Shivanand Tendulker <stendulker@gmail.com>
Change-Id: I5803131fbdebce6f7896655a61a8fbdd4c1cd4a1
Story: 2003817
Task: 30004
2019-09-22 20:48:26 +01:00
..
api Use HTTPProxyToWSGI middleware from oslo 2019-08-02 12:29:37 +00:00
cmd Add check for object versions 2019-02-20 17:24:42 +00:00
common Fix typo in handling of exception FailedToGetIPAddressOnPort 2019-09-03 08:45:45 +02:00
conductor Don't resume deployment or cleaning on heartbeat when polling 2019-09-21 12:52:28 +01:00
conf Remove deprecated [keystone] config section 2018-06-11 13:30:50 +00:00
db Remove CIMC/UCS drivers 2019-06-25 23:44:19 -07:00
dhcp Remove deprecated Neutron authentication options 2019-07-26 14:24:22 +02:00
drivers Add iDRAC RAID deploy steps 2019-09-22 20:48:26 +01:00
objects Truncate node text fields when too long 2019-04-19 10:27:00 +02:00
__init__.py Setup logging in unit tests 2017-04-13 20:47:10 +03:00
policy_fixture.py Add keystone policy support to Ironic 2016-08-04 12:43:20 +00:00
raid_constants.py Fix gate failure related to jsonschema 2019-09-09 17:25:21 +05:30
stubs.py Enhanced checksum support 2018-10-22 16:12:31 +08:00
test_base.py Fix issue with double mocking of utils.execute functions 2018-02-23 05:44:59 -08:00