topology_docker.platform

Docker engine platform module for topology.

Classes

class topology_docker.platform.DockerPlatform(timestamp, nmlmanager)

Plugin to build a topology using Docker.

See topology.platforms.platform.BasePlatform for more information.

Inheritance

Inheritance diagram of DockerPlatform

Add a link between two nodes.

See BasePlatform.add_bilink() for more information.

add_biport(node, biport)

Add a port to the docker node.

See BasePlatform.add_biport() for more information.

add_node(node)

Add a new DockerNode.

See BasePlatform.add_node() for more information.

destroy()

See BasePlatform.destroy() for more information.

post_build()

Ports are created for each node automatically while adding links. Creates the rest of the ports (no-linked ports)

See BasePlatform.post_build() for more information.

pre_build()

See BasePlatform.pre_build() for more information.

See BasePlatform.relink() for more information.

rollback(stage, enodes, exception)

See BasePlatform.rollback() for more information.

See BasePlatform.unlink() for more information.