Library for managing machines with Dell iDRAC cards
Go to file
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
doc/source Removes unnecessary utf-8 coding 2016-12-26 15:21:34 +08:00
dracclient Add change_physical_disk_state function to client 2018-10-24 14:05:32 +00:00
.gitignore Switch to PBR 2015-11-05 17:30:36 +01:00
.gitreview Add .gitreview 2015-10-08 09:42:28 +02:00
CONTRIBUTING.rst Improve docs 2016-04-05 13:58:31 +02:00
HACKING.rst Add documentation 2016-04-04 14:15:30 +02:00
LICENSE Initial commit 2015-08-03 10:50:50 +02:00
README.rst Update links in README 2018-05-17 09:51:07 +00:00
requirements.txt Manually sync requirements (compatible with Newton and Ocata) 2016-11-07 11:39:07 +01:00
setup.cfg Remove support for py34 2017-06-07 10:35:13 +07:00
setup.py Switch to PBR 2015-11-05 17:30:36 +01:00
test-requirements.txt Manually sync requirements (compatible with Newton and Ocata) 2016-11-07 11:39:07 +01:00
tox.ini Remove support for py34 2017-06-07 10:35:13 +07:00

README.rst

Team and repository tags

image

python-dracclient

Library for managing machines with Dell iDRAC cards.