PropagationPolicy

DIRAC.ResourceStatusSystem.Policy.PropagationPolicy

The following lines are needed in the CS:

PropagationPolicy
{
  matchParams
  {
    element = Site
  }
  policyType = PropagationPolicy
}
class DIRAC.ResourceStatusSystem.Policy.PropagationPolicy.PropagationPolicy

Bases: PolicyBase

PropagationPolicy module doc

__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