Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Mininet is a container orchestration system for network emulation. With Mininet and onos.py, you can easily start up an ONOS cluster in a single VM or server. This is usually the most convenient way to create an ONOS development environment on your laptop, and you can be up and running in a matter of minutes (or seconds if you have already built ONOS and have already installed Mininet!)

Table of Contents

Getting Mininet

In order to use onos.py, you need Mininet. It's easy to install Mininet from source in an Ubuntu VM or server:

git clone http://github.com/mininet/mininet
mininet/util/install.sh -nv

You can also download a pre-built Mininet VM.

If you are running Ubuntu 16.04, you can easily install Mininet 2.2 using apt-get:

apt-get install mininet

Why use use onos.py and Mininet?

...

Info

Note: This is work in progress - if you wish to try it now, you will need to get onos.py from the following patch: https://gerrit.onosproject.org/#/c/9143/


Getting Mininet

In order to use onos.py, you need Mininet. It's easy to install Mininet from source in an Ubuntu VM or server:

git clone http://github.com/mininet/mininet
mininet/util/install.sh -nv

You can also download a pre-built Mininet VM.

If you are running Ubuntu 16.04, you can easily install Mininet 2.2 using apt-get:

apt-get install mininet

Running ONOS using onos.py and Mininet

...