Versions Compared

Key

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

...

"(linc@mininet-vm)1>" means LINC-OE CLI command prompt.

Resetting

We have provided a simple mechanism which allows you to restart the tutorial from scratch. Simply, click on the 'Reset' icon on your desktop and this will reset ONOS to its initial state. It'll take a few seconds for ONOS to restart and during that time you may not be able to launch your ONOS cli. 

Packet-Optical Topology  (via Python-Script)

...

The tap interfaces are used to interconnect the optical switches and packet nodes. We are utilizing Linux tap interfaces for interconnecting the optical switches and packet switches. 

Start

...

ONOS

Double-click the 'Reset' icon on the desktop to start ONOS up with the correct configuration to run packet-optical.

Wait for some time to let ONOS load all the features and modules (about a minute or so).

Start Mininet and Linc-oe

The recommended way to setup your packet-optical environment is to run mininet sricpt first and then ONOS.

To start Linc-oe and Mininet go to:

...

Info
iconfalse

$ cd ~/onos/tools/test/topos

$ sudo -E python opticalTest.py 10.0.3.11

This will create the topology shown above in the figure and ask you to 'Press ENTER to push Topology.json to onos...'

Before you press ENTER, you need to run ONOS. To run ONOS

Just double click on ONOS (terminal icon) on Desktop,

or run following in separate terminal:

Info
iconfalse

$ sudo -u tutorial1 /opt/onos/apache-karaf-3.0.2/bin/karaf clean

check that ONOS is running and has connected to all the switches. Double-click the 'ONOS' icon to open the ONOS CLI. Now run the 'summary' command and check that ONOS had 16 devices attached.

Info

onos> summary

node=10.0.3.11, version=1.1.1.optical~2015/04/02@15:06

nodes=1, devices=16, links=0, hosts=6, SCC(s)=16, flows=18, intents=0

This will start ONOS. Wait for some time to let ONOS load all the features and modules. Now you can Press ENTER to push Topology.json to ONOS.

...

or write following in your browser,

Info
iconfalse

localhost10.0.3.11:8181/onos/ui

Note: Do not you use $ onos-gui to get ONOS GUI.

...