SiteCEMapping

DEPRECATED DEPRECATED DEPRECATED DEPRECATED DEPRECATED

DIRAC.Core.Utilities.SiteCEMapping.getCESiteMapping(*args, **kwargs)
Returns a dictionary of all CEs and their associated site, e.g.
{‘ce101.cern.ch’:’LCG.CERN.ch’, …]} Assumes CS structure of: /Resources/Sites/<GRIDNAME>/<SITENAME>

Deprecated: Use DIRAC.ConfigurationSystem.Client.Helpers.Resources.getCESiteMapping

DIRAC.Core.Utilities.SiteCEMapping.getCEsForSite(*args, **kwargs)

Given a DIRAC site name this method returns a list of corresponding CEs.

Deprecated: Use DIRAC.ConfigurationSystem.Client.Helpers.Resources.getSiteCEMapping

DIRAC.Core.Utilities.SiteCEMapping.getSiteCEMapping(*args, **kwargs)
Returns a dictionary of all sites and their CEs as a list, e.g.
{‘LCG.CERN.ch’:[‘ce101.cern.ch’,…]} If gridName is specified, result is restricted to that Grid type.

Deprecated: Use DIRAC.ConfigurationSystem.Client.Helpers.Resources.getSiteCEMapping

DIRAC.Core.Utilities.SiteCEMapping.getSiteForCE(*args, **kwargs)

Given a Grid CE name this method returns the DIRAC site name.

WARNING: if two or more sites happen to have the same ceName/queueName, then only the first found is returned

Deprecated: Use DIRAC.ConfigurationSystem.Client.Helpers.Resources.getCESiteMapping

DIRAC.Core.Utilities.SiteCEMapping.getSites(*args, **kwargs)

Deprecated: Use DIRAC.ConfigurationSystem.Client.Helpers.Resources.getSites