]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
3PAR driver terminate connection host validation
authorKurt Martin <kurt.f.martin@hp.com>
Wed, 21 Aug 2013 16:38:54 +0000 (09:38 -0700)
committerKurt Martin <kurt.f.martin@hp.com>
Wed, 21 Aug 2013 16:38:54 +0000 (09:38 -0700)
commit5a49640ba85adceb9fe91f745e5e374c3ee5a112
treea9e531b761b14dca5c5760b4ba94b60bbc97f102
parentd2b48cd96db32668876c0d3e9518653f09d7cacb
3PAR driver terminate connection host validation

The 3PAR backend does not allow FQDN host names (i.e. foo.rose.hp.com),
instead it requires just foo without the rose.hp.com. This patch will
now validate the host name in terminate connection by calling
_safe_host just as it was doing in initialize connection when creating
the host on the 3PAR backend.

Change-Id: I52e90938c782473edc93f30672a0530ab5934edc
Fixes: bug 1214994
cinder/volume/drivers/san/hp/hp_3par_fc.py
cinder/volume/drivers/san/hp/hp_3par_iscsi.py