Removing sleep between when a command is sent and 'YES' is sent to
confirm the operation. We believe it is added because the Cisco CLI
is mirrored based on Brocade. Removing would increase performance when
launching concurrent vms.
Closes-Bug: #
1447776
Change-Id: I3102922456fa9dde3a63ec623565a3427e9b357d
attempts -= 1
try:
stdin, stdout, stderr = ssh.exec_command(command)
- greenthread.sleep(random.randint(20, 500) / 100.0)
channel = stdout.channel
exit_status = channel.recv_exit_status()
LOG.debug("Exit Status from ssh:%s", exit_status)