ProdTransManager

This module manages is a client for the TS and manages the transformations associated to the productions

class DIRAC.ProductionSystem.Utilities.ProdTransManager.ProdTransManager

Bases: object

__init__()
addTransformationStep(stepID, prodID)

Add the transformation step to the TS

Parameters
  • stepID (int) – the production step ID

  • prodID (int) – the production ID

Returns

deleteProductionTransformations(prodID)

Delete the production transformations from the TS

Parameters

prodID (int) – the ProductionID

deleteTransformations(transIDs)

Delete given transformations from the TS

Parameters

transIDs (list) – a list of Transformation IDs

executeActionOnTransformations(prodID, action)

Wrapper to start/stop/clean the transformations of a production

Parameters
  • prodID (int) – the production ID

  • action (str) – it can be start/stop/clean