module documentation
RPC definitions for communication between master and node daemons.
RPC definition fields:
- Name as string
SINGLE
for single-node calls,MULTI
for multi-node- Name resolver option(s), can be callable receiving all arguments in a tuple
- Timeout (e.g.
constants.RPC_TMO_NORMAL
), or callback receiving all arguments in a tuple to calculate timeout - List of arguments as tuples
- Name as string
- Argument kind used for encoding/decoding
- Description for docstring (can be None)
- Custom body encoder (e.g. for preparing per-node bodies)
- Return value wrapper (e.g. for deserializing into
objects
-based objects) - Short call description for docstring
Constant | ACCEPT |
Undocumented |
Constant | CALLS |
Undocumented |
Constant | ED |
Undocumented |
Constant | ED |
Undocumented |
Constant | ED |
Undocumented |
Constant | ED |
Undocumented |
Constant | ED |
Undocumented |
Constant | ED |
Undocumented |
Constant | ED |
Undocumented |
Constant | ED |
Undocumented |
Constant | ED |
Undocumented |
Constant | ED |
Undocumented |
Constant | ED |
Undocumented |
Constant | ED |
Undocumented |
Constant | ED |
Undocumented |
Constant | ED |
Undocumented |
Constant | ED |
Undocumented |
Constant | ED |
Undocumented |
Constant | MULTI |
Undocumented |
Constant | SINGLE |
Undocumented |
Function | _ |
Post-processor for rpc.node.RpcRunner.call_blockdev_find . |
Function | _ |
Post-processor for call_blockdev_getmirrorstatus_multi. |
Function | _ |
Prepares the appropriate node values for blockdev_getmirrorstatus_multi. |
Function | _ |
Post-processor for call_blockdev_getmirrorstatus. |
Function | _ |
Post-processor for import/export status. |
Function | _ |
Post-processor for rpc.node.RpcRunner.call_instance_get_migration_status |
Function | _ |
Prepare the storage_units argument for node_info calls. |
Function | _ |
Converts list of calls to dictionary. |
Function | _ |
Calculate timeout for "test_delay" RPC. |
Constant | _BLOCKDEV |
Undocumented |
Constant | _EXTSTORAGE |
Undocumented |
Constant | _FILE |
Undocumented |
Constant | _IMPEXP |
Undocumented |
Constant | _INSTANCE |
Undocumented |
Constant | _MISC |
Undocumented |
Constant | _NODE |
Undocumented |
Constant | _OS |
Undocumented |
Constant | _STORAGE |
Undocumented |
Constant | _X509 |
Undocumented |
CALLS =
¶
Undocumented
Value |
|
Post-processor for import/export status.
Returns | |
Payload containing list of objects.ImportExportStatus instances | Returns a list of the state of each named import/export or None if a status couldn't be retrieved |
_BLOCKDEV_CALLS =
¶
Undocumented
Value |
|
_EXTSTORAGE_CALLS =
¶
Undocumented
Value |
|
_FILE_STORAGE_CALLS =
¶
Undocumented
Value |
|
_IMPEXP_CALLS =
¶
Undocumented
Value |
|
_INSTANCE_CALLS =
¶
Undocumented
Value |
|
_MISC_CALLS =
¶
Undocumented
Value |
|
_NODE_CALLS =
¶
Undocumented
Value |
|
_OS_CALLS =
¶
Undocumented
Value |
|
_STORAGE_CALLS =
¶
Undocumented
Value |
|
_X509_CALLS =
¶
Undocumented
Value |
|