Versions Compared

Key

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

...

Running multiple VMs that each run an ONOS instance is one way of running a multi-instance ONOS deployment. It is however not practical to do on my resource-constrained laptop. Using Linux Containers is a great alternative that achieves the same thing but uses way less CPU and memory. I also didn't care much for Docker's approach: Docker is very convenient to distribute ONOS as a self-contained application, but I had trouble integrating it into my development cycle which requires fast code/deploy/test cycles.

Info
titleonos.py and Mininet

A simpler alternative to this approach can be found in Mininet environment setup using onos.py - you can pick whichever option seems best for your purposes.

Getting Started

I'm using VirtualBox as virtualization environment, but I see no reason why this shouldn't work on VMWare or other hypervisors.

...

This VM will eventually host the ONOS instance containers. In the following, we'll first create a single container that is fully configured, and then clone the original as many times as needed.

...

titleAlternative: onos.py and Mininet

...

.

Creating Your First Container

...