python-dracclient/dracclient/resources
David Paterson e0149f1e71 Add change_physical_disk_state function to client
Build a list of controllers which had disks converted
to or from RAID/JBOD and inidicate if a reboot is required.

The following steps allow the caller to retrieve a list of
controllers that have disks comverted to the specified
RAID status:
- Examine all disks in the system and filter out any that
are not attached to a RAID/BOSS controller.
- Inspect the controllers' disks to see if there are
disks that need to be converted. If a disk is already in
the desired status the disk is ignored, otherwise
it is converted. This function also handles failed or
unknown disk status appropriately and will raise exception(s)
where needed.
- Finally a dict is returned containing a list of controller
IDs for controllers whom had any of their disks converted,
and whether a reboot is required.

Typically the caller would then create a config job for the
list of controllers returned to finalize the RAID
configuration and reboot the node if necessary.

Change-Id: I5229f7699c9ca1d5b72a54b4ddcea6313b440836
Co-Authored-By: Christopher Dearborn <Christopher.Dearborn@dell.com>
(cherry picked from commit bef7a0a8ce)
2018-10-24 14:05:32 +00:00
..
__init__.py Add power management 2015-11-10 10:05:21 +01:00
bios.py Add ability to set iDRAC card settings 2018-02-08 10:13:35 -05:00
idrac_card.py Adds ability to reset iDRAC 2018-10-10 20:06:37 +00:00
inventory.py Add UUID to System object in python-dracclient 2018-09-28 20:45:38 +00:00
job.py Define constants for types of reboot job 2018-08-23 15:34:57 -04:00
lifecycle_controller.py Simplify get Lifecycle Controller version 2017-07-27 10:37:20 -04:00
nic.py Add support for NIC configuration 2018-07-27 15:48:07 -04:00
raid.py Add change_physical_disk_state function to client 2018-10-24 14:05:32 +00:00
system.py Fetch system attributes 2017-07-06 14:42:34 -07:00
uris.py Add support for NIC configuration 2018-07-27 15:48:07 -04:00