ironic/ironic/objects
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 BIOS Settings: Add RPC object 2018-04-24 11:47:56 +08:00
base.py Use max version of an object 2018-08-02 13:43:51 +00:00
bios.py BIOS Settings: add sync_node_setting 2018-06-20 15:15:01 +08:00
chassis.py [trivial] Fix argument descriptions 2017-07-10 14:12:56 +00:00
conductor.py Expose conductors: db and rpc 2018-11-29 10:25:16 +08:00
fields.py Fix W504 errors 2018-05-09 06:11:30 -07:00
indirection.py Remove cyclic import between rpcapi and objects.base 2016-09-13 15:55:44 +01:00
node.py Support for protecting nodes from undeploying and rebuilding 2018-11-27 10:07:30 +01:00
notification.py Fix W504 errors 2018-05-09 06:11:30 -07:00
port.py Copy port[group] VIF info from extra to internal_info 2018-04-02 17:56:47 +00:00
portgroup.py Fix E501 errors 2018-05-14 18:54:07 +00:00
trait.py Support nested objects and object lists in as_dict 2018-02-22 00:29:58 +00:00
volume_connector.py Add CRUD notification objects for volume connector and volume target 2017-06-28 11:13:00 +09:00
volume_target.py Add CRUD notification objects for volume connector and volume target 2017-06-28 11:13:00 +09:00