The cinder.flow_utils Module

class CinderTask(addons=None, **kwargs)

Bases: taskflow.task.Task

The root task class for all cinder tasks.

It automatically names the given task using the module and class that implement the given task as the task name.

classmethod make_name(addons=None)
class DynamicLogListener(engine, task_listen_for=('*', ), flow_listen_for=('*', ), retry_listen_for=('*', ), logger=<oslo_log.log.KeywordArgumentAdapter object at 0x7fbe6aff6c10>)

Bases: taskflow.listeners.logging.DynamicLoggingListener

This is used to attach to taskflow engines while they are running.

It provides a bunch of useful features that expose the actions happening inside a taskflow engine, which can be useful for developers for debugging, for operations folks for monitoring and tracking of the resource actions and more...

Previous topic

The cinder.exception Module

Next topic

The cinder.hacking.checks Module

Project Source

This Page