cinder/cinder/tests/unit/image
zhengyao1 25dd8109df Support create a volume from image snapshot
The instance boot from volume, snapshot the instance will create
a image in glance. The image size is 0, it just a link to the
volume snapshot. When the user create volume from the snapshot
image, in the current version, it will create a blank volume. so
the user is troubled. This patch fix it.

The scheme: when the user create volume from snapshot image, the
api create interface will parse out the snapshot image corresponds
to the volume snapshot id. Then create a volume from the volume
snapshot. So, the user can use this way to restore the instance's
bootable volume.

Change-Id: Ic44dfae8bb187a5aa9c2c1f50f7b5dc0ef0f28f8
Closes-Bug: #1560867
2017-11-25 15:05:46 +08:00
..
__init__.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
fake.py Support create a volume from image snapshot 2017-11-25 15:05:46 +08:00
test_cache.py Fix image cache db query when limits are enabled 2017-06-30 11:22:19 -07:00
test_glance.py Remove Glance v1 API support 2017-09-08 17:13:14 -05:00