The API exposes GET /nodes/<node-uuid> today. What we need is a means to search for a node, given the Nova instance UUID which is stored in the ironic.nodes table in the "instance_uuid" column.
More specifically, we need three functions exposed:
- get the node with a specific instance_uuid
- get all nodes with instance_uuid == NULL
- get all nodes with instance_uuid != NULL
@linggao,
The API exposes GET /nodes/<node-uuid> today. What we need is a means to search for a node, given the Nova instance UUID which is stored in the ironic.nodes table in the "instance_uuid" column.
More specifically, we need three functions exposed:
- get the node with a specific instance_uuid
- get all nodes with instance_uuid == NULL
- get all nodes with instance_uuid != NULL
The URL should look something like this:
GET /v1/nodes? instance_ uuid=<value>