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.
Requirements
Python 2.7
Mininet 2.2.2
OVS 2.8.1
Installation
>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
Usage
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
Troubleshooting
Could not load plugin
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.
Documentation
To build documentation:
$ make documentation
Or
$ cd docs $ make html
Licence
MIT
Release files for mininet-topology-yaml 0.1.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| mininet-topology-yaml-0.1.5.tar.gz | 6.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mininet_topology_yaml-0.1.5-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 19.6 kB
Release files / mininet-topology-yaml-0.1.5.tar.gz
| Download URL | mininet-topology-yaml-0.1.5.tar.gz |
|---|---|
| Size | 6.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4ad4d813308a2e3b3bf8aa2b52750a37809e484e9851273d496ce5cf0ab6adba
|
|
BLAKE2b-256 checksum How to use checksums |
4df5f4548b3fc441d44b4028e393a763719b29f1467a4bb2e0797b4d87d329f7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.5.2
|
Release files / mininet_topology_yaml-0.1.5-py2.py3-none-any.whl
| Download URL | mininet_topology_yaml-0.1.5-py2.py3-none-any.whl |
|---|---|
| Size | 12.9 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
79c7d46922c946aae88ffce7d1bc16dc6f4d445fd1ebea7111789909da1c95cb
|
|
BLAKE2b-256 checksum How to use checksums |
3e62ab3d76b46b12ae045fe049720b542c0c0632c3faba9ce36ac79611ea3502
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.5.2
|