dirac-rss-set-token

DIRAC 7.3.12.dev0+gdd2da3c12.d20211129

Script that helps setting the token of the elements in RSS. It can acquire or release the token.

If the releaseToken switch is used, no matter what was the previous token, it will be set to rs_svc (RSS owns it). If not set, the token will be set to whatever username is defined on the proxy loaded while issuing this command. In the second case, the token lasts one day.

Usage:

dirac-rss-set-token [options] ...

Options:

--element=               : Element family to be Synchronized ( Site, Resource or Node )
--name=                  : Name, name of the element where the change applies
--statusType=            : StatusType, if none applies to all possible statusTypes
--reason=                : Reason to set the Status
--days=                  : Number of days the token is acquired
--releaseToken           : Release the token and let the RSS take control
--VO=                    : VO to set a token for. When omitted token will be set for all VOs