...
In the above list show all the optical links. {{7,40},{2,50}}, means switch_Id 7 port 40 is connected to switch_Id 2 port 50. You need find the link port then you want to bring down. In my case its switch 7 port 40.
We know its hectic a task and we are in the progress of making it easier.
Once you know the switch and port you need to run following command in Linc-oe console to bring that port down.
Info | ||
---|---|---|
| ||
(linc@mininet-vm)4> linc:port_down(7,40). |
It will return "ok".
You will see that ONOS will reroute the the traffic as shown in the figure.
Demo 5: Link recovery at Packet Layer:
...