Fixed for README
This commit is contained in:
parent
d8bd1a78c3
commit
b9f1659e02
31
README.rst
31
README.rst
|
@ -25,23 +25,22 @@ environment.
|
|||
API
|
||||
---
|
||||
|
||||
HTTP API consist of 2 endpoints.
|
||||
HTTP API consist of 2 endpoints:
|
||||
|
||||
``/v1/discover`` initiate hardware discovery. Request body: JSON - list of
|
||||
UUID's of nodes to discover. All power management configuration for these nodes
|
||||
needs to be done prior to calling the endpoint.
|
||||
* ``/v1/discover`` initiate hardware discovery. Request body: JSON - list of
|
||||
UUID's of nodes to discover. All power management configuration for these nodes
|
||||
needs to be done prior to calling the endpoint.
|
||||
|
||||
.. note::
|
||||
.. note::
|
||||
Right now this endpoint is not authenticated. It will switch to
|
||||
OpenStack authentication in the near future.
|
||||
|
||||
Right now this endpoint is not authenticated. It will switch to
|
||||
OpenStack authentication in the near future.
|
||||
* ``/v1/continue`` intertnal endpoint for the discovery ramdisk to post back
|
||||
discovered data. Should not be used fofr anything other than implementing
|
||||
the ramdisk. Request body: JSON dictionary with keys:
|
||||
|
||||
``/v1/continue`` intertnal endpoint for the discovery ramdisk to post back
|
||||
discovered data. Should not be used fofr anything other than implementing
|
||||
the ramdisk. Request body: JSON dictionary with keys:
|
||||
|
||||
* ``cpus`` number of CPU
|
||||
* ``cpu_arch`` architecture of the CPU
|
||||
* ``memory_mb`` RAM in MiB
|
||||
* ``local_gb`` hard drive size in GiB
|
||||
* ``macs`` list of MAC addresses for all NIC's
|
||||
* ``cpus`` number of CPU
|
||||
* ``cpu_arch`` architecture of the CPU
|
||||
* ``memory_mb`` RAM in MiB
|
||||
* ``local_gb`` hard drive size in GiB
|
||||
* ``macs`` list of MAC addresses for all NIC's
|
||||
|
|
Loading…
Reference in New Issue