]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Fix performance issues with brocade zone driver.
authorAngela Smith <aallen@brocade.com>
Wed, 4 Jun 2014 19:12:15 +0000 (12:12 -0700)
committerAngela Smith <aallen@brocade.com>
Wed, 16 Jul 2014 20:00:41 +0000 (13:00 -0700)
commit371a58fd1d3fb1c2db7e1234f9c51f22b1b8787e
tree51027f6975b7013ecdfa5f4343c7e76fcad81d71
parent5541b2c68e7c05624f07dae2f005c8cfaa353320
Fix performance issues with brocade zone driver.

Removed firmware checks from common path as the ssh invoke_shell
was taking 5 seconds to complete for each firmware check.
Refactored to only do cfgsave in non-activate case.
Removed extra calls to switch to get the active zoneset.

Closes-Bug: #1292119

Change-Id: Ie1c2c0c603f6dd68439f2c2db74b21ea2dd0fc11
cinder/tests/zonemanager/test_brcd_fc_zone_client_cli.py
cinder/tests/zonemanager/test_brcd_fc_zone_driver.py
cinder/tests/zonemanager/test_fc_zone_manager.py
cinder/zonemanager/drivers/brocade/brcd_fc_zone_client_cli.py
cinder/zonemanager/drivers/brocade/brcd_fc_zone_driver.py