module documentation

Debugging commands

Function Delay Sleeps for a while
Function GenericOpCodes Send any opcode to the master.
Function ListLocks List all locks.
Function Main Undocumented
Function Metad Send commands to Metad.
Function TestAllocator Runs the test allocator opcode.
Function TestJobqueue Runs a few tests on the job queue.
Function TestOsParams Set secret os parameters.
Function Wconfd Send commands to WConfD.
Variable aliases Undocumented
Variable commands Undocumented
Class _JobQueueTestReporter No class docstring; 0/4 instance variable, 5/5 methods documented
Function _TestJobDependency Tests job dependencies.
Function _TestJobSubmission Tests submitting jobs.
Constant _LIST_LOCKS_DEF_FIELDS Undocumented
def Delay(opts, args):

Sleeps for a while

Parameters
optsthe command line options selected by the user
args:listshould contain only one element, the duration the sleep
Returns
intthe desired exit code
def GenericOpCodes(opts, args):

Send any opcode to the master.

Parameters
optsthe command line options selected by the user
args:listshould contain only one element, the path of the file with the opcode definition
Returns
intthe desired exit code
def ListLocks(opts, args):

List all locks.

Parameters
optsthe command line options selected by the user
args:listshould be an empty list
Returns
intthe desired exit code
def Main():

Undocumented

def Metad(opts, args):

Send commands to Metad.

Parameters
optsthe command line options selected by the user
args:listthe command to send, followed by the command-specific arguments
Returns
intthe desired exit code
def TestAllocator(opts, args):

Runs the test allocator opcode.

Parameters
optsthe command line options selected by the user
args:listshould contain only one element, the iallocator name
Returns
intthe desired exit code
def TestJobqueue(opts, _):

Runs a few tests on the job queue.

def TestOsParams(opts, _):

Set secret os parameters.

def Wconfd(opts, args):

Send commands to WConfD.

Parameters
optsthe command line options selected by the user
args:listthe command to send, followed by the command-specific arguments
Returns
intthe desired exit code
aliases: dict[str, str] =

Undocumented

commands =

Undocumented

def _TestJobDependency(opts):

Tests job dependencies.

def _TestJobSubmission(opts):

Tests submitting jobs.

_LIST_LOCKS_DEF_FIELDS: list[str] =

Undocumented

Value
['name', 'mode', 'owner', 'pending']