Currently each Versioned Object needs to implement its own get_by_id,
with this patch they don't need anymore, since it will be included in
the base class CinderObject and it will work for all the objects.
This will help for other things like having a refresh method or
conditional updates in the objects.
Reviewed: https:/ /review. openstack. org/218012 /git.openstack. org/cgit/ openstack/ cinder/ commit/ ?id=938cb0c5ab1 1638a07c22e9db2 b0d241223d9d9f
Committed: https:/
Submitter: Jenkins
Branch: master
commit 938cb0c5ab11638 a07c22e9db2b0d2 41223d9d9f
Author: Gorka Eguileor <email address hidden>
Date: Fri Aug 28 01:14:02 2015 +0200
Move get_by_id to CinderObject
Currently each Versioned Object needs to implement its own get_by_id,
with this patch they don't need anymore, since it will be included in
the base class CinderObject and it will work for all the objects.
This will help for other things like having a refresh method or
conditional updates in the objects.
Related-Bug: #1490944 003533ee083f74a cd1315f057e
Related-Bug: #1238093
Related-Bug: #1490946
Related-Bug: #1469659
Change-Id: I355dc8eaefed93