diff options
author | Oleg Bondarev <obondarev@mirantis.com> | 2013-04-26 12:52:26 +0400 |
---|---|---|
committer | Mark McLoughlin <markmc@redhat.com> | 2013-05-14 09:55:23 +0100 |
commit | 586e752e69ca891714f390bf59ad30d5081d4498 (patch) | |
tree | 39a29f9cbd6e73b57893ab575c5275cd46f3915c /nova/utils.py | |
parent | 28f0b01717f17ecc545a25f6deb0aa240e5aaf0d (diff) | |
download | nova-586e752e69ca891714f390bf59ad30d5081d4498.tar.gz nova-586e752e69ca891714f390bf59ad30d5081d4498.tar.xz nova-586e752e69ca891714f390bf59ad30d5081d4498.zip |
Refactor nova.volume.cinder.API to reduce roundtrips with Cinder
Make cinder.API methods accept volume_id instead of the whole volume object.
This will remove redundant roundtrip to get the volume before
passing it to other methods as in fact they only need the id.
Fixes bug 1172297
Change-Id: I5e7f944c1c29b2f211ece2ef86c0959c81e806df
Diffstat (limited to 'nova/utils.py')
0 files changed, 0 insertions, 0 deletions