The SystemAdministratorClient is a class representing the client of the DIRAC SystemAdministrator service. It has also methods to update the Configuration Service with the DIRAC components options

class DIRAC.FrameworkSystem.Client.SystemAdministratorClient.SystemAdministratorClient(host, port=None, **kwargs)

Bases: DIRAC.Core.Base.Client.Client

__init__(host, port=None, **kwargs)

Constructor function. Takes a mandatory host parameter

executeRPC(*parms, **kws)

This method extracts some parameters from kwargs that are used as parameter of the constructor or RPCClient. Unfortunately, only a few of all the available parameters of BaseClient are exposed.

  • rpc – if an RPC client is passed, use that one
  • timeout – we can change the timeout on a per call bases. Default 120 s
  • url – We can specify which url to use

Getter for the server url. Useful ?


Set the server URL used by default

Parameters:url – url of the service

Specify the timeout of the call. Forwarded to RPCClient

Parameters:timeout – guess…