WMSUtilities

A set of utilities used in the WMS services Requires the Nordugrid ARC plugins. In particular : nordugrid-arc-python

DIRAC.WorkloadManagementSystem.Service.WMSUtilities.getGridEnv()
DIRAC.WorkloadManagementSystem.Service.WMSUtilities.getPilotCE(pilotDict)

Instantiate and return a CE bound to a pilot

DIRAC.WorkloadManagementSystem.Service.WMSUtilities.getPilotProxy(pilotDict)

Get a proxy bound to a pilot

DIRAC.WorkloadManagementSystem.Service.WMSUtilities.getPilotRef(pilotReference, pilotDict)

Add the pilotStamp to the pilotReference, if the pilotStamp is in the dictionary, otherwise return unchanged pilotReference.

DIRAC.WorkloadManagementSystem.Service.WMSUtilities.killPilotsInQueues(pilotRefDict)

kill pilots queue by queue

Params dict pilotRefDict

a dict of pilots in queues