tacker.common.cmd_executer module

class tacker.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 tacker.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)