Ask Your Question

Unable to add flows in OpenDaylight Helium using REST nor using DLUX UI

asked 2015-03-13 23:51:43 -0700

pm.preetam gravatar image

updated 2015-03-16 14:24:55 -0700

QUESTION: Using Postman, I am trying to insert the flows referring to this link here . I took care of the headers and made changes in the http request parameters in sync with the xml body parameters. Example:

The XML that I am trying to add is,

<?xml version="1.0" encoding="UTF-8" standalone="no"?><flow xmlns="urn:opendaylight:flow:inventory">

When I Send the above PUT http request, the Status is 200 OK. But I am unable to view the installed flows in the flows tab in OpenDaylight! However, I succeeded using the following request

It would be great if you let me know the difference and also why isn't restconf working? How can I add flows in the ODL controller to support all the Openflow 1.3 actions?

My system configurations:

I have my OpenDaylight Helium version up running in a Ubuntu VM, with the following features installed -

odl-restconf odl-l2switch-switch odl-mdsal-apidocs odl-dlux-core install odl-mdsal-clustering odl-adsal-compatibility odl-nsf-all odl-openflowplugin-all odl-adsal-northbound odl-flow-model odl-flow-services

On another VM, I have a Mininet 2.2.0 running with Open vSwitch 2.3.1 (Manually upgraded following the steps from here) to support Openflow 1.3

I created a topology using $sudo mn --switch=ovsk --controller=remote,ip= and also checked for the switch's protocol supported using this command - $sudo ovs-vsctl list bridge s1 | grep protocols and it returned protocols : [”OpenFlow13”]

edit retag flag offensive close merge delete


I have basically the same setup and I'm having the exact same problem. Has anyone found a solution to this? What are we missing?

jpete2477 ( 2015-04-09 15:12:18 -0700 )edit

Are you instructing the controller to work with Openflow13 using the flag -of13 when starting the controller ?

Nuno ( 2015-07-02 17:07:20 -0700 )edit

Hi , Were you able to figure out the answer for this problem. Kindly share the same it could help others, Thanks

rags1357 ( 2016-06-01 11:55:55 -0700 )edit

3 answers

Sort by » oldest newest most voted

answered 2015-03-14 17:38:42 -0700

pm.preetam gravatar image

$sudo mn --switch=ovsk,protocols=Openflow13 --controller=remote,ip= The above creates the topology without any error but pingall doesn't work!

edit flag offensive delete publish link more

answered 2015-07-02 10:22:05 -0700

Edu gravatar image

Hi! when do you say that with this API ( ) you are able to install the flows, are you also using helium release? or hidrogen in this case?

Thank you very much.

edit flag offensive delete publish link more


HI, It was helium release..

pm.preetam ( 2015-07-04 11:43:56 -0700 )edit

Thanks! and which bundles have you installed?

Edu ( 2015-07-05 05:51:11 -0700 )edit

Hi, how to install flow from that url in opendaylight lithium and helium?

ryandahp ( 2015-11-12 17:12:24 -0700 )edit

answered 2015-07-03 09:51:14 -0700

jpete2477 gravatar image

updated 2015-07-03 09:52:22 -0700

It appears that the missing link here is how ODL interacts with MiniNet. In order to get things to communicate properly you have to install the right modules in ODL. Using this line in Karaf solved my problem of not being able to "create" flows in MiniNet.

feature:install odl-base-all odl-aaa-authn odl-restconf odl-adsal-northbound odl-mdsal-apidocs odl-l2switch-switch odl-dlux-all odl-openflowplugin-all

I stumbled upon this answer here:

Hope that helps.

edit flag offensive delete publish link more


Thank you. I will try that :)

pm.preetam ( 2015-07-04 11:44:39 -0700 )edit

the above group of features could be boiled down (or up, I guess) to just be "odl-l2switch-switch-ui". that will in turn install all of it's dependencies which will include the authn, openflow, etc.

jamoluhrsen ( 2015-07-06 16:27:06 -0700 )edit

odl-l2switch-switch-ui doesn't seem to be installing all the required bundles for dlux . I have a similar issue , opened a thread here

joshua.jeyaraj ( 2015-07-15 00:59:49 -0700 )edit
Login/Signup to Answer

Question Tools



Asked: 2015-03-13 23:51:43 -0700

Seen: 4,117 times

Last updated: Jul 03 '15