selinon.routines package

Module contents

Supporting routines for run time.

selinon.routines.always_run(flow_name, node_name, node_args, task_names, storage_pool)[source]

Run the default function that is called on selective run.

Parameters:
  • flow_name – flow name in which the selective run is done
  • node_name – name of the node on which this function was run
  • node_args – arguments supplied to the flow
  • task_names – a list of nodes that should be run in the selective run
  • storage_pool – storage pool for the parent nodes
Returns:

None if desired node should be run, id of task that results should be reused