Ask is moving to Stack Overflow and Serverfault.com! Please use the "opendaylight" tag on either of these sites. This site is now in Read-Only mode

Revision history [back]

click to hide/show revision 1
initial version

Does the "controller" project support OpenFlow 1.3?

Dear ODL experts,

I try to build an ODL app on Helium and the environment is based on controller project. However, my OVS can not connect to the ODL controller while its protocol is set to OpenFlow 1.3. And the log shows that my OVS fails to create a connection to the ODL controller and thus keep trying.

> ovs-vsctl add-br s1
> ovs-vsctl set bridge s1 protocols=OpenFlow13
> ovs-vsctl set-controller ovs-br tcp:127.0.0.1
> ovs-vsctl show
084b03f8-2f6a-4424-843d-857bac0f0324
Bridge "s1"
    Controller "tcp:127.0.0.1"
    fail_mode: secure
    Port "s1"
        Interface "s1"
            type: internal
ovs_version: "2.3.1"

2015-02-03 18:27:59.933 CST [ControllerI/O Thread] INFO  o.o.c.p.o.core.internal.Controller - Switch:127.0.0.1:55480 is connected to the Controller
2015-02-03 18:28:00.025 CST [ControllerI/O Thread] INFO  o.o.c.p.o.core.internal.Controller - Switch:127.0.0.1:55481 is connected to the Controller
2015-02-03 18:28:02.024 CST [ControllerI/O Thread] INFO  o.o.c.p.o.core.internal.Controller - Switch:127.0.0.1:55482 is connected to the Controller
2015-02-03 18:28:06.025 CST [ControllerI/O Thread] INFO  o.o.c.p.o.core.internal.Controller - Switch:127.0.0.1:55483 is connected to the Controller
2015-02-03 18:28:14.027 CST [ControllerI/O Thread] INFO  o.o.c.p.o.core.internal.Controller - Switch:127.0.0.1:55484 is connected to the Controller
2015-02-03 18:28:22.025 CST [ControllerI/O Thread] INFO  o.o.c.p.o.core.internal.Controller - Switch:127.0.0.1:55485 is connected to the Controller

However, while I run the pre-built Helium SR1.1 version and install odl-l2switch and openflowplugin features, everything goes very well. Moreover, when my OVS is set to OpenFlow 1.0, everything is fine, too.

==========

My environment is based on the Helium controller project, then checked out to the latest version, SR1.1, and then compiled to run. Besides, I run the base edition (i.e., Equinox) because I do not know how to install my bundle on Karaf.

> git clone https://git.opendaylight.org/gerrit/p/controller.git
> git checkout release/helium-sr1.1
> cd controller
> mvn clean install -DskipTests
> ./opendaylight/distribution/opendaylight/target/distribution.opendaylight-osgipackage/opendaylight/run.sh

When I add an argument '-of13', an error shows: "unknown option -of13"

> ../distribution/opendaylight/target/distribution.opendaylight-osgipackage/opendaylight/run.sh -of13
Unknown option -of13
Use -help for more information.

If I miss any helpful information (e.g., environment settings) that could help you experts debug, please kindly let me know. I am an ODL newer who has to learn many things from you. Please teach me how to debug, configure, or even modify the source code of a bundle (openflowplugin?). I really really appreciate. Thank you very much.

Sincerely,

Yi-Jung