]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Fixing HNAS XML parser
authorErlon R. Cruz <erlon.cruz@fit-tecnologia.org.br>
Tue, 17 Nov 2015 17:43:01 +0000 (15:43 -0200)
committerJohn Griffith <john.griffith8@gmail.com>
Mon, 25 Jan 2016 17:06:32 +0000 (17:06 +0000)
commit975e9a364afb6ee6000f8a38805f6c9a84957e25
treee965336dae691c10ab5c6c53631f87819ba033e3
parentcbc99485fca96c3b9c53cdc660011aab8bb4e294
Fixing HNAS XML parser

HNAS XML parser does not handles situations where the user
could accidentally insert a blank space in the parameter value
breaking the driver in execution time. With this fix, an
error is raised in the driver setup.

Closes-bug: #1537758
Change-Id: If553647563638a5c9a09441ad2ec40ed13a0ece2
cinder/tests/unit/test_hitachi_hnas_nfs.py
cinder/volume/drivers/hitachi/hnas_iscsi.py
cinder/volume/drivers/hitachi/hnas_nfs.py