From ad77e835e8d9143f8da29fa6f13b64837972fc99 Mon Sep 17 00:00:00 2001 From: Yucong Feng Date: Fri, 24 Apr 2015 10:49:52 -0500 Subject: [PATCH] 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 --- cinder/zonemanager/drivers/cisco/cisco_fc_zone_client_cli.py | 1 - 1 file changed, 1 deletion(-) diff --git a/cinder/zonemanager/drivers/cisco/cisco_fc_zone_client_cli.py b/cinder/zonemanager/drivers/cisco/cisco_fc_zone_client_cli.py index f71e99704..14ff95223 100644 --- a/cinder/zonemanager/drivers/cisco/cisco_fc_zone_client_cli.py +++ b/cinder/zonemanager/drivers/cisco/cisco_fc_zone_client_cli.py @@ -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) -- 2.45.2