ironic/ironic/conductor
Kaifeng Wang e2a768f0cd Expose conductors: db and rpc
This patch lays some ground work around db and rpc to provide
conductors information from the API.

Changes in the db api and Conductor object is used to support
the implementation of /v1/conductors. Adds an argument
"online" to Conductor.get_by_hostname, so that we can get
the conductor object from database even it's not online,
this is required for the implementation of /v1/conductors/{hostname}.

Adds a new interface get_conductor_for() to get the hostname
of the conductor which is servicing the given node, it will
be used for the implementation of /v1/nodes* endpoints, as well
as listing nodes by given conductor.

Story: 1724474
Task: 28064

Change-Id: I39a7a47c5ae649f6c3200e772a9357023f21a7c4
2018-11-29 10:25:16 +08:00
..
__init__.py Remove copyright from empty files 2014-01-07 21:05:01 +08:00
base_manager.py Node gets stuck in ING state when conductor goes down 2018-08-03 15:07:34 +00:00
manager.py Support for protecting nodes from undeploying and rebuilding 2018-11-27 10:07:30 +01:00
notification_utils.py Add node console notifications 2016-12-23 08:51:54 +00:00
rpcapi.py Expose conductors: db and rpc 2018-11-29 10:25:16 +08:00
task_manager.py Fix task_manager process_event docstring 2018-05-31 08:35:12 +03:00
utils.py Don't fail when node is in CLEANFAIL state 2018-11-08 17:42:36 +00:00