add_stack(topology, node, name, properties=None, **kwargs)[source]

Set stack on a node.

If the node already has a stack, it is overwritten

topology : Topology

The topology

node : any hashable type

The ID of the node

name : str

The name of the stack

properties : dict, optional

The properties of the stack

**attr : keyworded attributes

Further properties of the application