plugin::hpsa::utils Namespace Reference

Data Structures

class  ExecError

Functions

def cmd_exec
def file_read

Function Documentation

def plugin::hpsa::utils::cmd_exec (   cmds  ) 
Execute provided command and return the STDOUT as string.
Raise ExecError if command return code is not zero

Definition at line 21 of file hpsa/utils.py.

def plugin::hpsa::utils::file_read (   file_path  ) 
Read file and return string of file content.

Definition at line 37 of file hpsa/utils.py.


Generated on 9 Jul 2015 for libStorageMgmt by  doxygen 1.6.1