oslo.versionedobjects¶
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.
- Free software: Apache license
- Documentation: http://docs.openstack.org/developer/oslo.versionedobjects
- Source: http://git.openstack.org/cgit/openstack/oslo.versionedobjects
- Bugs: http://bugs.launchpad.net/oslo.versionedobjects
Contents¶
- Installation
- API
- Usage
- Add oslo.versionedobjects to requirements
- Create objects subdirectory and a base.py inside it
- Create base object with the project namespace
- Create other base objects if needed
- Implement objects and place them in objects/*.py
- Implement extra fields in objects/fields.py
- Create object registry and register all objects
- Create and attach the object serializer
- Implement the indirection API
- Configuration Options
- Contributing