]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Adding a SSH Connection Pool.
authorNirmal Ranganathan <rnirmal@gmail.com>
Fri, 2 Nov 2012 04:05:35 +0000 (23:05 -0500)
committerNirmal Ranganathan <rnirmal@gmail.com>
Fri, 2 Nov 2012 04:05:35 +0000 (23:05 -0500)
commitb864a08b2aa7e7ba953dd4afce2c3042ba963ae7
treeb7f21c9bba7919d48ad4a525d92e72d8046b3584
parent29378ef7a588b8930329800423d6fc5e344072c7
Adding a SSH Connection Pool.

Adds a connection pool using eventlet.pools
which works well with greenthreads. Adding new
parameters ssh_min_pool_conn and ssh_max_pool_conn.

Updating the _run_ssh method in san.py to use the
connection pool and cleaning up the existing
single connections, also added retries.

Fixes bug 1074185

Change-Id: I90dd89ffc025d09fc6ad060c4273508103b85456
cinder/tests/test_utils.py
cinder/utils.py
cinder/volume/san/san.py
etc/cinder/cinder.conf.sample