]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Use a SSH pool to manage SSH connection
authorzhangchao010 <zhangchao010@huawei.com>
Thu, 4 Apr 2013 00:45:21 +0000 (08:45 +0800)
committerzhangchao010 <zhangchao010@huawei.com>
Fri, 12 Apr 2013 16:57:12 +0000 (00:57 +0800)
commit0eb0158e2450b6b44715842fa9f04a9552ea0a41
treedf8013055bdd54db8c15cffd1691d8593132038e
parent7437175d1ee37142955dcaa564c2595baf16c831
Use a SSH pool to manage SSH connection

Use a SSH pool to hold all SSH clients.It allows 4 SSH clients
at most to connect to the SSH server at the same time.
This patchset also enables every SSH client connect to the other
controller when they failed to connect to the current controller.
For example,failed to A,then to B,or,failed to B,then to A.

Fixes bug: 1162251
Change-Id: I86f7f684639034be97ddf2031e61ac6bf3a196ad
cinder/utils.py
cinder/volume/drivers/huawei/huawei_iscsi.py