ebfc4fe4c4
This extends versioned objects and uses the object's convert_to_version() to perform conversions between different versions of the object. This conversion is only done at the "boundaries" of the api and conductor services. That is, when reading/writing to the database and when serializing/deserializing (for RPC). Internally, the services deal with the latest versions of the objects. Version column is introduced to make sure reading the DB object versions happens transparently for the developer. An exception is raised in case of a version compatibility error. The version column is null at first and will be filled with the appropriate versions by a data migration script in a following patch. Change-Id: I34629a5cbab7ff3f246ea19c0cb766badc7061db Partial-Bug: #1526283 Co-Authored-By: Ruby Loo <ruby.loo@intel.com> |
||
---|---|---|
.. | ||
apache2 | ||
ironic |