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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 2 Python 3

Supported by

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