topology_docker.platform¶
Docker engine platform module for topology.
Classes¶
DockerPlatform: Plugin to build a topology using Docker.
-
class
topology_docker.platform.DockerPlatform(timestamp, nmlmanager, **kwargs)¶ Plugin to build a topology using Docker.
See
topology.platforms.platform.BasePlatformfor more information.Inheritance
-
add_bilink(nodeport_a, nodeport_b, bilink)¶ 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.
-
relink(link_id)¶ See
BasePlatform.relink()for more information.
-
rollback(stage, enodes, exception)¶ See
BasePlatform.rollback()for more information.
-
unlink(link_id)¶ See
BasePlatform.unlink()for more information.
-