Commit 65c9591c authored by Michael Hanselmann's avatar Michael Hanselmann
Browse files

Document OpNodeMigrate's result for RAPI

- Commit b7a1c816

 changed the LU to generate jobs
- Mention documented results in NEWS
Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
Reviewed-by: default avatarIustin Pop <iustin@google.com>
parent d755483c
......@@ -119,6 +119,8 @@ Misc
- :doc:`RAPI <rapi>` documentation now has detailed parameter
descriptions.
- Some opcode/job results are now also documented, see :doc:`RAPI
<rapi>`.
- A lockset's internal lock is now also visible in lock monitor.
- Log messages from job queue workers now contain information about the
......
......@@ -1284,6 +1284,10 @@ The query arguments used up to and including Ganeti 2.4 are deprecated
and should no longer be used. The new request format can be detected by
the presence of the :pyeval:`rlib2._NODE_MIGRATE_REQV1` feature string.
Job result:
.. opcode_result:: OP_NODE_MIGRATE
``/2/nodes/[node_name]/role``
+++++++++++++++++++++++++++++
......
......@@ -991,6 +991,7 @@ class OpNodeMigrate(OpCode):
("iallocator", None, ht.TMaybeString,
"Iallocator for deciding the target node for shared-storage instances"),
]
OP_RESULT = TJobIdListOnly
class OpNodeEvacuate(OpCode):
......
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