]> review.fuel-infra Code Review - openstack-build/heat-build.git/commit
Validate invalid mountpoint.device entries
authorSteven Dake <sdake@redhat.com>
Wed, 9 May 2012 20:35:22 +0000 (13:35 -0700)
committerSteven Dake <sdake@redhat.com>
Wed, 9 May 2012 20:35:22 +0000 (13:35 -0700)
commit899e952ed697d7b44b5d3b9438c95dd157f3a14a
tree62f3c511a5b0628a7838e5d6cbe50852b321785e
parent4d432413e13f4cba88e9ed8a4f9ddd15925bc501
Validate invalid mountpoint.device entries

Since KVM only allows /dev/vd[a-z], we validate that implementation-specific
sd[a-z] is rejected by heat validation.

See:
http://docs.openstack.org/trunk/openstack-compute/admin/content/managing-volumes.html
Search device name

Resolves issue #71

Signed-off-by: Steven Dake <sdake@redhat.com>
heat/engine/volume.py