ironic/ironic/tests/unit/db
Mark Goddard bbff319f02 Node traits: Add DB API & model
Adds a NodeTrait model to the DB and DBAPI methods for the following:

* Set/unset node traits
* Get node traits
* Add/remove a single trait
* Check for existence of a node trait

All node traits are deleted when their owner node is deleted. Traits
cannot be specified on node creation currently.

Change-Id: I8b375a33dcb94d2cc73eaa93a5cc5aed86c27178
Partial-Bug: #1722194
2018-01-11 15:20:43 +00:00
..
sqlalchemy Node traits: Add DB API & model 2018-01-11 15:20:43 +00:00
__init__.py Remove unused import 2016-07-21 09:03:40 +00:00
base.py Remove usage of some of the deprecated methods 2017-07-31 10:14:08 +00:00
test_api.py ironic-dbsync: check object versions 2017-10-23 12:52:25 +00: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 I202 to flake ignore list 2017-10-25 14:32:52 +03:00
test_node_traits.py Node traits: Add DB API & model 2018-01-11 15:20:43 +00:00
test_nodes.py Node traits: Add DB API & model 2018-01-11 15:20:43 +00: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 Node traits: Add DB API & model 2018-01-11 15:20:43 +00:00