diff options
author | John Garbutt <john@johngarbutt.com> | 2018-01-09 16:48:57 +0000 |
---|---|---|
committer | Mark Goddard <mark@stackhpc.com> | 2018-01-23 22:58:59 +0000 |
commit | 2cd7232f142373b0744dd42aaf1e6ce0740a1567 (patch) | |
tree | a43542f9c2cf5118b98373def25e317c8444992a /ironic/tests/unit/drivers/third_party_driver_mocks.py | |
parent | 248296a4f520a6728f872231f86a6d37ef98575d (diff) | |
download | ironic-2cd7232f142373b0744dd42aaf1e6ce0740a1567.tar.gz |
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>
Diffstat (limited to 'ironic/tests/unit/drivers/third_party_driver_mocks.py')
0 files changed, 0 insertions, 0 deletions