configinfo

Pilot Config specific info provider mainly used to customize Queue, Site, etc data of Information Service with details fetched directly from local Pilot instance configuration

author:

Alexey Anisenkov

contact:

anisyonk@cern.ch

date:

January 2018

class pilot.info.configinfo.PilotConfigProvider(conf=None)[source]

Info provider which is used to extract settings specific for local Pilot instance and overwrite general configuration used by Information Service

__dict__ = mappingproxy({'__module__': 'pilot.info.configinfo', '__doc__': '\n        Info provider which is used to extract settings specific for local Pilot instance\n        and overwrite general configuration used by Information Service\n    ', 'config': None, '__init__': <function PilotConfigProvider.__init__>, 'resolve_schedconf_sources': <function PilotConfigProvider.resolve_schedconf_sources>, 'resolve_queuedata': <function PilotConfigProvider.resolve_queuedata>, '__dict__': <attribute '__dict__' of 'PilotConfigProvider' objects>, '__weakref__': <attribute '__weakref__' of 'PilotConfigProvider' objects>, '__annotations__': {}})
__init__(conf=None)[source]
__module__ = 'pilot.info.configinfo'
__weakref__

list of weak references to the object (if defined)

config = None
resolve_queuedata(pandaqueue, **kwargs)[source]

Resolve queue data details

Parameters:

pandaqueue – name of PandaQueue

Returns:

dict of settings for given PandaQueue as a key

resolve_schedconf_sources()[source]

Resolve prioritized list of source names to be used for SchedConfig data load :return: prioritized list of source names