MCPcopy Create free account
hub / github.com/apache/cloudstack / _configure_timeout

Function _configure_timeout

tools/marvin/marvin/lib/utils.py:55–62  ·  view source on GitHub ↗
(hypervisor)

Source from the content-addressed store, hash-verified

53
54
55def _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
65def _execute_ssh_command(hostip, port, username, password, ssh_command, timeout=5):

Callers 2

execute_command_in_hostFunction · 0.85
get_process_statusFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected