'Add a Flow in OpenDaylight using Java API

I'm a newbie in opendaylight developing using the java api. I'm trying to add a simple flow but I can't do it, maybe I can't understand well the documentation. Can anybody help me?



Solution 1:[1]

The simplest way is to add a flow would be:

  1. Start the controller and point your switch or Open vSwitch / mininet instance at the controller on 6633.

  2. On the same host as the controller, open a browser to http:// localhost :8080

  3. Click on the "flows" tab.

  4. Add your static flowmod.

Alternatively you can use the API. The following is a PDF that might help you get started. The accompanying video is on the OpenDaylight YouTube channel.

OpenDaylight Tutorial

-Cheers

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 NetworkStatic