Carmelo Cascone c52a4b1b46 Run an ONOS cluster inside Mininet (via onos.py) with any demo script.
E.g. $ sudo -E python attmpls.py --cluster-size 3

Also, added option (--netcfg) to auto set netcfg at Mininet startup, and
added command to bring onos instances up/down to Mininet CLI.

Change-Id: Id02917fd5181af496b7d954da0ef3d5f2cbb970d
2016-11-30 21:19:47 +00:00
..
2016-09-12 17:56:20 +00:00
2016-06-29 20:53:05 +00:00
2016-09-07 23:07:11 +00:00

Mininet dev tools README

This directory contains modules for Mininet that are
intended to help with ONOS core and application development.

They can be imported into Python scripts, or invoked using
mn's --custom option.

Test topologies for use with Mininet may be found in
../../test/topos


onos.py:

onos.py provides a Mininet controller class which makes it
convenient to create ONOS clusters in a single VM. It also
creates a customizable control network. Additional information
may be found in the module comment and on the docs wiki.

example: sudo mn --custom onos.py --controller onos,1 --topo linear,10


bmv2.py:

bmv2.py provides a Mininet switch class which enables use of
the BMv2 P4 software switch.

Additional information may be found on the docs wiki.


examples/:

The examples/ directory contains example scripts which may make
use of onos.py or other modules in this directory.