]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Added provider_id to volume and snapshot object
authoryogeshprasad <yogesh.prasad@cloudbyte.com>
Mon, 9 Mar 2015 11:45:17 +0000 (17:15 +0530)
committeryogeshprasad <yogesh.prasad@cloudbyte.com>
Fri, 13 Mar 2015 15:54:29 +0000 (21:24 +0530)
commitc4d86761a22e2bf8b19975c5b22626488a69e031
treed9cb11e11caa5dc37c76510e71335ecd7dc2d116
parentef6cacd3c15a34f4686601eca3bea7c3cb8e723e
Added provider_id to volume and snapshot object

This feature helps cinder drivers to access provider
information without resorting to DB access in their driver code.

Closes-Bug: #1430145
Change-Id: I72bcbdafd1c2ec24fa4c52978c88b8518db2a1ec
cinder/objects/snapshot.py
cinder/objects/volume.py
cinder/tests/objects/test_snapshot.py
cinder/tests/test_volume.py