Skip to content
Snippets Groups Projects
Commit 2263aec2 authored by René Nussbaumer's avatar René Nussbaumer
Browse files

Adding missing documentation to make the docs better


Also fixed a typo I noticed.

Signed-off-by: default avatarRené Nussbaumer <rn@google.com>
Reviewed-by: default avatarIustin Pop <iustin@google.com>
parent cdeefd9b
No related branches found
No related tags found
No related merge requests found
......@@ -439,6 +439,33 @@ Takes the parameters ``mode`` (one of ``replace_on_primary``,
``remote_node`` and ``iallocator``.
``/2/instances/[instance_name]/activate-disks``
+++++++++++++++++++++++++++++++++++++++++++++++
Activate disks on an instance.
It supports the following commands: ``PUT``.
``PUT``
~~~~~~~
Takes the parameter ``ignore_size``. When set ignore the recorded
size (useful for forcing activation when recorded size is wrong).
``/2/instances/[instance_name]/deactivate-disks``
+++++++++++++++++++++++++++++++++++++++++++++++++
Deactivate disks on an instance.
It supports the following commands: ``PUT``.
``PUT``
~~~~~~~
Takes no parameters.
``/2/instances/[instance_name]/tags``
+++++++++++++++++++++++++++++++++++++
......
......@@ -678,7 +678,7 @@ class R_2_instances_name_deactivate_disks(baserlib.R_Generic):
"""
instance_name = self.items[0]
op = opcodes.OpDeActivateInstanceDisks(instance_name=instance_name)
op = opcodes.OpDeactivateInstanceDisks(instance_name=instance_name)
return baserlib.SubmitJob([op])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment