Resources

Helper for the CS Resources section

DIRAC.ConfigurationSystem.Client.Helpers.Resources.getBackendConfig(backendID)

Return a backend configuration for a given backend identifier

Params backendID:
 string representing a backend identifier. Ex: stdout, file, f02
DIRAC.ConfigurationSystem.Client.Helpers.Resources.getCatalogPath(catalogName)

Return the configuration path of the description for a a given catalog

DIRAC.ConfigurationSystem.Client.Helpers.Resources.getCompatiblePlatforms(originalPlatforms)

Get a list of platforms compatible with the given list

DIRAC.ConfigurationSystem.Client.Helpers.Resources.getDIRACPlatform(OS)

Get standard DIRAC platform(s) compatible with the argument.

NB: The returned value is a list! ordered, in reverse, using distutils.version.LooseVersion In practice the “highest” version (which should be the most “desirable” one is returned first)

DIRAC.ConfigurationSystem.Client.Helpers.Resources.getDIRACPlatforms()

just returns list of platforms defined in the CS

DIRAC.ConfigurationSystem.Client.Helpers.Resources.getFTS2ServersForSites(*args, **kwargs)

get FTSServers for sites

Parameters:siteList (list) – list of sites
DIRAC.ConfigurationSystem.Client.Helpers.Resources.getFTS3ServerDict()
Returns:dict of key = server name and value = server url
DIRAC.ConfigurationSystem.Client.Helpers.Resources.getFTS3Servers()

get FTSServers for sites

DIRAC.ConfigurationSystem.Client.Helpers.Resources.getQueue(site, ce, queue)

Get parameters of the specified queue

DIRAC.ConfigurationSystem.Client.Helpers.Resources.getQueues(siteList=None, ceList=None, ceTypeList=None, community=None, mode=None)

Get CE/queue options according to the specified selection

DIRAC.ConfigurationSystem.Client.Helpers.Resources.getSiteGrid(site)

Return Grid component from Site Name

DIRAC.ConfigurationSystem.Client.Helpers.Resources.getSitePath(site)

Return path to the Site section on CS

DIRAC.ConfigurationSystem.Client.Helpers.Resources.getSiteTier(site)

Return Tier level of the given Site

DIRAC.ConfigurationSystem.Client.Helpers.Resources.getSites()

Get the list of all the sites defined in the CS

DIRAC.ConfigurationSystem.Client.Helpers.Resources.getStorageElementOptions(*args, **kwargs)

Get the CS StorageElementOptions

DIRAC.ConfigurationSystem.Client.Helpers.Resources.getStorageElementSiteMapping(*args, **kwargs)

Get Storage Element belonging to the given sites