The heat.engine.dependencies Module

exception heat.engine.dependencies.CircularDependencyException(**kwargs)[source]

Bases: heat.openstack.common.exception.OpenstackException

message = u'Circular Dependency Found: %(cycle)s'
class heat.engine.dependencies.Dependencies(edges=[])[source]

Bases: object

Helper class for calculating a dependency graph

class Node(requires=None, required_by=None)[source]

Bases: object

copy()[source]

Make a copy of the node

disjoint()[source]

Test if this node is both a lead and a stem

required_by(source=None)[source]

List the keys that require this node, and optionally add a new one

requires(target)[source]

Add a key that this node requires

reverse_copy()[source]

Make a copy of the node with the edge directions reversed

stem()[source]

Test if this node is a stem (required by nothing)

This Page