Versions Compared

Key

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

...

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

Image Modified
LINC Cheat Sheet

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 5: Link recovery from packet layer failures

...

We highly encourage you to run that topology and play with it and give us you your feedback.

Resetting and getting out of trouble.

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

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

...