WORK IN PROGRESS
We have prepared a VM with all you need to complete the exercises. To VM can be downloaded here (approx. 4GB).
The VM comes with Ubuntu 16.04 Desktop, Mininet, P4 tools (p4c, BMv2, P4Runtime), ONOS, and IntelliJ IDEA Community Edition (Java IDE for ONOS) already pre-installed.
There is one user in the VM with the following credentials Username: sdn |
The VM is in .ova format and has been created using VirtualBox v5.1. To run the VM you can use any modern virtualization system, although we recommend using VirtualBox. To download VirtualBox and import the VM use the following links:
https://www.virtualbox.org/wiki/Downloads
https://docs.oracle.com/cd/E26217_01/E26796/html/qs-import-vm.html
The current configuration of the VM is 6 GB of RAM and 4 core CPU, although this is the recommended configuration, it can be reduced if needed. Minimum system requirements to build and run ONOS are 2 core CPU and 2 GB of RAM. When imported, the VM takes approx. 8 GB of HDD space, however, you might need up to 15 GB to build and run ONOS.
To complete the tutorial exercises you will need to download, build and run the latest development version of ONOS. Once you are able to run the VM, open a terminal window or SSH into it and type the following commands:
cd ~/onos git pull buck build onos |
Building ONOS with the recommended system configuration takes approx. 10 minutes.