def setup_event_pipeline(conf, transformer_manager=None):
 default = extension.ExtensionManager('ceilometer.transformer')
 cfg_file = conf.event_pipeline_cfg_file
 return PipelineManager(conf, cfg_file, (transformer_manager or default), EVENT_TYPE)

def setup_event_pipeline ( conf , transformer_manager = None ) : default = extension . ExtensionManager ( 'ceilometer.transformer' ) cfg_file = conf . event_pipeline_cfg_file return PipelineManager ( conf , cfg_file , ( transformer_manager or default ) , EVENT_TYPE )
setup event pipeline manager according to yaml config file .