Versions Compared

Key

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

...

Now if you send traffic between these host you will see traffic is going through successfully. Note in this tutorial script we have only create one tap interface per packet-optical switch. Which means we cannot setup more then one connection per switch. If you want more then one connection per switch you need to add tap interface accordingly in "opticalTest.py".

 

Demo 2: Establishing connection between hosts/DataCenters using ONOS-CLI.

...

You will see that ONOS will reroute the the traffic as shown in the figure.

Image Modified

...

You can attach to the console of a running LINC instance as follows:

Code Block
languagebash
$ sudo linc-oe/rel/linc/bin/linc attach

In the LINC console, the following commands are available. Please note that Erlang is very picky regarding syntax, so make sure you are not missing any spaces or the dot ('.') at the end of each command!

CommandDescription

rp(application:get_all_key(linc)).

Get running config
linc_logic:get_datapath_id(SwitchId).Get DPID of logical switch
linc:stop_switch(SwitchId).Stop logical switch

linc:port_down(SwitchId, PortId).

Disable port
linc:port_up(SwitchId, PortId).Enable port
linc:ports(SwitchId).List ports on logical switch
linc_us4_oe_flow:get_flow_table(switchId, tableId).Get flow table of logical switch (use tableId 0)

Demo 4: Link recovery from packet layer failures

TBD

...

Playing with a bigger topology.

...