CEAvailabilityPolicy

CEAvailabilityPolicy module

class DIRAC.ResourceStatusSystem.Policy.CEAvailabilityPolicy.CEAvailabilityPolicy

Bases: PolicyBase

The CEAvailabilityPolicy checks if the CE is in ‘Production’ or not on the BDII.

__init__()

Constructor

evaluate()

Before use, call setCommand.

Invoking super(PolicyCLASS, self).evaluate will invoke the command (if necessary) as it is provided and returns the results.

setCommand(policyCommand)

Set self.command.

Params:

commandIn: a command object