]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Allow spaces in host names in the storwize driver
authorAvishay Traeger <avishay@il.ibm.com>
Sun, 26 Jan 2014 10:39:27 +0000 (12:39 +0200)
committerAvishay Traeger <avishay@il.ibm.com>
Sun, 2 Feb 2014 07:31:12 +0000 (09:31 +0200)
commite62b70562dd8d2d94b526f3f7a52ef4aff9a3f40
tree1b063c025c1934551196ad3bf56578c661d93b8f
parent3923e5000c1e2132e8afd85b764aaaadb72b66da
Allow spaces in host names in the storwize driver

Storwize/SVC naming rules allow host objects to have spaces in their
names. The SSH injection filter will currently reject such names, and so
we surround the names with quotes. Please note that this doesn't allow
to have an arbitrary character in there except a space (anything else
will be cleaned up by the driver or rejected by the SSH injection filter
up the call chain).

Change-Id: If9aec40fe34293031f08d759dd930d73ead456f5
Closes-Bug: #1270204
cinder/tests/test_storwize_svc.py
cinder/volume/drivers/ibm/storwize_svc/ssh.py