Removing sleep between when a command is sent and 'YES' is sent
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
This commit is contained in:
parent
c8b413696a
commit
ad77e835e8
@ -430,7 +430,6 @@ class CiscoFCZoneClientCLI(object):
|
||||
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)
|
||||
|
Loading…
Reference in New Issue
Block a user