ironic/ironic/tests/unit/db
Grzegorz Grasza ebfc4fe4c4 Add version column
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>
2017-06-06 15:34:37 -04:00
..
sqlalchemy Add version column 2017-06-06 15:34:37 -04:00
__init__.py Remove unused import 2016-07-21 09:03:40 +00:00
base.py Use memory mode for sqlite in db test 2016-08-16 14:37:20 +08:00
test_chassis.py Prepare for functional testing 2015-09-28 21:27:01 +00:00
test_conductor.py Speed up test_touch_conductor_deadlock() 2017-03-13 21:00:39 +00:00
test_node_tags.py Add db api layer for CRUD operations on node tags 2016-02-26 10:27:11 +08:00
test_nodes.py Replace deprecated .assertRaisesRegexp() 2017-05-18 22:30:01 -04:00
test_portgroups.py Add portgroup configuration fields 2016-12-15 22:45:42 +00:00
test_ports.py Add portgroups to support LAG interfaces - DB 2016-02-04 22:40:43 +02:00
test_volume_connectors.py Add volume_connectors table to save connector information 2016-11-23 20:42:53 -05:00
test_volume_targets.py Enable getting volume targets by their volume_id 2017-05-16 14:51:26 -04:00
utils.py Add version column 2017-06-06 15:34:37 -04:00