CEAvailabilityCommand

CEAvailabilityCommand module

class DIRAC.ResourceStatusSystem.Command.CEAvailabilityCommand.CEAvailabilityCommand(args=None)

Bases: DIRAC.ResourceStatusSystem.Command.Command.Command

It returns the status of a given CE.

__init__(args=None)
Params:args: dictionary specifying following values ce: Computing Element (mandatory) host: BDII server (optional)
doCache()

To be extended/replaced by real commands

doCommand()

It returns the status of a given CE.

Returns:a dictionary with status of each CE queues, and ‘status’ and ‘reason’ of the CE itself
doMaster()

To be extended/replaced by real commands

doNew(masterParams=None)

To be extended/replaced by real commands

returnERROR(s_obj)

Overwrites S_ERROR message with command name, much easier to debug

returnSObj(s_obj)

Overwrites S_ERROR message with command name, much easier to debug