Redfish: Adds 'delete_raid_configuration' API to clear raid

The commit adds functionality to delete logical drives in a
SmartStorageConfig redfish systems.

Co-Authored-By: Paresh Sao <paresh.sao@hpe.com>
Change-Id: Id3a07ab0ca1c0ad8199a28ef2efb22aadc5edfd5
This commit is contained in:
Anshul Jain
2017-09-28 14:42:55 +05:30
committed by paresh-sao
parent 21549e746d
commit 2cf3a473c9
16 changed files with 440 additions and 6 deletions

View File

@@ -80,6 +80,16 @@ class IloCommandNotSupportedInBiosError(IloCommandNotSupportedError):
super(IloCommandNotSupportedInBiosError, self).__init__(message)
class IloLogicalDriveNotFoundError(IloError):
"""Logical drive not found error.
This exception is raised when iLO client library unable to find
any logical drive on storage controller
"""
def __init__(self, message, errorcode=None):
super(IloLogicalDriveNotFoundError, self).__init__(message)
class IloLoginFailError(IloError):
"""iLO Login Failed.