From f72542cc772d5f22f9c6a911235b24516e852dc5 Mon Sep 17 00:00:00 2001 From: Michael Hanselmann <hansmi@google.com> Date: Wed, 2 Sep 2009 13:56:16 +0200 Subject: [PATCH] =?UTF-8?q?rapi=20doc:=20Add=20=E2=80=A6/nodes/[name]=20an?= =?UTF-8?q?d=20=E2=80=A6/instances/[name]/reinstall?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michael Hanselmann <hansmi@google.com> Reviewed-by: Luca Bigliardi <shammash@google.com> --- doc/rapi.rst | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/doc/rapi.rst b/doc/rapi.rst index 125221904..e3bfc53fa 100644 --- a/doc/rapi.rst +++ b/doc/rapi.rst @@ -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`` +++++++++++++++++++++++++++++++++ -- GitLab