dragon.infrastructure.messages
Components in the Dragon runtime interact with each other using messages transported with a variety of different means (e.g., stdout or Channels). Although typically there will be a Python API to construct and send these messages, the messages themselves constitute the true internal interface. To that end, they are a convention.
Here we document this internal message API.
Generalities about Messages
Many messages are part of a request/response pair. At the level discussed here, successful and error responses are carried by the same response type but the fields present or valid may change according to whether the response is successful or an error.
All messages are serialized using JSON; the reason for this is to allow non-Python actors to interact with the Dragon infrastructure as well as allowing the possibility for the different components of the Dragon runtime to be implemented in something other than Python.
The serialization method may change in the future as an optimization; JSON is chosen here as a reasonable cross language starting point. In particular, the fields discussed here for basic message parsing (type and instance tagging, and errors) are defined in terms of integer valued enumerations suitable for a fixed field location and width binary determination.
The top level of the JSON structure will be a dictionary (map) where the ‘_tc’ key’s value is an integer
corresponding to an element of the dragon.messages.MsgTypes
enumeration class. The other fields of this
map will be defined on a message by message basis.
The canonical form of the message will be taken on the JSON level, not the string level. This means that messages should not be compared or sorted as strings. Internally the Python interface will construct inbound messages into class objects of distinct type according to the ‘_tc’ field in the initializer by using a factory function. The reason to have a lot of different message types instead of just one type differentiated by the value of the ‘_tc’ field is that this allows IDEs and documentation tools to work better by having explicit knowledge of what fields and methods are expected in any particular message.
Common Fields
These fields are common to every message described below depending on their category of classification.
The _tc TypeCode Field
The _tc
typecode field is used during parsing to determine the type of a received message. The message
format is JSON. The _tc
field can be used to determine of all expected fields of a message are indeed in
the message to verify its format.
Beyond the _tc
typecode field, there are other fields expected to belong to every message.
The tag Field
Every message has a 64 bit positive unsigned integer tag
field. Together with the identity of the sender
is implicit or explicitly identified in some other field, this serves to uniquely identify the message.
Ideally, this would be throughout the life of the runtime, but it’s enough to say that no two messages should be simultaneously relevant with the same (sender, tag).
Message Categories
- There are three general categories of messages:
request messages, where one entity asks another one to do something
- response messages, returning the result to the requester
the name of these messages normally ends “Response”
other messages, mostly to do with infrastructure sequencing
Every request message will contain p_uid
and r_c_uid
fields. These fields denote the unique process
ID of the entity that created the request and the unique channel ID to send the response to. See
ConventionalIDs for more details on process identification.
The ref Field
Every response message generated in reply to a request message will contain a ref
field that echos the
tag
field of the request message that caused it to be generated. If a response message is generated
asynchronously - for instance, as part of a startup notification or some event such as a process exiting
unexpectedly - then the ref
field will be 0, which is an illegal value for the tag
field.
The err Field
Every response message will also have an err
field, holding an integer enumeration particular to the
response. This enumeration will be the class attribute Errors
in the response message class. The
enumeration element with value 0 will always indicate success. Which fields are present in the response
message may depend on the enumeration value.
Format of Messages List
Class Name
- type enum
member of
dragon.messages.MsgTypes
enum class- purpose
succinct description of purpose, sender and receiver, where and when typically seen. Starts with ‘Request’ if it is a request message and ‘Response’ if it is a response message.
- fields
Fields in the message, together with description of how they are to get parsed out. Some fields may themselves be dictionary structures used to initialize member objects.
Fields in common to every message (such as
tag
,ref
, anderr
) are not mentioned here.An expected type will be mentioned on each field where it is an obvious primitive (such as a string or an integer). Where a type isn’t mentioned, it is assumed to be another key-value map to be interpreted as the initializer for some more complex type.
- response
If a request kind of message, gives the class name of the corresponding response message, if applicable
- request
If a request kind of message, gives the class name of the corresponding response message.
- see also
Other related messages
Functions
|
|
|
|
|
Classes
Refer to Common Fields for a description of the message structure. |
|
Refer to Common Fields for a description of the message structure. |
|
Refer to Common Fields for a description of the message structure. |
|
Refer to Common Fields for a description of the message structure. |
|
Refer to Common Fields for a description of the message structure. |
|
Refer to Common Fields for a description of the message structure. |
|
Common base for all capnproto messages. |
|
Common base for all capnproto response messages. |
|
Refer to Common Fields for a description of the message structure. |
|
Refer to Common Fields for a description of the message structure. |
|
Refer to Common Fields for a description of the message structure. |
|
Refer to Common Fields for a description of the message structure. |
|
Refer to Common Fields for a description of the message structure. |
|
Refer to Common Fields for a description of the message structure. |
|
Refer to Common Fields for a description of the message structure. |
|
Refer to Common Fields for a description of the message structure. |
|
Refer to Common Fields for a description of the message structure. |
|
Refer to Common Fields for a description of the message structure. |
|
Refer to Common Fields for a description of the message structure. |
|
Refer to Common Fields for a description of the message structure. |
|
Refer to Common Fields for a description of the message structure. |
|
Refer to Common Fields for a description of the message structure. |
|
Refer to to Common Fields for a description of the message structure. |
|
Refer to Common Fields for a description of the message structure. |
|
Refer to Common Fields for a description of the message structure. |
|
Refer to Common Fields for a description of the message structure. |
|
Refer to Common Fields for a description of the message structure. |
|
Refer to Common Fields for a description of the message structure. |
|
Refer to Common Fields for a description of the message structure. |
|
Refer to Common Fields for a description of the message structure. |
|
Refer to Common Fields for a description of the message structure. |
|
Refer to Common Fields for a description of the message structure. |
|
Refer to Common Fields for a description of the message structure. |
|
Refer to Common Fields for a description of the message structure. |
|
Refer to Common Fields for a description of the message structure. |
|
Refer to Common Fields for a description of the message structure. |
|
Refer to Common Fields for a description of the message structure. |
|
Refer to Common Fields for a description of the message structure. |
|
Refer to Common Fields for a description of the message structure. |
|
Refer to Common Fields for a description of the message structure. |
|
Refer to Common Fields for a description of the message structure. |
|
Refer to Common Fields for a description of the message structure. |
|
Refer to Common Fields for a description of the message structure. |
|
Refer to Common Fields for a description of the message structure. |
|
Refer to Common Fields for a description of the message structure. |
|
Refer to Common Fields for a description of the message structure. |
|
Refer to Common Fields for a description of the message structure. |
|
Refer to Common Fields for a description of the message structure. |
|
Refer to Common Fields for a description of the message structure. |
|
type enum |
|
type enum |
|
Refer to Common Fields for a description of the message structure. |
|
Refer to Common Fields for a description of the message structure. |
|
Refer to Common Fields for a description of the message structure. |
|
Refer to Common Fields for a description of the message structure. |
|
type enum |
|
type enum |
|
Refer to Common Fields for a description of the message structure. |
|
Refer to Common Fields for a description of the message structure. |
|
Refer to Common Fields for a description of the message structure. |
|
Refer to Common Fields for a description of the message structure. |
|
Refer to Common Fields for a description of the message structure. |
|
Refer to Common Fields for a description of the message structure. |
|
Refer to Common Fields for a description of the message structure. |
|
Refer to Common Fields for a description of the message structure. |
|
Refer to Common Fields for a description of the message structure. |
|
Refer to Common Fields for a description of the message structure. |
|
Refer to Common Fields for a description of the message structure. |
|
Refer to Common Fields for a description of the message structure. |
|
Refer to Common Fields for a description of the message structure. |
|
Refer to Common Fields for a description of the message structure. |
|
Refer to Common Fields for a description of the message structure. |
|
Refer to Common Fields for a description of the message structure. |
|
Refer to Common Fields for a description of the message structure. |
|
Refer to Common Fields for a description of the message structure. |
|
Refer to Common Fields for a description of the message structure. |
|
Refer to Common Fields for a description of the message structure. |
|
Refer to Common Fields for a description of the message structure. |
|
Refer to Common Fields for a description of the message structure. |
|
Refer to Common Fields for a description of the message structure. |
|
Refer to Common Fields for a description of the message structure. |
|
Refer to Common Fields for a description of the message structure. |
|
Refer to Common Fields for a description of the message structure. |
|
Refer to Common Fields for a description of the message structure. |
|
Refer to Common Fields for a description of the message structure. |
|
Refer to Common Fields for a description of the message structure. |
|
Common base for all messages. |
|
Refer to Common Fields for a description of the message structure. |
|
Refer to Common Fields for a description of the message structure. |
|
Refer to Common Fields for a description of the message structure. |
|
Refer to Common Fields for a description of the message structure. |
|
Refer to Common Fields for a description of the message structure. |
|
Refer to Common Fields for a description of the message structure. |
|
Refer to Common Fields for a description of the message structure. |
|
Refer to Common Fields for a description of the message structure. |
|
Refer to Common Fields for a description of the message structure. |
|
Refer to Common Fields for a description of the message structure. |
|
Refer to Common Fields for a description of the message structure. |
|
Refer to Common Fields for a description of the message structure. |
|
Refer to Common Fields for a description of the message structure. |
|
Refer to Common Fields for a description of the message structure. |
|
These are the enumerated values of message type identifiers within the Dragon infrastructure messages. |
|
Refer to Common Fields for a description of the message structure. |
|
Refer to Common Fields for a description of the message structure. |
|
Refer to Common Fields for a description of the message structure. |
|
Refer to Common Fields for a description of the message structure. |
|
Refer to Common Fields for a description of the message structure. |
|
Refer to Common Fields for a description of the message structure. |
|
Required information to enable the launching of pmi based applications. |
|
Required information to enable the launching of pmi based applications. |
|
Refer to definition and Common Fields for a description of the message structure. |
|
Refer to Common Fields for a description of the message structure. |
|
Refer to Common Fields for a description of the message structure. |
|
Refer to Common Fields for a description of the message structure. |
|
Refer to Common Fields for a description of the message structure. |
|
Refer to Common Fields for a description of the message structure. |
|
Refer to Common Fields for a description of the message structure. |
|
Refer to Common Fields for a description of the message structure. |
|
Refer to Common Fields for a description of the message structure. |
|
Refer to Common Fields for a description of the message structure. |
|
Refer to Common Fields for a description of the message structure. |
|
Refer to Common Fields for a description of the message structure. |
|
Refer to Common Fields for a description of the message structure. |
|
Refer to Common Fields for a description of the message structure. |
|
Refer to Common Fields for a description of the message structure. |
|
Refer to Common Fields for a description of the message structure. |
|
Refer to Common Fields for a description of the message structure. |
|
Refer to Common Fields for a description of the message structure. |
|
Refer to Common Fields for a description of the message structure. |
|
Refer to Common Fields for a description of the message structure. |
|
Refer to Common Fields for a description of the message structure. |
|
Refer to Common Fields for a description of the message structure. |
|
Refer to Common Fields for a description of the message structure. |
|
Refer to Common Fields for a description of the message structure. |
|
Refer to Common Fields for a description of the message structure. |
|
Refer to Common Fields for a description of the message structure. |
|
Refer to to the Common Fields for a description of the message structure. |
|
Refer to Common Fields for a description of the message structure. |
|
Refer to Common Fields for a description of the message structure. |
|
Refer to Common Fields for a description of the message structure. |
|
Refer to to Common Fields for a description of the message structure. |
|
Refer to Common Fields for a description of the message structure. |
|
Refer to Common Fields for a description of the message structure. |
|
Refer to Common Fields for a description of the message structure. |
|
Refer to Common Fields for a description of the message structure. |
|
Refer to Common Fields for a description of the message structure. |
|
Refer to Common Fields for a description of the message structure. |
|
Refer to Common Fields for a description of the message structure. |
Exceptions
- class MessageTypes[source]
Bases:
Enum
These are the enumerated values of message type identifiers within the Dragon infrastructure messages.
- DRAGON_MSG = 0
Deliberately invalid
- GS_PROCESS_CREATE = 1
- GS_PROCESS_CREATE_RESPONSE = 2
- GS_PROCESS_LIST = 3
- GS_PROCESS_LIST_RESPONSE = 4
- GS_PROCESS_QUERY = 5
- GS_PROCESS_QUERY_RESPONSE = 6
- GS_PROCESS_KILL = 7
- GS_PROCESS_KILL_RESPONSE = 8
- GS_PROCESS_JOIN = 9
- GS_PROCESS_JOIN_RESPONSE = 10
- GS_CHANNEL_CREATE = 11
- GS_CHANNEL_CREATE_RESPONSE = 12
- GS_CHANNEL_LIST = 13
- GS_CHANNEL_LIST_RESPONSE = 14
- GS_CHANNEL_QUERY = 15
- GS_CHANNEL_QUERY_RESPONSE = 16
- GS_CHANNEL_DESTROY = 17
- GS_CHANNEL_DESTROY_RESPONSE = 18
- GS_CHANNEL_JOIN = 19
- GS_CHANNEL_JOIN_RESPONSE = 20
- GS_CHANNEL_DETACH = 21
- GS_CHANNEL_DETACH_RESPONSE = 22
- GS_CHANNEL_GET_SENDH = 23
- GS_CHANNEL_GET_SENDH_RESPONSE = 24
- GS_CHANNEL_GET_RECVH = 25
- GS_CHANNEL_GET_RECVH_RESPONSE = 26
- ABNORMAL_TERMINATION = 27
- GS_STARTED = 28
- GS_PING_SH = 29
- GS_IS_UP = 30
- GS_HEAD_EXIT = 31
- GS_CHANNEL_RELEASE = 32
- GS_HALTED = 33
- SH_PROCESS_CREATE = 34
- SH_PROCESS_CREATE_RESPONSE = 35
- SH_MULTI_PROCESS_CREATE = 36
- SH_MULTI_PROCESS_CREATE_RESPONSE = 37
- SH_MULTI_PROCESS_KILL = 38
- SH_PROCESS_KILL = 39
- SH_PROCESS_EXIT = 40
- SH_CHANNEL_CREATE = 41
- SH_CHANNEL_CREATE_RESPONSE = 42
- SH_CHANNEL_DESTROY = 43
- SH_CHANNEL_DESTROY_RESPONSE = 44
- SH_LOCK_CHANNEL = 45
- SH_LOCK_CHANNEL_RESPONSE = 46
- SH_ALLOC_MSG = 47
- SH_ALLOC_MSG_RESPONSE = 48
- SH_ALLOC_BLOCK = 49
- SH_ALLOC_BLOCK_RESPONSE = 50
- SH_CHANNELS_UP = 51
- SH_PING_GS = 52
- SH_HALTED = 53
- SH_FWD_INPUT = 54
- SH_FWD_INPUT_ERR = 55
- SH_FWD_OUTPUT = 56
- GS_TEARDOWN = 57
- SH_TEARDOWN = 58
- SH_PING_BE = 59
- BE_PING_SH = 60
- TA_PING_SH = 61
- SH_HALT_TA = 62
- TA_HALTED = 63
- SH_HALT_BE = 64
- BE_HALTED = 65
- TA_UP = 66
- GS_PING_PROC = 67
- GS_DUMP_STATE = 68
- SH_DUMP_STATE = 69
- LA_BROADCAST = 70
- LA_PASS_THRU_FB = 71
- LA_PASS_THRU_BF = 72
- GS_POOL_CREATE = 73
- GS_POOL_CREATE_RESPONSE = 74
- GS_POOL_DESTROY = 75
- GS_POOL_DESTROY_RESPONSE = 76
- GS_POOL_LIST = 77
- GS_POOL_LIST_RESPONSE = 78
- GS_POOL_QUERY = 79
- GS_POOL_QUERY_RESPONSE = 80
- SH_POOL_CREATE = 81
- SH_POOL_CREATE_RESPONSE = 82
- SH_POOL_DESTROY = 83
- SH_POOL_DESTROY_RESPONSE = 84
- SH_CREATE_PROCESS_LOCAL_CHANNEL = 85
- SH_CREATE_PROCESS_LOCAL_CHANNEL_RESPONSE = 86
- SH_DESTROY_PROCESS_LOCAL_CHANNEL = 87
- SH_DESTROY_PROCESS_LOCAL_CHANNEL_RESPONSE = 88
- SH_CREATE_PROCESS_LOCAL_POOL = 89
- SH_CREATE_PROCESS_LOCAL_POOL_RESPONSE = 90
- SH_REGISTER_PROCESS_LOCAL_POOL = 91
- SH_REGISTER_PROCESS_LOCAL_POOL_RESPONSE = 92
- SH_DEREGISTER_PROCESS_LOCAL_POOL = 93
- SH_DEREGISTER_PROCESS_LOCAL_POOL_RESPONSE = 94
- SH_PUSH_KVL = 95
- SH_PUSH_KVL_RESPONSE = 96
- SH_POP_KVL = 97
- SH_POP_KVL_RESPONSE = 98
- SH_GET_KVL = 99
- SH_GET_KVL_RESPONSE = 100
- SH_SET_KV = 101
- SH_SET_KV_RESPONSE = 102
- SH_GET_KV = 103
- SH_GET_KV_RESPONSE = 104
- SH_EXEC_MEM_REQUEST = 105
- SH_EXEC_MEM_RESPONSE = 106
- LS_DESTROY_PMIX = 107
- LS_DESTROY_PMIX_RESPONSE = 108
- GS_UNEXPECTED = 109
- LA_SERVER_MODE = 110
- LA_SERVER_MODE_EXIT = 111
- LA_PROCESS_DICT = 112
- LA_PROCESS_DICT_RESPONSE = 113
- LA_DUMP_STATE = 114
- BE_NODE_IDX_SH = 115
- LA_CHANNELS_INFO = 116
- SH_MULTI_PROCESS_KILL_RESPONSE = 117
- SH_PROCESS_KILL_RESPONSE = 118
- BREAKPOINT = 119
- GS_PROCESS_JOIN_LIST = 120
- GS_PROCESS_JOIN_LIST_RESPONSE = 121
- GS_NODE_QUERY = 122
- GS_NODE_QUERY_RESPONSE = 123
- GS_NODE_QUERY_ALL = 124
- GS_NODE_QUERY_ALL_RESPONSE = 125
- LOGGING_MSG = 126
- LOGGING_MSG_LIST = 127
- LOG_FLUSHED = 128
- GS_NODE_LIST = 129
- GS_NODE_LIST_RESPONSE = 130
- GS_NODE_QUERY_TOTAL_CPU_COUNT = 131
- GS_NODE_QUERY_TOTAL_CPU_COUNT_RESPONSE = 132
- BE_IS_UP = 133
- FE_NODE_IDX_BE = 134
- HALT_OVERLAY = 135
- HALT_LOGGING_INFRA = 136
- OVERLAY_PING_BE = 137
- OVERLAY_PING_LA = 138
- LA_HALT_OVERLAY = 139
- BE_HALT_OVERLAY = 140
- OVERLAY_HALTED = 141
- EXCEPTIONLESS_ABORT = 142
Communicate abnormal termination without raising exception
- LA_EXIT = 143
- GS_GROUP_LIST = 144
- GS_GROUP_LIST_RESPONSE = 145
- GS_GROUP_QUERY = 146
- GS_GROUP_QUERY_RESPONSE = 147
- GS_GROUP_DESTROY = 148
- GS_GROUP_DESTROY_RESPONSE = 149
- GS_GROUP_ADD_TO = 150
- GS_GROUP_ADD_TO_RESPONSE = 151
- GS_GROUP_REMOVE_FROM = 152
- GS_GROUP_REMOVE_FROM_RESPONSE = 153
- GS_GROUP_CREATE = 154
- GS_GROUP_CREATE_RESPONSE = 155
- GS_GROUP_KILL = 156
- GS_GROUP_KILL_RESPONSE = 157
- GS_GROUP_CREATE_ADD_TO = 158
- GS_GROUP_CREATE_ADD_TO_RESPONSE = 159
- GS_GROUP_DESTROY_REMOVE_FROM = 160
- GS_GROUP_DESTROY_REMOVE_FROM_RESPONSE = 161
- GS_GROUP_DESTROY_PMIX = 162
- GS_GROUP_DESTROY_PMIX_RESPONSE = 163
- GS_REBOOT_RUNTIME = 164
- GS_REBOOT_RUNTIME_RESPONSE = 165
- REBOOT_RUNTIME = 166
- TA_UPDATE_NODES = 167
- RUNTIME_DESC = 168
- USER_HALT_OOB = 169
- DD_REGISTER_CLIENT = 170
- DD_REGISTER_CLIENT_RESPONSE = 171
- DD_DESTROY = 172
- DD_DESTROY_RESPONSE = 173
- DD_REGISTER_MANAGER = 174
- DD_REGISTER_MANAGER_RESPONSE = 175
- DD_REGISTER_CLIENT_ID = 176
- DD_REGISTER_CLIENT_ID_RESPONSE = 177
- DD_DESTROY_MANAGER = 178
- DD_DESTROY_MANAGER_RESPONSE = 179
- DD_PUT = 180
- DD_PUT_RESPONSE = 181
- DD_GET = 182
- DD_GET_RESPONSE = 183
- DD_POP = 184
- DD_POP_RESPONSE = 185
- DD_CONTAINS = 186
- DD_CONTAINS_RESPONSE = 187
- DD_LENGTH = 188
- DD_LENGTH_RESPONSE = 189
- DD_CLEAR = 190
- DD_CLEAR_RESPONSE = 191
- DD_ITERATOR = 192
- DD_ITERATOR_RESPONSE = 193
- DD_ITERATOR_NEXT = 194
- DD_ITERATOR_NEXT_RESPONSE = 195
- DD_KEYS = 196
- DD_KEYS_RESPONSE = 197
- DD_VALUES = 198
- DD_VALUES_RESPONSE = 199
- DD_ITEMS = 200
- DD_ITEMS_RESPONSE = 201
- DD_DEREGISTER_CLIENT = 202
- DD_DEREGISTER_CLIENT_RESPONSE = 203
- DD_CREATE = 204
- DD_CREATE_RESPONSE = 205
- DD_CONNECT_TO_MANAGER = 206
- DD_CONNECT_TO_MANAGER_RESPONSE = 207
- DD_RANDOM_MANAGER = 208
- DD_RANDOM_MANAGER_RESPONSE = 209
- DD_MANAGER_STATS = 210
- DD_MANAGER_STATS_RESPONSE = 211
- DD_MANAGER_NEWEST_CHKPT_ID = 212
- DD_MANAGER_NEWEST_CHKPT_ID_RESPONSE = 213
- DD_EMPTY_MANAGERS = 214
- DD_EMPTY_MANAGERS_RESPONSE = 215
- DD_BATCH_PUT = 216
- DD_BATCH_PUT_RESPONSE = 217
- DD_GET_MANAGERS = 218
- DD_GET_MANAGERS_RESPONSE = 219
- DD_MANAGER_SYNC = 220
- DD_MANAGER_SYNC_RESPONSE = 221
- DD_MANAGER_SET_STATE = 222
- DD_MANAGER_SET_STATE_RESPONSE = 223
- DD_MARK_DRAINED_MANAGERS = 224
- DD_MARK_DRAINED_MANAGERS_RESPONSE = 225
- DD_UNMARK_DRAINED_MANAGERS = 226
- DD_UNMARK_DRAINED_MANAGERS_RESPONSE = 227
- DD_GET_META_DATA = 228
- DD_GET_META_DATA_RESPONSE = 229
- DD_MANAGER_NODES = 230
- DD_MANAGER_NODES_RESPONSE = 231
- DD_B_PUT = 232
- DD_B_PUT_RESPONSE = 233
- DD_PERSISTED_CHKPT_AVAIL = 234
- DD_PERSISTED_CHKPT_AVAIL_RESPONSE = 235
- DD_RESTORE = 236
- DD_RESTORE_RESPONSE = 237
- DD_ADVANCE = 238
- DD_ADVANCE_RESPONSE = 239
- DD_PERSIST_CHKPTS = 240
- DD_PERSIST_CHKPTS_RESPONSE = 241
- DD_CHKPT_AVAIL = 242
- DD_CHKPT_AVAIL_RESPONSE = 243
- DD_GET_FREEZE = 244
- DD_GET_FREEZE_RESPONSE = 245
- DD_FREEZE = 246
- DD_FREEZE_RESPONSE = 247
- DD_UN_FREEZE = 248
- DD_UN_FREEZE_RESPONSE = 249
- DD_PERSIST = 250
- DD_PERSIST_RESPONSE = 251
- PG_REGISTER_CLIENT = 252
- PG_UNREGISTER_CLIENT = 253
- PG_CLIENT_RESPONSE = 254
- PG_SET_PROPERTIES = 255
- PG_STOP_RESTART = 256
- PG_ADD_PROCESS_TEMPLATES = 257
- PG_START = 258
- PG_JOIN = 259
- PG_SIGNAL = 260
- PG_STATE = 261
- PG_PUIDS = 262
- PG_STOP = 263
- PG_CLOSE = 264
- PMIX_FENCE_MSG = 265
- class PMIGroupInfo[source]
Bases:
object
Required information to enable the launching of pmi based applications.
- backend: PMIBackend
- class PMIProcessInfo[source]
Bases:
object
Required information to enable the launching of pmi based applications.
- class InfraMsg[source]
Bases:
object
Common base for all messages.
This common base type for all messages sets up the default fields and the serialization strategy for now.
- property tc
- property tag
- property ref
- property err
- class CapNProtoMsg[source]
Bases:
object
Common base for all capnproto messages.
This common base type for all messages sets up the default fields and the serialization strategy for messages to be exchanged between C and Python.
- Errors
alias of
DragonError
- property capnp_name
- property tc
- property tag
- class CapNProtoResponseMsg[source]
Bases:
CapNProtoMsg
Common base for all capnproto response messages.
This provides some support for code common to all response messages.
- property ref
- property err
- property errInfo
- class SHCreateProcessLocalChannel[source]
Bases:
CapNProtoMsg
- property respFLI
- property puid
- property muid
- property blockSize
- property capacity
- class SHCreateProcessLocalChannelResponse[source]
Bases:
CapNProtoResponseMsg
- property serialized_channel
- class SHDestroyProcessLocalChannel[source]
Bases:
CapNProtoMsg
- property respFLI
- property puid
- property cuid
- class SHDestroyProcessLocalChannelResponse[source]
Bases:
CapNProtoResponseMsg
- class SHCreateProcessLocalPool[source]
Bases:
CapNProtoMsg
- property respFLI
- property puid
- property size
- property minBlockSize
- property preAllocs
- property name
- class SHCreateProcessLocalPoolResponse[source]
Bases:
CapNProtoResponseMsg
- property serialized_pool
- class SHRegisterProcessLocalPool[source]
Bases:
CapNProtoMsg
- property serPool
- property puid
- property respFLI
- class SHRegisterProcessLocalPoolResponse[source]
Bases:
CapNProtoResponseMsg
- class SHDeregisterProcessLocalPool[source]
Bases:
CapNProtoMsg
- property serPool
- property puid
- property respFLI
- class SHDeregisterProcessLocalPoolResponse[source]
Bases:
CapNProtoResponseMsg
- class SHPushKVLResponse[source]
Bases:
CapNProtoResponseMsg
- class SHPopKVLResponse[source]
Bases:
CapNProtoResponseMsg
- class SHGetKVL[source]
Bases:
CapNProtoMsg
- property key
- property respFLI
- class SHGetKVLResponse[source]
Bases:
CapNProtoResponseMsg
- property values
- class SHSetKVResponse[source]
Bases:
CapNProtoResponseMsg
- class SHGetKV[source]
Bases:
CapNProtoMsg
- property key
- property respFLI
- class SHGetKVResponse[source]
Bases:
CapNProtoResponseMsg
- property value
- class DDCreate[source]
Bases:
CapNProtoMsg
- property respFLI
- property args
- class DDCreateResponse[source]
Bases:
CapNProtoResponseMsg
- class DDRandomManager[source]
Bases:
CapNProtoMsg
- property respFLI
- class DDRandomManagerResponse[source]
Bases:
CapNProtoResponseMsg
- property manager
- property managerID
- class DDRegisterClient[source]
Bases:
CapNProtoMsg
- property respFLI
- property bufferedRespFLI
- class DDRegisterClientResponse[source]
Bases:
CapNProtoResponseMsg
- __init__(tag, ref, err, clientID, numManagers, managerID, managerNodes, name, timeout, errInfo='')[source]
- property clientID
- property numManagers
- property managerID
- property managerNodes
- property name
- property timeout
- class DDConnectToManager[source]
Bases:
CapNProtoMsg
- property clientID
- property managerID
- class DDConnectToManagerResponse[source]
Bases:
CapNProtoResponseMsg
- property manager
- class DDDestroy[source]
Bases:
CapNProtoMsg
- property respFLI
- property clientID
- property allowRestart
- class DDDestroyResponse[source]
Bases:
CapNProtoResponseMsg
- class DDRegisterManager[source]
Bases:
CapNProtoMsg
- property managerID
- property mainFLI
- property respFLI
- property hostID
- property poolSdesc
- property err
- property errInfo
- class DDRegisterManagerResponse[source]
Bases:
CapNProtoResponseMsg
- property managers
- property managerNodes
- class DDRegisterClientID[source]
Bases:
CapNProtoMsg
- property clientID
- property respFLI
- property bufferedRespFLI
- class DDRegisterClientIDResponse[source]
Bases:
CapNProtoResponseMsg
- class DDDestroyManager[source]
Bases:
CapNProtoMsg
- property respFLI
- property allowRestart
- class DDDestroyManagerResponse[source]
Bases:
CapNProtoResponseMsg
- class DDPutResponse[source]
Bases:
CapNProtoResponseMsg
- class DDGetResponse[source]
Bases:
CapNProtoResponseMsg
- property freeMem
- class DDPopResponse[source]
Bases:
CapNProtoResponseMsg
- property freeMem
- class DDContainsResponse[source]
Bases:
CapNProtoResponseMsg
- class DDLength[source]
Bases:
CapNProtoMsg
- property clientID
- property respFLI
- property chkptID
- property broadcast
- class DDLengthResponse[source]
Bases:
CapNProtoResponseMsg
- property length
- class DDClear[source]
Bases:
CapNProtoMsg
- property clientID
- property chkptID
- property respFLI
- property broadcast
- class DDClearResponse[source]
Bases:
CapNProtoResponseMsg
- class DDManagerStats[source]
Bases:
CapNProtoMsg
- property respFLI
- property broadcast
- class DDManagerStatsResponse[source]
Bases:
CapNProtoResponseMsg
- property data
- class DDManagerNewestChkptID[source]
Bases:
CapNProtoMsg
- property respFLI
- property broadcast
- class DDManagerNewestChkptIDResponse[source]
Bases:
CapNProtoResponseMsg
- property chkptID
- property managerID
- class DDIterator[source]
Bases:
CapNProtoMsg
- property clientID
- property chkptID
- class DDIteratorResponse[source]
Bases:
CapNProtoResponseMsg
- property iterID
- class DDIteratorNext[source]
Bases:
CapNProtoMsg
- property clientID
- property iterID
- class DDIteratorNextResponse[source]
Bases:
CapNProtoResponseMsg
- class DDKeysResponse[source]
Bases:
CapNProtoResponseMsg
- class DDValuesResponse[source]
Bases:
CapNProtoResponseMsg
- property freeMem
- class DDItemsResponse[source]
Bases:
CapNProtoResponseMsg
- property freeMem
- class DDEmptyManagers[source]
Bases:
CapNProtoMsg
- property respFLI
- class DDEmptyManagersResponse[source]
Bases:
CapNProtoResponseMsg
- property managers
- class DDBatchPut[source]
Bases:
CapNProtoMsg
- property clientID
- property chkptID
- property persist
- class DDBatchPutResponse[source]
Bases:
CapNProtoResponseMsg
- property numPuts
- property managerID
- class DDGetManagers[source]
Bases:
CapNProtoMsg
- property respFLI
- class DDGetManagersResponse[source]
Bases:
CapNProtoResponseMsg
- property emptyManagers
- property managers
- class DDManagerSync[source]
Bases:
CapNProtoMsg
- property emptyManagerFLI
- property respFLI
- class DDManagerSyncResponse[source]
Bases:
CapNProtoResponseMsg
- class DDManagerSetState[source]
Bases:
CapNProtoMsg
- property state
- property respFLI
- class DDManagerSetStateResponse[source]
Bases:
CapNProtoResponseMsg
- class DDMarkDrainedManagers[source]
Bases:
CapNProtoMsg
- property respFLI
- property managerIDs
- class DDMarkDrainedManagersResponse[source]
Bases:
CapNProtoResponseMsg
- class DDUnmarkDrainedManagers[source]
Bases:
CapNProtoMsg
- property respFLI
- property managerIDs
- class DDUnmarkDrainedManagersResponse[source]
Bases:
CapNProtoResponseMsg
- class DDGetMetaData[source]
Bases:
CapNProtoMsg
- property respFLI
- class DDGetMetaDataResponse[source]
Bases:
CapNProtoResponseMsg
- property serializedDdict
- property numManagers
- class DDManagerNodes[source]
Bases:
CapNProtoMsg
- property respFLI
- class DDManagerNodesResponse[source]
Bases:
CapNProtoResponseMsg
- property huids
- class DDBPut[source]
Bases:
CapNProtoMsg
- property clientID
- property chkptID
- property respFLI
- property managers
- property batch
- class DDBPutResponse[source]
Bases:
CapNProtoResponseMsg
- property numPuts
- property managerID
- class DDPersistedChkptAvail[source]
Bases:
CapNProtoMsg
- property chkptID
- property respFLI
- class DDPersistedChkptAvailResponse[source]
Bases:
CapNProtoResponseMsg
- property available
- property managerID
- class DDRestore[source]
Bases:
CapNProtoMsg
- property chkptID
- property clientID
- property respFLI
- class DDRestoreResponse[source]
Bases:
CapNProtoResponseMsg
- class DDAdvance[source]
Bases:
CapNProtoMsg
- property clientID
- property respFLI
- class DDAdvanceResponse[source]
Bases:
CapNProtoResponseMsg
- property chkptID
- class DDPersistChkpts[source]
Bases:
CapNProtoMsg
- property clientID
- property respFLI
- class DDPersistChkptsResponse[source]
Bases:
CapNProtoResponseMsg
- property chkptIDs
- class DDChkptAvail[source]
Bases:
CapNProtoMsg
- property chkptID
- property respFLI
- class DDChkptAvailResponse[source]
Bases:
CapNProtoResponseMsg
- property available
- property managerID
- class DDPersist[source]
Bases:
CapNProtoMsg
- property chkptID
- property respFLI
- class DDPersistResponse[source]
Bases:
CapNProtoResponseMsg
- class DDFreeze[source]
Bases:
CapNProtoMsg
- property respFLI
- class DDFreezeResponse[source]
Bases:
CapNProtoResponseMsg
- class DDGetFreeze[source]
Bases:
CapNProtoMsg
- property clientID
- class DDGetFreezeResponse[source]
Bases:
CapNProtoResponseMsg
- property freeze
- class DDUnFreeze[source]
Bases:
CapNProtoMsg
- property respFLI
- class DDUnFreezeResponse[source]
Bases:
CapNProtoResponseMsg
- class DDDeregisterClient[source]
Bases:
CapNProtoMsg
- property clientID
- property respFLI
- class DDDeregisterClientResponse[source]
Bases:
CapNProtoResponseMsg
- class GSProcessCreate[source]
Bases:
InfraMsg
Refer to Common Fields for a description of the message structure.
- __init__(tag, p_uid, r_c_uid, exe, args, env=None, rundir='', user_name='', options=None, stdin=None, stdout=None, stderr=None, group=None, user=None, umask=-1, pipesize=None, pmi=None, _pmi_info=None, layout=None, policy=None, restart=False, resilient=False, head_proc=False, _tc=None)[source]
- property options
- class GSProcessCreateResponse[source]
Bases:
InfraMsg
Refer to Common Fields for a description of the message structure.
- class Errors[source]
Bases:
Enum
- SUCCESS = 0
Process was created
- FAIL = 1
Process was not created
- ALREADY = 2
Process exists already
- property desc
- class GSProcessList[source]
Bases:
InfraMsg
Refer to Common Fields for a description of the message structure.
- class GSProcessListResponse[source]
Bases:
InfraMsg
Refer to Common Fields for a description of the message structure.
- class GSProcessQuery[source]
Bases:
InfraMsg
Refer to Common Fields for a description of the message structure.
- class GSProcessQueryResponse[source]
Bases:
InfraMsg
Refer to Common Fields for a description of the message structure.
- property desc
- class GSProcessKill[source]
Bases:
InfraMsg
Refer to Common Fields for a description of the message structure.
- class GSProcessKillResponse[source]
Bases:
InfraMsg
Refer to Common Fields for a description of the message structure.
- class GSProcessJoin[source]
Bases:
InfraMsg
Refer to Common Fields for a description of the message structure.
- class GSProcessJoinResponse[source]
Bases:
InfraMsg
Refer to Common Fields for a description of the message structure.
- class GSProcessJoinList[source]
Bases:
InfraMsg
Refer to Common Fields for a description of the message structure.
- class GSProcessJoinListResponse[source]
Bases:
InfraMsg
Refer to Common Fields for a description of the message structure.
- class GSPoolCreate[source]
Bases:
InfraMsg
Refer to Common Fields for a description of the message structure.
- property options
- class GSPoolCreateResponse[source]
Bases:
InfraMsg
Refer to Common Fields for a description of the message structure.
- class Errors[source]
Bases:
Enum
- SUCCESS = 0
Pool was created
- FAIL = 1
Pool was not created
- ALREADY = 2
Pool exists already
- property desc
- class GSPoolList[source]
Bases:
InfraMsg
Refer to Common Fields for a description of the message structure.
- class GSPoolListResponse[source]
Bases:
InfraMsg
Refer to Common Fields for a description of the message structure.
- class GSPoolQuery[source]
Bases:
InfraMsg
Refer to Common Fields for a description of the message structure.
- class GSPoolQueryResponse[source]
Bases:
InfraMsg
Refer to Common Fields for a description of the message structure.
- property desc
- class GSPoolDestroy[source]
Bases:
InfraMsg
Refer to Common Fields for a description of the message structure.
- class GSPoolDestroyResponse[source]
Bases:
InfraMsg
Refer to Common Fields for a description of the message structure.
- class GSGroupCreate[source]
Bases:
InfraMsg
Refer to Common Fields for a description of the message structure.
- class GSGroupCreateResponse[source]
Bases:
InfraMsg
Refer to Common Fields for a description of the message structure.
- property desc
- class GSGroupList[source]
Bases:
InfraMsg
Refer to Common Fields for a description of the message structure.
- class GSGroupListResponse[source]
Bases:
InfraMsg
Refer to Common Fields for a description of the message structure.
- class GSGroupQuery[source]
Bases:
InfraMsg
Refer to Common Fields for a description of the message structure.
- class GSGroupQueryResponse[source]
Bases:
InfraMsg
Refer to Common Fields for a description of the message structure.
- property desc
- class GSGroupKill[source]
Bases:
InfraMsg
Refer to Common Fields for a description of the message structure.
- class GSGroupKillResponse[source]
Bases:
InfraMsg
Refer to Common Fields for a description of the message structure.
- property desc
- class GSGroupDestroy[source]
Bases:
InfraMsg
Refer to Common Fields for a description of the message structure.
- class GSGroupDestroyResponse[source]
Bases:
InfraMsg
Refer to Common Fields for a description of the message structure.
- property desc
- class RebootRuntime[source]
Bases:
InfraMsg
Refer to definition and Common Fields for a description of the message structure.
- class GSRebootRuntime[source]
Bases:
InfraMsg
Refer to Common Fields for a description of the message structure.
- class GSRebootRuntimeResponse[source]
Bases:
InfraMsg
Refer to Common Fields for a description of the message structure.
- class GSGroupAddTo[source]
Bases:
InfraMsg
Refer to Common Fields for a description of the message structure.
- class GSGroupAddToResponse[source]
Bases:
InfraMsg
Refer to Common Fields for a description of the message structure.
- property desc
- class GSGroupCreateAddTo[source]
Bases:
InfraMsg
Refer to Common Fields for a description of the message structure.
- class GSGroupCreateAddToResponse[source]
Bases:
InfraMsg
Refer to Common Fields for a description of the message structure.
- property desc
- class GSGroupRemoveFrom[source]
Bases:
InfraMsg
Refer to Common Fields for a description of the message structure.
- class GSGroupRemoveFromResponse[source]
Bases:
InfraMsg
Refer to Common Fields for a description of the message structure.
- property desc
- class GSGroupDestroyRemoveFrom[source]
Bases:
InfraMsg
Refer to Common Fields for a description of the message structure.
- class GSGroupDestroyRemoveFromResponse[source]
Bases:
InfraMsg
Refer to Common Fields for a description of the message structure.
- property desc
- class GSChannelCreate[source]
Bases:
InfraMsg
Refer to Common Fields for a description of the message structure.
- property options
- class GSChannelCreateResponse[source]
Bases:
InfraMsg
Refer to Common Fields for a description of the message structure.
- property desc
- class GSChannelList[source]
Bases:
InfraMsg
Refer to to Common Fields for a description of the message structure.
- class GSChannelListResponse[source]
Bases:
InfraMsg
Refer to Common Fields for a description of the message structure.
- class GSChannelQuery[source]
Bases:
InfraMsg
Refer to Common Fields for a description of the message structure.
- class GSChannelQueryResponse[source]
Bases:
InfraMsg
Refer to Common Fields for a description of the message structure.
- property desc
- class GSChannelDestroy[source]
Bases:
InfraMsg
Refer to Common Fields for a description of the message structure.
- class GSChannelDestroyResponse[source]
Bases:
InfraMsg
Refer to Common Fields for a description of the message structure.
- class GSChannelJoin[source]
Bases:
InfraMsg
Refer to Common Fields for a description of the message structure.
- class GSChannelJoinResponse[source]
Bases:
InfraMsg
Refer to Common Fields for a description of the message structure.
- property desc
- class GSChannelDetach[source]
Bases:
InfraMsg
Refer to Common Fields for a description of the message structure.
- class GSChannelDetachResponse[source]
Bases:
InfraMsg
Refer to Common Fields for a description of the message structure.
- class GSChannelGetSendH[source]
Bases:
InfraMsg
Refer to Common Fields for a description of the message structure.
- class GSChannelGetSendHResponse[source]
Bases:
InfraMsg
Refer to Common Fields for a description of the message structure.
- class Errors[source]
Bases:
Enum
- SUCCESS = 0
- UNKNOWN = 1
- UNKNOWN_CHANNEL = 2
- NOT_ATTACHED = 3
- CANT = 4
- property sendh
- class GSChannelGetRecvH[source]
Bases:
InfraMsg
Refer to Common Fields for a description of the message structure.
- class GSChannelGetRecvHResponse[source]
Bases:
InfraMsg
Refer to Common Fields for a description of the message structure.
- class Errors[source]
Bases:
Enum
- SUCCESS = 0
- UNKNOWN = 1
- UNKNOWN_CHANNEL = 2
- NOT_ATTACHED = 3
- CANT = 4
- property recvh
- class GSNodeList[source]
Bases:
InfraMsg
- type enum
GS_NODE_LIST (= 102)
- purpose
Return a list of tuples of
h_uid
for all nodes currently registered.- fields
None additional
- response
GSNodeListResponse
- see also
GSNodeQuery
- see also
refer to the Common Fields section for additional request message fields
- class GSNodeListResponse[source]
Bases:
InfraMsg
- type enum
GS_NODE_LIST_RESPONSE (= 103)
- purpose
Responds with a list of
h_uid
for all the nodes currently registered.- fields
- hlist
list of nonnegative integers
- request
GSNodeList
- see also
GSNodeQuery
- class GSNodeQuery[source]
Bases:
InfraMsg
Refer to Common Fields for a description of the message structure.
- class GSNodeQueryResponse[source]
Bases:
InfraMsg
Refer to Common Fields for a description of the message structure.
- property desc
- class GSNodeQueryAll[source]
Bases:
InfraMsg
Refer to Common Fields for a description of the message structure.
- class GSNodeQueryAllResponse[source]
Bases:
InfraMsg
Refer to Common Fields for a description of the message structure.
- class GSNodeQueryTotalCPUCount[source]
Bases:
InfraMsg
- type enum
GS_NODE_QUERY_TOTAL_CPU_COUNT (= 104)
- purpose
Asks GS to return the total number of CPUS beloging to all of the registered nodes.
- see also
refer to the Common Fields section for additional request message fields
- response
GSNodeQueryTotalCPUCountResponse
- class GSNodeQueryTotalCPUCountResponse[source]
Bases:
InfraMsg
- type enum
GS_NODE_QUERY_TOTAL_CPU_COUNT_RESPONSE (= 105)
- purpose
Return the total number of CPUS beloging to all of the registered nodes.
- fields
Alternatives on
err
:SUCCESS (= 0)
The machine descriptor was successfully constructed
- total_cpus
total number of CPUS beloging to all of the registered nodes.
- UNKNOWN ( = 1)
An unknown error has occured.
- request
GSNodeQueryTotalCPUCount
- see also
GSNodeQuery
- property total_cpus
- class AbnormalTermination[source]
Bases:
InfraMsg
Refer to Common Fields for a description of the message structure.
- class ExceptionlessAbort[source]
Bases:
InfraMsg
Refer to Common Fields for a description of the message structure.
- class GSStarted[source]
Bases:
InfraMsg
Refer to Common Fields for a description of the message structure.
- class GSPingSH[source]
Bases:
InfraMsg
Refer to Common Fields for a description of the message structure.
- class GSIsUp[source]
Bases:
InfraMsg
Refer to Common Fields for a description of the message structure.
- class GSPingProc[source]
Bases:
InfraMsg
Refer to Common Fields for a description of the message structure.
- class GSDumpState[source]
Bases:
InfraMsg
Refer to Common Fields for a description of the message structure.
- class GSHeadExit[source]
Bases:
InfraMsg
Refer to Common Fields for a description of the message structure.
- class GSTeardown[source]
Bases:
InfraMsg
Refer to Common Fields for a description of the message structure.
- class GSUnexpected[source]
Bases:
InfraMsg
Refer to Common Fields for a description of the message structure.
- class GSChannelRelease[source]
Bases:
InfraMsg
Refer to Common Fields for a description of the message structure.
- class GSHalted[source]
Bases:
InfraMsg
Refer to Common Fields for a description of the message structure.
- class SHProcessCreate[source]
Bases:
InfraMsg
Refer to Common Fields for a description of the message structure.
The initial_stdin is a string which if non-empty is written along with a terminating newline character to the stdin of the newly created process.
The stdin, stdout, and stderr are all either None or an instance of SHChannelCreate to be processed by the local services component.
- __init__(tag, p_uid, r_c_uid, t_p_uid, exe, args, env=None, rundir='', options=None, initial_stdin='', stdin=None, stdout=None, stderr=None, group=None, user=None, umask=-1, pipesize=None, stdin_msg=None, stdout_msg=None, stderr_msg=None, pmi_info=None, layout=None, gs_ret_chan_msg=None, _tc=None)[source]
- property options
- class SHProcessCreateResponse[source]
Bases:
InfraMsg
Refer to Common Fields for a description of the message structure.
- class SHProcessKill[source]
Bases:
InfraMsg
Refer to Common Fields for a description of the message structure.
- class SHMultiProcessKill[source]
Bases:
InfraMsg
- __init__(tag, r_c_uid, procs: List [Dict | SHProcessKill], _tc=None)[source]
- class SHMultiProcessKillResponse[source]
Bases:
InfraMsg
- class SHProcessExit[source]
Bases:
InfraMsg
Refer to to Common Fields for a description of the message structure.
- class SHMultiProcessCreate[source]
Bases:
InfraMsg
- __init__(tag, r_c_uid, procs: List [Dict | SHProcessCreate], pmi_group_info: PMIGroupInfo | None = None, pmix_ddict_desc: str = None, guid: int = None, _tc=None)[source]
- class SHMultiProcessCreateResponse[source]
Bases:
InfraMsg
- class SHPoolCreate[source]
Bases:
InfraMsg
Refer to Common Fields for a description of the message structure.
- class SHPoolCreateResponse[source]
Bases:
InfraMsg
Refer to Common Fields for a description of the message structure.
- class SHPoolDestroy[source]
Bases:
InfraMsg
Refer to to the Common Fields for a description of the message structure.
- class SHPoolDestroyResponse[source]
Bases:
InfraMsg
Refer to Common Fields for a description of the message structure.
- class SHExecMemRequest[source]
Bases:
InfraMsg
Refer to Common Fields for a description of the message structure.
- class SHExecMemResponse[source]
Bases:
InfraMsg
Refer to Common Fields for a description of the message structure.
- class SHChannelCreate[source]
Bases:
InfraMsg
Refer to Common Fields for a description of the message structure.
- property options
- class SHChannelCreateResponse[source]
Bases:
InfraMsg
Refer to Common Fields for a description of the message structure.
- class SHChannelDestroy[source]
Bases:
InfraMsg
Refer to Common Fields for a description of the message structure.
- class SHChannelDestroyResponse[source]
Bases:
InfraMsg
Refer to Common Fields for a description of the message structure.
- class SHLockChannel[source]
Bases:
InfraMsg
Refer to Common Fields for a description of the message structure.
- class SHLockChannelResponse[source]
Bases:
InfraMsg
Refer to Common Fields for a description of the message structure.
- class SHAllocMsg[source]
Bases:
InfraMsg
Refer to Common Fields for a description of the message structure.
- class SHAllocMsgResponse[source]
Bases:
InfraMsg
Refer to Common Fields for a description of the message structure.
- class SHAllocBlock[source]
Bases:
InfraMsg
Refer to Common Fields for a description of the message structure.
- class SHAllocBlockResponse[source]
Bases:
InfraMsg
Refer to Common Fields for a description of the message structure.
- class SHChannelsUp[source]
Bases:
InfraMsg
Refer to Common Fields for a description of the message structure.
- class SHPingGS[source]
Bases:
InfraMsg
Refer to Common Fields for a description of the message structure.
- class SHTeardown[source]
Bases:
InfraMsg
Refer to Common Fields for a description of the message structure.
- class SHPingBE[source]
Bases:
InfraMsg
Refer to Common Fields for a description of the message structure.
- EMPTY = ''
- class SHHaltTA[source]
Bases:
InfraMsg
Refer to Common Fields for a description of the message structure.
- class SHHaltBE[source]
Bases:
InfraMsg
Refer to Common Fields for a description of the message structure.
- class SHHalted[source]
Bases:
InfraMsg
Refer to Common Fields for a description of the message structure.
- class SHFwdInput[source]
Bases:
InfraMsg
Refer to Common Fields for a description of the message structure.
- MAX = 1024
- class SHFwdInputErr[source]
Bases:
InfraMsg
Refer to Common Fields for a description of the message structure.
- class SHFwdOutput[source]
Bases:
InfraMsg
Refer to Common Fields for a description of the message structure.
- MAX = 1024
- class SHDumpState[source]
Bases:
InfraMsg
Refer to Common Fields for a description of the message structure.
- class BENodeIdxSH[source]
Bases:
InfraMsg
Refer to Common Fields for a description of the message structure.
- __init__(tag, node_idx, host_name=None, ip_addrs=None, primary=None, logger_sdesc=None, net_conf_key=None, _tc=None)[source]
- property logger_sdesc
- class BEPingSH[source]
Bases:
InfraMsg
Refer to Common Fields for a description of the message structure.
- class BEHalted[source]
Bases:
InfraMsg
Refer to Common Fields for a description of the message structure.
- class LABroadcast[source]
Bases:
InfraMsg
Refer to Common Fields for a description of the message structure.
- class LAPassThruFB[source]
Bases:
InfraMsg
Refer to Common Fields for a description of the message structure.
- class LAPassThruBF[source]
Bases:
InfraMsg
Refer to Common Fields for a description of the message structure.
- class LAServerMode[source]
Bases:
InfraMsg
Refer to Common Fields for a description of the message structure.
- class LAServerModeExit[source]
Bases:
InfraMsg
Refer to Common Fields for a description of the message structure.
- class LAProcessDict[source]
Bases:
InfraMsg
Refer to Common Fields for a description of the message structure.
- class LAProcessDictResponse[source]
Bases:
InfraMsg
Refer to Common Fields for a description of the message structure.
- class LADumpState[source]
Bases:
InfraMsg
Refer to Common Fields for a description of the message structure.
- class LAChannelsInfo[source]
Bases:
InfraMsg
Refer to Common Fields for a description of the message structure.
- class LoggingMsg[source]
Bases:
InfraMsg
Refer to Common Fields for a description of the message structure.
- class LoggingMsgList[source]
Bases:
InfraMsg
Refer to Common Fields for a description of the message structure.
- property records
- class LogFlushed[source]
Bases:
InfraMsg
Refer to Common Fields for a description of the message structure.
- class TAPingSH[source]
Bases:
InfraMsg
Refer to Common Fields for a description of the message structure.
- class TAHalted[source]
Bases:
InfraMsg
Refer to Common Fields for a description of the message structure.
- class TAUp[source]
Bases:
InfraMsg
Refer to Common Fields for a description of the message structure.
The test_channels are empty unless the DRAGON_TRANSPORT_TEST environment variable is set to some value. When set in the environment, local services will create two channels and provide the base64 encoded serialized channel descriptors in this test_channels field to the launcher front end which then disseminates them to the test program which is started on each node.
- class BEIsUp[source]
Bases:
InfraMsg
Refer to Common Fields for a description of the message structure.
- class FENodeIdxBE[source]
Bases:
InfraMsg
Refer to Common Fields for a description of the message structure.
- __init__(tag, node_index, net_conf_key_mapping=None, forward: dict [str , NodeDescriptor | dict ] | None = None, send_desc: B64 | str | None = None, _tc=None)[source]
- property forward
- property send_desc
- class HaltLoggingInfra[source]
Bases:
InfraMsg
Refer to Common Fields for a description of the message structure.
- class HaltOverlay[source]
Bases:
InfraMsg
Refer to Common Fields for a description of the message structure.
- class OverlayHalted[source]
Bases:
InfraMsg
Refer to Common Fields for a description of the message structure.
- class BEHaltOverlay[source]
Bases:
InfraMsg
Refer to Common Fields for a description of the message structure.
- class LAHaltOverlay[source]
Bases:
InfraMsg
Refer to Common Fields for a description of the message structure.
- class OverlayPingBE[source]
Bases:
InfraMsg
Refer to Common Fields for a description of the message structure.
- class OverlayPingLA[source]
Bases:
InfraMsg
Refer to Common Fields for a description of the message structure.
- class LAExit[source]
Bases:
InfraMsg
Refer to Common Fields for a description of the message structure.
- class RuntimeDesc[source]
Bases:
InfraMsg
Refer to Common Fields for a description of the message structure.
- class UserHaltOOB[source]
Bases:
InfraMsg
Refer to Common Fields for a description of the message structure.
- class TAUpdateNodes[source]
Bases:
InfraMsg
Refer to Common Fields for a description of the message structure.
- __init__(tag, nodes: list [NodeDescriptor | dict ], _tc=None)[source]
- property nodes
- class PGRegisterClient[source]
Bases:
InfraMsg
Refer to Common Fields for a description of the message structure.
- class PGUnregisterClient[source]
Bases:
InfraMsg
Refer to Common Fields for a description of the message structure.
- class PGClientResponse[source]
Bases:
InfraMsg
Refer to Common Fields for a description of the message structure.
- class PMIxFenceMsg[source]
Bases:
CapNProtoMsg