(hypervisor)
| 53 | |
| 54 | |
| 55 | def _configure_timeout(hypervisor): |
| 56 | timeout = 5 |
| 57 | |
| 58 | # Increase hop into router |
| 59 | if str(hypervisor).lower() == 'hyperv': |
| 60 | timeout = 12 |
| 61 | |
| 62 | return timeout |
| 63 | |
| 64 | |
| 65 | def _execute_ssh_command(hostip, port, username, password, ssh_command, timeout=5): |
no outgoing calls
no test coverage detected