(hostip, port, username, password, command, hypervisor=None)
| 234 | raise KeyError("Please provide the marvin configuration file with credentials to your hosts") |
| 235 | |
| 236 | def execute_command_in_host(hostip, port, username, password, command, hypervisor=None): |
| 237 | timeout = _configure_timeout(hypervisor) |
| 238 | result = _execute_ssh_command(hostip, port, username, password, command) |
| 239 | return result |
| 240 | |
| 241 | def get_process_status(hostip, port, username, password, linklocalip, command, hypervisor=None): |
| 242 | """Double hop and returns a command execution result""" |