FreeDiskSpacePolicy

FreeDiskSpacePolicy

FreeDiskSpacePolicy.__bases__:

DIRAC.ResourceStatusSystem.PolicySystem.PolicyBase.PolicyBase

class DIRAC.ResourceStatusSystem.Policy.FreeDiskSpacePolicy.FreeDiskSpacePolicy

Bases: PolicyBase

The FreeDiskSpacePolicy class is a policy class satisfied when a SE has a low occupancy.

FreeDiskSpacePolicy, given the space left at the element, proposes a new status.

__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