Trees | Indices | Help |
|
---|
|
Inter-node RPC library.
|
|||
RpcResult RPC Result class. |
|||
_StaticResolver | |||
_RpcProcessor | |||
_RpcClientBase | |||
RpcRunner RPC runner class. |
|||
JobQueueRunner RPC wrappers for job queue. |
|||
BootstrapRunner RPC wrappers for bootstrapping. |
|||
DnsOnlyRunner RPC wrappers for calls using only DNS. |
|||
ConfigRunner RPC wrappers for config. |
|
|||
|
|||
|
|||
|
|||
|
|||
tuple |
|
||
list of tuple; (string, string) |
|
||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
dict |
|
|
|||
_RPC_CLIENT_HEADERS = ["Content-type: %s" % http.HTTP_APP_JSON
|
|||
_OFFLINE = object() Special value to describe an offline host |
|||
_ENCODERS = {rpc_defs.ED_OBJECT_DICT: _ObjectToDict, rpc_defs. Generic encoders |
Imports: logging, zlib, base64, pycurl, threading, copy, utils, objects, http, serializer, constants, errors, netutils, ssconf, runtime, compat, rpc_defs, pathutils, vcluster, _generated_rpc, ganeti
|
Initializes the module-global HTTP client manager. Must be called before using any RPC function and while exactly one thread is running. |
Stops the module-global HTTP client manager. Must be called before quitting the program and while exactly one thread is running. |
RPC-wrapper decorator. When applied to a function, it runs it with the RPC system initialized, and it shutsdown the system afterwards. This means the function must be called without RPC being initialized. |
Compresses a string for transport over RPC. Small amounts of data are not compressed.
|
Return addresses for given node names.
|
Checks if a node is online.
|
Converts an object to a dictionary. Note: See objects. |
Formats the data returned by rpc.RpcRunner.call_node_info. Converts the data into a single dictionary. This is fine for most use cases, but some require information from more than one volume group or hypervisor.
|
Annotates the disk objects with the disk parameters.
|
Return the exclusive storage flag for all the given nodes.
|
|
_RPC_CLIENT_HEADERS
|
_ENCODERSGeneric encoders
|
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Fri Jul 4 09:38:35 2014 | http://epydoc.sourceforge.net |