class documentation

Allocates multiple instances.

Constant OP_PARAMS Undocumented

Inherited from OpInstanceMultiAllocBase:

Method __getstate__ Generic serializer.
Method __setstate__ Generic unserializer.
Method Validate Validates this opcode.

Inherited from OpCode (via OpInstanceMultiAllocBase):

Class Method LoadOpCode Generic load opcode method.
Method Summary Generates a summary description of this opcode.
Method TinySummary Generates a compact summary description of the opcode.
Constant OP_RESULT Callable to verify opcode result
Constant WITH_LU Boolean that specifies whether this should be included in mcpu's dispatch table
Class Variable OP_DSC_FIELD The name of a field whose value will be included in the string returned by Summary(); see the docstring of that method for details).
Class Variable OP_DSC_FORMATTER A callable that should format the OP_DSC_FIELD; if not present, then the field will be simply converted to string
Class Variable OP_ID The ID of this opcode. This should be unique amongst all children of this class.
Instance Variable dry_run Whether the LU should be run in dry-run mode, i.e. just the check steps
Instance Variable priority Opcode priority for queue

Inherited from BaseOpCode (via OpInstanceMultiAllocBase, OpCode):

Class Method GetAllParams Compute list of all parameters for an opcode.
Method __init__ Constructor for BaseOpCode.

Inherited from ValidatedSlots (via OpInstanceMultiAllocBase, OpCode, BaseOpCode):

Class Method GetAllSlots Compute the list of all declared slots for a class.
Class Variable __slots__ Undocumented
OP_PARAMS =

Undocumented

Value
[('opportunistic_locking',
  False,
  ht.TBool,
  'Whether to employ opportunistic locking for nodes, meaning nodes already lock↵
ed by another opcode won\'t be considered for instance allocation (only when an ↵
iallocator is used)'),
 ('iallocator', None, ht.TMaybeString, 'Iallocator for deciding the target node ↵
...