]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
LeftHand: Add default SSH timeout and key values
authorAlex O'Rourke <alex.orourke@hpe.com>
Sat, 12 Mar 2016 00:05:00 +0000 (16:05 -0800)
committerAlex O'Rourke <alex.orourke@hpe.com>
Tue, 15 Mar 2016 23:34:58 +0000 (16:34 -0700)
commit1c7f7aaaafc38ace4b6512c4f0d5a2c5f08a1fea
tree282632484deb64da9de640c241c2e4532332a529
parent5db2abdad84e5a46056f840d96de89a1b9a5b757
LeftHand: Add default SSH timeout and key values

Currently if ssh_conn_timeout or san_private_key is not specified
in the remote_array object, the client creation fails. This should not
be the case. Instead, we can add default values to allow the creation
to succeed.

In addition, this patch removes some redudent lines of code and
moves a call to a more logical place.

Change-Id: I0bb32c2ea9a16ea568059ff7a5a5f07a95c718eb
Closes-Bug: #1556331
cinder/tests/unit/test_hpelefthand.py
cinder/volume/drivers/hpe/hpe_lefthand_iscsi.py