Shifter

Handling the download of the shifter Proxy

DIRAC.Core.Utilities.Shifter.getShifterProxy(shifterType, fileName=False)

This method returns a shifter’s proxy

Parameters:
  • shifterType (str) – ProductionManager / DataManager…

  • fileName (str) – file name

Returns:

S_OK(dict)/S_ERROR()

DIRAC.Core.Utilities.Shifter.setupShifterProxyInEnv(shifterType, fileName=False)

Return the shifter’s proxy and set it up as the default proxy via changing the environment. This method returns a shifter’s proxy

Parameters:
  • shifterType (str) – ProductionManager / DataManager…

  • fileName (str) – file name

Returns:

S_OK(dict)/S_ERROR()