Data Structures | |
class | ExecError |
Functions | |
def | cmd_exec |
def | file_read |
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.