Trees | Indices | Help |
|
---|
|
Module for the unix socket protocol
This module implements the local unix socket protocol. You only need this module and the opcodes module in the client program in order to communicate with the master.
The module is also used by the master daemon.
|
|||
ProtocolError Denotes an error in the LUXI protocol. |
|||
ConnectionClosedError Connection closed error. |
|||
TimeoutError Operation timeout error. |
|||
RequestError Error on request. |
|||
NoMasterError The master cannot be reached. |
|||
PermissionError Permission denied while connecting to the master socket. |
|||
Transport Low-level transport class. |
|||
Client High-level client implementation. |
|
|||
|
|||
|
|||
|
|||
|
|||
|
|
|||
KEY_METHOD = "method"
|
|||
KEY_ARGS = "args"
|
|||
KEY_SUCCESS = "success"
|
|||
KEY_RESULT = "result"
|
|||
KEY_VERSION = "version"
|
|||
REQ_SUBMIT_JOB = "SubmitJob"
|
|||
REQ_SUBMIT_MANY_JOBS = "SubmitManyJobs"
|
|||
REQ_WAIT_FOR_JOB_CHANGE = "WaitForJobChange"
|
|||
REQ_CANCEL_JOB = "CancelJob"
|
|||
REQ_ARCHIVE_JOB = "ArchiveJob"
|
|||
REQ_CHANGE_JOB_PRIORITY = "ChangeJobPriority"
|
|||
REQ_AUTO_ARCHIVE_JOBS = "AutoArchiveJobs"
|
|||
REQ_QUERY = "Query"
|
|||
REQ_QUERY_FIELDS = "QueryFields"
|
|||
REQ_QUERY_JOBS = "QueryJobs"
|
|||
REQ_QUERY_INSTANCES = "QueryInstances"
|
|||
REQ_QUERY_NODES = "QueryNodes"
|
|||
REQ_QUERY_GROUPS = "QueryGroups"
|
|||
REQ_QUERY_NETWORKS = "QueryNetworks"
|
|||
REQ_QUERY_EXPORTS = "QueryExports"
|
|||
REQ_QUERY_CONFIG_VALUES = "QueryConfigValues"
|
|||
REQ_QUERY_CLUSTER_INFO = "QueryClusterInfo"
|
|||
REQ_QUERY_TAGS = "QueryTags"
|
|||
REQ_SET_DRAIN_FLAG = "SetDrainFlag"
|
|||
REQ_SET_WATCHER_PAUSE = "SetWatcherPause"
|
|||
REQ_ALL = compat.UniqueFrozenset([REQ_ARCHIVE_JOB, REQ_AUTO_AR List of all LUXI requests |
|||
DEF_CTMO = 10
|
|||
DEF_RWTO = 60
|
|||
WFJC_TIMEOUT = DEF_RWTO-1/ 2
|
Imports: socket, collections, time, errno, logging, compat, serializer, constants, errors, utils, objects, pathutils
|
REQ_ALLList of all LUXI requests
|
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Wed Dec 30 13:42:34 2015 | http://epydoc.sourceforge.net |