def _hpssacli(*args, **kwargs):

    dont_transform_to_hpssa_exception = kwargs.get(
        'dont_transform_to_hpssa_exception', False)
    kwargs.pop('dont_transform_to_hpssa_exception', None)

    try:
        stdout, stderr = processutils.execute("hpssacli",
                                              *args, **kwargs)
    except (OSError, processutils.ProcessExecutionError) as e:
        if not dont_transform_to_hpssa_exception:
            raise exception.HPSSAOperationError(reason=e)
        else:
            raise

    return stdout, stderr
Wrapper function for executing hpssacli command.
dataset/ETHPy150Open openstack/proliantutils/proliantutils/hpssa/objects.py/_hpssacli