summaryrefslogtreecommitdiffstats
path: root/nova/notifications.py
diff options
context:
space:
mode:
authorJosh Durgin <josh.durgin@inktank.com>2012-08-14 12:26:19 -0700
committerJosh Durgin <josh.durgin@inktank.com>2012-09-18 08:54:25 -0700
commit283badb37edb1f676591ad8b3d94f4b2d7cd13dd (patch)
treed4979a8c57c251ecbe8d8b4bca68ad4a218c79e8 /nova/notifications.py
parentde09c1866b9138610914ddaaebb9b030884d1e28 (diff)
downloadnova-283badb37edb1f676591ad8b3d94f4b2d7cd13dd.tar.gz
nova-283badb37edb1f676591ad8b3d94f4b2d7cd13dd.tar.xz
nova-283badb37edb1f676591ad8b3d94f4b2d7cd13dd.zip
add get_location method for images
This is useful for determining whether the backend storage for the image in Glance is the same as the storage used in a volume driver. The direct_url is only available in the v2 images API, so add a version parameter to each request. As more parts of the v2 API are used, this parameter will become more useful. Signed-off-by: Josh Durgin <josh.durgin@inktank.com> Conflicts: nova/image/glance.py This is based on a cherry-pick of cinder commit 171a57a6879683dac5f219a0e8f1080ea687105d Change-Id: I5ca06b6d80ffe4118f8dd381ed11283573bce71f
Diffstat (limited to 'nova/notifications.py')
0 files changed, 0 insertions, 0 deletions