Ryan Rossiter a912b8f661 Use oslo_utils for tupleizing versions
The VersionedObjectRegistry had a helper method in it, _vers_tuple(),
that converted an object's string version to a tuple.
oslo_utils.version_utils does that for us, so this changes over
_vers_tuple() to return version_utils's result. The inline function was
left to save on horizontal space (2 calls of convert_version_to_tuple()
in an inequality starts looking ugly really quick).

Change-Id: I69777ed2c0486996c63ef592325a5757c0b4b0b3
2016-01-22 17:24:30 +00:00
2015-02-02 15:08:43 -05:00
2015-02-02 15:08:43 -05:00
2015-02-02 15:08:43 -05:00
2015-02-02 15:08:43 -05:00
2015-02-02 15:08:43 -05:00
2015-02-02 15:08:43 -05:00
2016-01-16 03:31:33 +00:00
2015-09-17 12:16:17 +00:00
2015-12-09 17:59:31 +08:00

oslo.versionedobjects

Latest Version

Downloads

The oslo.versionedobjects library provides a generic versioned object model that is RPC-friendly, with inbuilt serialization, field typing, and remotable method calls. It can be used to define a data model within a project independent of external APIs or database schema for the purposes of providing upgrade compatibility across distributed services.

Description
OpenStack versioned objects library
Readme 7 MiB
Languages
Python 100%