]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Move SSHPool into ssh_utils.py
authorEric Harney <eharney@redhat.com>
Fri, 25 Jul 2014 19:59:40 +0000 (15:59 -0400)
committerEric Harney <eharney@redhat.com>
Wed, 30 Jul 2014 12:48:03 +0000 (08:48 -0400)
commit75ef446fef63320e9c1ed4a04e59ffbbb62b5cef
treee9dd6eec8225882105b968177661518296c07df2
parent078f3ea1bf1840a4e9ca3d58a37a432a664f93cc
Move SSHPool into ssh_utils.py

utils.py is loaded by almost everything, but SSH
code and imports (paramiko) are only needed by certain
drivers.

Split this into a separate file to reduce overhead (and
things that can break) for commands like cinder-manage.

Partial-Bug: #1348787

Change-Id: I46896f2bd1fd0de2aedde8e87e255398e5bc3171
cinder/ssh_utils.py [new file with mode: 0644]
cinder/tests/test_huawei_t_dorado.py
cinder/tests/test_utils.py
cinder/utils.py
cinder/volume/drivers/eqlx.py
cinder/volume/drivers/huawei/ssh_common.py
cinder/volume/drivers/san/san.py
cinder/zonemanager/drivers/brocade/brcd_fc_zone_client_cli.py