Software RAID: Create/delete configurations

This patch proposes to extend the IPA to be able to configure software
RAID devices. For this, the {create,delete}_configuration methods of
the GenericHardwareManager are implemented.

Change-Id: Id20302537f7994982c7584af546a7e7520e9612b
Story: #2004581
Task: #29101
This commit is contained in:
Arne Wiebalck
2019-02-04 13:17:23 +01:00
parent 1684ad707c
commit 2db123d318
4 changed files with 755 additions and 0 deletions

@ -204,6 +204,15 @@ class BlockDeviceError(RESTError):
super(BlockDeviceError, self).__init__(details)
class SoftwareRAIDError(RESTError):
"""Error raised when a Software RAID causes an error."""
message = 'Software RAID caused unknown error'
def __init__(self, details):
super(SoftwareRAIDError, self).__init__(details)
class VirtualMediaBootError(RESTError):
"""Error raised when virtual media device cannot be found for config."""