]> review.fuel-infra Code Review - openstack-build/heat-build.git/commit
Validate OS::Nova::Server block_device_mapping property
authorLiang Chen <cbjchen@cn.ibm.com>
Fri, 13 Sep 2013 06:28:15 +0000 (14:28 +0800)
committerLiang Chen <cbjchen@cn.ibm.com>
Fri, 13 Sep 2013 08:25:41 +0000 (16:25 +0800)
commit84c50ab91cc8d2b080a064a81285b82fdb8df9fc
tree05c90a8f975b7a2c487353b14672271aba0d3d01
parentf0ce5cce6e1845f33fc221309a0465753562f6e0
Validate OS::Nova::Server block_device_mapping property

Make sure either volume_id or snapshot_id exists but not both. Also this patch
ensures that a bootable volume is specified when image is not given.

Fixes bug #1215267

Change-Id: Ia51f6c7aec9c0b257318992ee58febc392ea3d84
heat/engine/resources/server.py
heat/tests/test_server.py