Update hpssacli to ssacli

Updating the older hpssacli with the new
ssacli command.

This change continue to support hpssacli
by falling back when ssacli is not available
allowing the user to update the environment.

Change-Id: Ia763eff898dff2836fd4f1bc1889ae6f44206261
This commit is contained in:
Aparna
2016-11-10 11:32:58 +00:00
parent 6ca31c0c9d
commit 615ac0eee2
5 changed files with 84 additions and 54 deletions

View File

@@ -122,7 +122,7 @@ class IloInvalidInputError(IloError):
class HPSSAException(ProliantUtilsException):
message = "An exception occured in hpssa module"
message = "An exception occured in ssa module"
def __init__(self, message=None, **kwargs):
if not message:
@@ -140,7 +140,7 @@ class PhysicalDisksNotFoundError(HPSSAException):
class HPSSAOperationError(HPSSAException):
message = ("An error was encountered while doing hpssa configuration: "
message = ("An error was encountered while doing ssa configuration: "
"%(reason)s.")