mogan/api-ref/source/v1/nodes.inc
Zhenguo Niu 8a8dc20660 Add node list support
This adds support for listing node names from resource providers,
which will only available for admins.

Partially Implements: bp node-aggregate

Change-Id: I414bf176302fc076288e6a6fbfd88a7090541622
2017-07-28 12:53:39 +08:00

33 lines
499 B
ReStructuredText

.. -*- rst -*-
===============
Compute Nodes
===============
Lists compute nodes.
List Compute Node information
=============================
.. rest_method:: GET /nodes
Lists compute nodes, including name.
Normal response codes: 200
Error response codes: unauthorized(401), forbidden(403)
Response
--------
.. rest_parameters:: parameters.yaml
- nodes: nodes
|
**Example List compute node information**
.. literalinclude:: samples/nodes/node-list-resp.json
:language: javascript