Use Docker containers as hosts inside your Mininet topologies. Interact with the containers through Mininet's CLI.
This fork of Mininet allows to use Docker containers as Mininet hosts. This enables interesting functionalities to built networking/cloud testbeds. The integration is done subclassing the original Host class.
- WIP! Not fully functional yet.
- Contributions welcome :)
Based on: Mininet 2.2.1
- Ubuntu 14.04 LTS
- Install Docker:
curl -sSL https://get.docker.com/ | sh - Docker client library:
pip install docker-py
- see example topology:
examples/dockerhosts.py
- run:
sudo python examples/dockerhosts.py - test:
mininet> d1 ifconfigto see config of container d1
- implement, implement, implement
- loglevel('debug') leads to freeze on exit
- STRG+C is not received by container
- Container add, remove
- Connect containers to topology
- Execute Mininet CLI commands inside container
Dockernet (c) 2015 by Manuel Peuster
Manuel Peuster manuel (dot) peuster (at) upb (dot) de