...
Go to mininet/examples:
Info | ||
---|---|---|
| ||
$ cd ~/mininet/examplesonos/tools/test/topos |
You should have a file that contain the packet-optical topology sample opticalTest.py. This file is a python script which creates the following topology:
...
To start Linc-oe and Mininet go to:
Just double click on 'Mininet Small' (terminal icon) at desktop
or run following in the terminal:
Info | ||
---|---|---|
| ||
$ cd ~/onos/tools/mininettest/examplestopos $ sudo -E python opticalTest.py |
...
Before you press any key you need to run ONOS. To run ONOS
Info | ||
---|---|---|
| ||
$ onos |
Just double click on ONOS (terminal icon) on Desktop,
or run following in separate terminal:or
Info | ||
---|---|---|
| ||
$ sudo -u tutorial1 /opt/onos/apache-karaf-3.0.2/binlkaraf clean |
This will start ONOS. Now you can Press any key to push Topology.json to ONOS.
...
or
Info | ||
---|---|---|
| ||
$ onos-gui |
or write following in your browser,
Info | ||
---|---|---|
| ||
localhost:8181/onos/ui |
This will open the ONOS-GUI in a tab in you default browser. You can press z to get the split view of packet and optical plane and press h to see hosts (for more options press /).
...