SMSAction

SMSAction

class DIRAC.ResourceStatusSystem.PolicySystem.Actions.SMSAction.SMSAction(name, decisionParams, enforcementResult, singlePolicyResults, clients=None)

Bases: DIRAC.ResourceStatusSystem.PolicySystem.Actions.BaseAction.BaseAction

Action that sends a brief SMS to the user with a few keywords that will make him run to his or her office.

__init__(name, decisionParams, enforcementResult, singlePolicyResults, clients=None)

x.__init__(…) initializes x; see help(type(x)) for signature

run()

Checks it has the parameters it needs and tries to send an sms to the users that apply.