Commit f72542cc authored by Michael Hanselmann's avatar Michael Hanselmann
Browse files

rapi doc: Add …/nodes/[name] and …/instances/[name]/reinstall


Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
Reviewed-by: default avatarLuca Bigliardi <shammash@google.com>
parent 3f991867
......@@ -347,6 +347,18 @@ instance if even if secondary disks are failing.
It supports the ``dry-run`` argument.
``/2/instances/[instance_name]/reinstall``
++++++++++++++++++++++++++++++++++++++++++++++
Installs the operating system again.
It supports the following commands: ``POST``.
``POST``
~~~~~~~~
Takes the parameters ``os`` (OS template name) and ``nostartup`` (bool).
``/2/instances/[instance_name]/replace-disks``
++++++++++++++++++++++++++++++++++++++++++++++
......@@ -494,6 +506,13 @@ Example::
...
]
``/2/nodes/[node_name]``
+++++++++++++++++++++++++++++++++
Returns information about a node.
It supports the following commands: ``GET``.
``/2/nodes/[node_name]/evacuate``
+++++++++++++++++++++++++++++++++
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment