The apmec.common.cmd_executer Module

The apmec.common.cmd_executer Module

class apmec.common.cmd_executer.CommandResult(cmd, stdout, stderr, return_code)

Bases: object

Result class contains command, stdout, stderror and return code.

get_command()
get_return_code()
get_stderr()
get_stdout()
class apmec.common.cmd_executer.RemoteCommandExecutor(user, password, host, timeout=10)

Bases: object

Class to execute a command on remote location

close_session()
execute_command(cmd, input_data=None)
Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.