ironic/ironic/tests/unit/objects
John Garbutt 2cd7232f14 Add RPC object for traits
Adds a new traits object to expose traits DB operations to the API. It
also adds a new traits field into the node object, with the appropriate
version compatibility logic.

get_node_by_port_addresses is modified to ensure we correctly join in
the tags and traits in that DB call, this avoids a orphaned db object
lazy load style failure.

_set_from_db_object in the base object is modified such that the new
traits object doesn't have to include the dictionary style compatibility
mix-in.

Change-Id: I69403b9875a020fab7a7975810b57bf646417953
Partial-Bug: #1722194
Co-Authored-By: Mark Goddard <mark@stackhpc.com>
2018-01-23 22:58:59 +00:00
..
__init__.py Prepare for functional testing 2015-09-28 21:27:01 +00:00
test_chassis.py Unit test consistency: DB base and utils prefix 2017-06-20 09:36:21 +01:00
test_conductor.py Add missing 'autospec' to unit tests - /unit/objects/ 2017-11-09 09:28:10 -08:00
test_fields.py Add power state change notifications 2016-10-17 15:39:18 +00:00
test_node.py Add RPC object for traits 2018-01-23 22:58:59 +00:00
test_notification.py Add missing 'autospec' to unit tests - /unit/objects/ 2017-11-09 09:28:10 -08:00
test_objects.py Add RPC object for traits 2018-01-23 22:58:59 +00:00
test_port.py Add missing 'autospec' to unit tests - /unit/objects/ 2017-11-09 09:28:10 -08:00
test_portgroup.py Unit test consistency: DB base and utils prefix 2017-06-20 09:36:21 +01:00
test_trait.py Add RPC object for traits 2018-01-23 22:58:59 +00:00
test_volume_connector.py Add missing 'autospec' to unit tests - /unit/objects/ 2017-11-09 09:28:10 -08:00
test_volume_target.py Add missing 'autospec' to unit tests - /unit/objects/ 2017-11-09 09:28:10 -08:00
utils.py Add RPC object for traits 2018-01-23 22:58:59 +00:00