Example #1
0
    def __init__(self, host, command):
        self._host = host
        self._command = command
        self._job_id = 0
        self._COMMAND_SUCCESS_OUTPUT = "SUCCESS"

	config_helper = Config_helper(host=host)
        self._ssh_user = config_helper.get_ssh_user()
        self._private_key_file = config_helper.get_private_key_file()
Example #2
0
    def __init__(self, host, command):
        self._host = host
        self._command = command
        self._job_id = 0
        self._COMMAND_SUCCESS_OUTPUT = "SUCCESS"

        config_helper = Config_helper(host=host)
        self._ssh_user = config_helper.get_ssh_user()
        self._private_key_file = config_helper.get_private_key_file()