Commit 7859261b authored by Michael Hanselmann's avatar Michael Hanselmann

Document job results for RAPI where possible

Some opcodes aren't documented yet.
Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
Reviewed-by: default avatarRené Nussbaumer <rn@google.com>
parent 1456df62
......@@ -477,6 +477,10 @@ Body parameters:
.. opcode_params:: OP_GROUP_SET_PARAMS
:exclude: group_name
Job result:
.. opcode_result:: OP_GROUP_SET_PARAMS
``/2/groups/[group_name]/rename``
+++++++++++++++++++++++++++++++++
......@@ -495,6 +499,10 @@ Body parameters:
.. opcode_params:: OP_GROUP_RENAME
:exclude: group_name
Job result:
.. opcode_result:: OP_GROUP_RENAME
``/2/groups/[group_name]/assign-nodes``
+++++++++++++++++++++++++++++++++++++++
......@@ -640,6 +648,10 @@ Earlier versions used parameters named ``name`` and ``os``. These have
been replaced by ``instance_name`` and ``os_type`` to match the
underlying opcode. The old names can still be used.
Job result:
.. opcode_result:: OP_INSTANCE_CREATE
``/2/instances/[instance_name]``
++++++++++++++++++++++++++++++++
......@@ -919,6 +931,10 @@ Body parameters:
.. opcode_params:: OP_INSTANCE_RENAME
:exclude: instance_name
Job result:
.. opcode_result:: OP_INSTANCE_RENAME
``/2/instances/[instance_name]/modify``
++++++++++++++++++++++++++++++++++++++++
......@@ -937,6 +953,10 @@ Body parameters:
.. opcode_params:: OP_INSTANCE_SET_PARAMS
:exclude: instance_name
Job result:
.. opcode_result:: OP_INSTANCE_SET_PARAMS
``/2/instances/[instance_name]/console``
++++++++++++++++++++++++++++++++++++++++
......@@ -1240,6 +1260,10 @@ Up to and including Ganeti 2.4 query arguments were used. Those are no
longer supported. The new request can be detected by the presence of the
:pyeval:`rlib2._NODE_EVAC_RES1` feature string.
Job result:
.. opcode_result:: OP_NODE_EVACUATE
``/2/nodes/[node_name]/migrate``
+++++++++++++++++++++++++++++++++
......
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