Versions Compared

Key

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

Welcome to the Packet-Optical ONOS tutorial!!! 

In this tutorial, you’ll complete a set of exercises designed to explain the main concepts of the Packet-Optical use case of ONOS. We hope that with this tutorial, you’ll be able to create, configure, and start multi-layer networks on your environment, which can potentially represent a wide area network environment for your application performance studies.

To get you started quickly, the converged packet-optical tutorial VM is preconfigured with the needed software environments including ONOS, lincLINC-OE, Mininet, Jave-8, Erlang, linc-oe config generator, etc.

You should be able to Just just run this  VM VM in VirtualBox using the instructions in the next section.

...

Before you try Packet-Optical use case, we highly recommend to complete ONOS tutorial too.

...

Oops? Found a bug? Questions?

Email us (onos-discuss@onosproject.org) if you’re stuck, think you’ve found a bug, or just want to send some feedback.

Please have a look at the guidelines to learn how to efficiently submit a bug report.

Setup Your Environment

Install required software

You will need to acquire two files: a VirtualBox installer and the Tutorial VM.

After you have downloaded VirtualBox, install it, then go to the next section to verify that the VM is working on your system.

Import pre-configured Virtual Machine

Start up VirtualBox, then select Machine>New, give it a name, and select Linux as type and Ubuntu (64 bit) as version. Press Continue.

Next, configure the VM with 2 GB (2048 MB) of memory. ( If you are going to run the bigger topology, Configure the VM with 4 GM ( 4096) of memory, Press Continue.

Select ‘Use an existing virtual hard drive file’, and point it to the vmdk file you downloaded Select "Create".  Note you can also import ".OVA" instead. 

Now you can start the VM by double clicking it; once it starts you can login with user "sdn" and password "rocks".

After some time you should see the desktop view for Ubuntu. You can open a terminal by double clicking Terminal.

This VM Contains the following subsystems / files :

1- ONOS;  Alternatively "ONOS from Scratch

2-Mininet; Alternatively "Mininet

3-Linc-OE, "Linc-OE GitHub"

4- Linc-OE config Generator ; "Config" which generates Sys.config representing Optical Layer Topology 

5- Mininet Python Scripts ; which starts mininet, and linc-oe" OpticalTest.py",  "opticalTestBig.py" 

6- Erlang ;  

                         wget https://packages.erlang-solutions.com/erlang-solutions_1.0_all.deb

                         sudo dpkg -i erlang-solutions_1.0_all.deb

                         rm erlang-solutions_1.0_all.deb

                         sudo apt-get update

                         sudo apt-get install erlang rebar"How to download Erlang" 

Starting the tutorial

When you start the VM, you'll be presented with a login screen. (If you're already logged in to another tutorial, please log out by clicking the bottom-left icon, clicking "Logout", then click "Logout" again).

Each tutorial in the VM is presented as a different user. Log in to the packet/optical tutorial user with the following credentials:

Username: optical
Password: optical

You'll be deposited on a desktop with a bunch of icons that will be used for the tutorial. Before we get started, double-click on the "Reset" icon. This will pop up a terminal and reset ONOS to make sure there is no state left over from any other tutorials.7-Java-8; Which could also be downloaded directly from "ONOS from Scratch"

Important Command Prompt

Info
titleTerminal

$

Symbol "$" means linux terminal.

...

Note that there is no physical links between the packet nodes.  All All traffic sourced at the data centers are routed through the optical plane. 

...

Playing with bigger topology.

We have also provide python provided a Python script with bigger topology, "opticalTestBig.py"

We highly encourage you to run that topology and play with it and give us you feed backfeedback.

Resetting and getting out of trouble.

If you wan to reset mininet Mininet or ONOS or just want to get out of trouble do the followings.

For resetting mininet Mininet and linc-oe just double click on 'Reset' (terminal icon) on Desktop or type following in mininet console,

Info
iconfalse

mininet> exit

It will close the mininet Mininet and lincLINC-oeOE. Now you can follow the same procedure describe above to start mininet and linc-oe again.

...