The cinder.volume.flows.base Module

class CinderTask(addons=None)

Bases: cinder.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.

class InjectTask(inject_what, addons=None)

Bases: cinder.volume.flows.base.CinderTask

This injects a dict into the flow.

This injection is done so that the keys (and values) provided can be dependended on by tasks further down the line. Since taskflow is dependency based this can be considered the bootstrapping task that provides an initial set of values for other tasks to get started with. If this did not exist then tasks would fail locating there dependent tasks and the values said dependent tasks produce.

Reversion strategy: N/A

Previous topic

The cinder.volume.drivers.zadara Module

Next topic

The cinder.volume.flows.utils Module

This Page