Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Added instructions for using the Learning Switch App on onos 2.4

...

 Remember to uncomment the actLikeSwitch method call and comment the actLikeHub method call. Also remember after installing your application, to delete or stop the reactive forwarding application. To test if your switch is working send a couple pings through. You could also use iperf to see the bandwidth between the hosts. It should be considerably faster in comparison to actLikeHub. Additionally, Wireshark is a useful resource to use, for debugging. If you want more help debugging on IntelliJ look at this screencast.

Happy Coding!

...

Learning Switch APP on ONOS 2.4.0

On ONOS 2.4.0 the Learning Switch folder can be found under the onos directory apps folder, if you are using terminals it's

$ cd apps/learning-switch  (while in ONOS)

This will give you access to the Learning Switch APP folder and you can find two java files under src/main/java/org/onosproject/learningswitch: LearningSwtichTutorial.java, which contains a empty model, and LearningSwtichSolution.java which is a filled example for a working Learning Switch.

You can learn how to create and deploy an ONOS Application on this link.

Happy Coding!