A CLI plugin for topology-yaml.
It makes creating Table and Clos (spine/leaf) topology files easier.
Most importantly it is able to spawn a mininet session with the hosts, switches, links and connect to the controllers defined in the topology file.
- Python 2.7
- Mininet 2.2.2
- OVS 2.8.1
From Source:
$ git clone https://github.com/lumina-networks/mininet-topology-yaml $ cd mininet-topology-yaml $ sudo pip install .
From PyPi
$ pip install mininet-topology-yaml
topology-yaml will be the command after installation. For example:
$ Usage: topology-yaml [OPTIONS] COMMAND [ARGS]... Options: --help Show this message and exit. Commands: create Create Topology File delete Delete Topology File mininet Mininet Topology Commands read Read Topology File
Usage: topology-yaml [OPTIONS] COMMAND [ARGS]... Options: --help Show this message and exit. Commands: create Create Topology File delete Delete Topology File mininet † Warning: could not load plugin. See `topology-yaml mininet --help`. read Read Topology File
This warning generally occurs when mininet is not installed on the system. Ensure mininet is installed and the Python API for mininet is globally available.
To build documentation:
$ make documentation
Or
$ cd docs $ make html
MIT
mininet-topology-yaml was written by Lumina NetDev.