Skip to main content

Mininet specific topology generator and parser

Project description

Latest PyPI version

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

Authors

mininet-topology-yaml was written by Lumina NetDev.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mininet-topology-yaml-0.1.5.tar.gz (6.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mininet_topology_yaml-0.1.5-py2.py3-none-any.whl (12.9 kB view details)

Uploaded Python 2Python 3

File details

Details for the file mininet-topology-yaml-0.1.5.tar.gz.

File metadata

  • Download URL: mininet-topology-yaml-0.1.5.tar.gz
  • Upload date:
  • Size: 6.6 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for mininet-topology-yaml-0.1.5.tar.gz
Algorithm Hash digest
SHA256 4ad4d813308a2e3b3bf8aa2b52750a37809e484e9851273d496ce5cf0ab6adba
MD5 ddb7e36178654501e788cbaa6242b815
BLAKE2b-256 4df5f4548b3fc441d44b4028e393a763719b29f1467a4bb2e0797b4d87d329f7

See more details on using hashes here.

File details

Details for the file mininet_topology_yaml-0.1.5-py2.py3-none-any.whl.

File metadata

  • Download URL: mininet_topology_yaml-0.1.5-py2.py3-none-any.whl
  • Upload date:
  • Size: 12.9 kB
  • Tags: Python 2, Python 3
  • Uploaded using 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

File hashes

Hashes for mininet_topology_yaml-0.1.5-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 79c7d46922c946aae88ffce7d1bc16dc6f4d445fd1ebea7111789909da1c95cb
MD5 ab5c1387cc4c2ddcd8b8ab3066c2e8c2
BLAKE2b-256 3e62ab3d76b46b12ae045fe049720b542c0c0632c3faba9ce36ac79611ea3502

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page