cinder/cinder/objects
Thang Pham de4c1aad3b Complete switch to snapshot objects
The following patch switches the remainder of cinder internals
to use snapshot object instead of direct db calls.  Note that
db calls within cinder drivers were not switched over.  This
is left to driver maintainers to do themselves and to
properly test out the changes on their hardware.

Also, note that there are three occurrences of
db.snapshot_update and one of db.snapshot_destroy left in
cinder/volume/manager.py.  This is intentional because
driver.create_cgsnapshot and driver.delete_cgsnapshot returns
a list of snapshot dicts.  Each driver needs to switched over
occurences of db.snapshot_get_all_for_cgsnapshot() to
SnapshotList.get_all_for_cgsnapshot() in create_cgsnapshot
and delete_cgsnapshot.  Once each driver has done so, a follow
up patch can be created to remove db.snapshot_update and
db.snapshot_destroy in cinder/volume/manager.py.  There are
bugs filed for these to be fixed -
https://bugs.launchpad.net/cinder/+bugs?field.tag=
cgsnapshot-objects.

Change-Id: I64004ac404f67eecee51361dc8edd3f149e1b987
Partial-Implements: blueprint cinder-objects
2015-06-05 11:59:39 +08:00
..
__init__.py Snapshot and volume objects 2015-03-01 17:47:54 -05:00
base.py Stop using deprecated timeutils.isotime() 2015-05-27 08:28:39 +02:00
snapshot.py Complete switch to snapshot objects 2015-06-05 11:59:39 +08:00
volume.py Switch to oslo_versionedobjects 2015-05-13 08:36:53 -07:00