From: Michael Hanselmann Date: Fri, 12 Aug 2011 12:06:54 +0000 (+0200) Subject: Document job results for RAPI where possible X-Git-Tag: v2.5.0beta1~5 X-Git-Url: https://code.grnet.gr/git/ganeti-local/commitdiff_plain/7859261b2313cf2570fbbab70d4b50a35d68a46e Document job results for RAPI where possible Some opcodes aren't documented yet. Signed-off-by: Michael Hanselmann Reviewed-by: René Nussbaumer --- diff --git a/doc/rapi.rst b/doc/rapi.rst index 9a15e90..7ed29a8 100644 --- a/doc/rapi.rst +++ b/doc/rapi.rst @@ -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`` +++++++++++++++++++++++++++++++++