]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Add volume bootable information to api response
authorMike Perez <thingee@gmail.com>
Mon, 19 Nov 2012 05:27:39 +0000 (21:27 -0800)
committerMike Perez <thingee@gmail.com>
Wed, 21 Nov 2012 18:35:12 +0000 (10:35 -0800)
commit040d9309c52a517c4236b3750fdde7a69c4be5e7
tree4ed3bb937d59675f729b54154c9562cd1c2eab63
parent3f183070f72c949eb65d25c9c532d953f996a3e4
Add volume bootable information to api response

If there is any glance metadata associated with a volume, we'll consider
the volume bootable. This will return the information for both /volumes
and /detail calls.

blueprint list-bootable-volumes

Change-Id: Id9dbe5cb648be62fb19bb8bd6a97d8eab05ec25a
cinder/api/openstack/volume/volumes.py
cinder/db/sqlalchemy/models.py
cinder/tests/api/openstack/fakes.py
cinder/tests/api/openstack/volume/test_volumes.py