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


http error 404 can't enter dlux, how to add flows

asked 2016-03-09 04:46:22 -0800

dczeratz gravatar image

updated 2016-03-09 05:53:12 -0800


I'm facing a problem with dlux. I started karaf and added some features: $ feature:install odl-restconf $ feature:install odl-l2switch-switch $ feature:install odl-mdsal-apidocs $ feature:install odl-adsal-all $ feature:install odl-adsal-northbound $ feature:install odl-dlux-core

I had some trouble in first place because I'm behind a proxy, but I was able to solve that.

So, ODL-Controller is up and running (able to ping my hosts in mininet), but I can't enter dlux. http://localhost:8181/index.html throws me: "HTTP ERROR: 404 Problem accessing /index.html. Reason: Not Found Powered by Jetty://"

My intention is to add some flows to my switches to perform traffic engineering. Is there another way to do so? I tried Postman but that doesn't work for me.

Unfortunately, the priviously asked questions do not help me.

Edit: I also tried to add a flow with curl command like this (found here: ) : curl -u admin:admin -H 'Content-type: application/json' -X PUT -d '{"installInHw":"true", "name":"flow1", "node": {"id":"00:00:00:00:00:00:00:02", "type":"OF"}, "ingressPort":"2", "etherType": "0x800", "protocol": "6", "tpDst": "80", "priority":"65535","actions":["DROP"]}' 'http://localhost:8181/controller/nb/v2/flowprogrammer/default/node/OF/00:00:00:00:00:00:00:02/staticFlow/flow1' but terminal's output is " Error 404 Not Found


Problem accessing /controller/nb/v2/flowprogrammer/default/node/OF/00:00:00:00:00:00:00:02/staticFlow/flow1. Reason:

    Not Found

Powered by Jetty://"

Now I'm even more confused, sounds to me like it might be the same problem as it is with dlux...

edit retag flag offensive close merge delete

2 answers

Sort by » oldest newest most voted

answered 2016-03-09 05:46:05 -0800

DeJuan gravatar image

updated 2016-03-09 05:46:34 -0800

You could use ovs-ofctl to directly install flows onto the switches. Say your target switch is s1, and you're using OpenFlow 1.3. Then you can execute:

sudo ovs-ofctl -O OpenFlow13 add-flow s1 [match conditions] [action conditions].

Please see for a more complete listing of syntax needed and all the relevant options that can be used. If this helps you, please accept this answer.

edit flag offensive delete publish link more


Thanks for your response. I know that method. I worked that way in my first attempt to see if my idea could possibly work, which it did. Now I'm looking for a more "centralized" way to add flows, that includes the controller.

dczeratz ( 2016-03-09 06:01:38 -0800 )edit

answered 2016-03-10 07:07:46 -0800

dczeratz gravatar image

Ok. I changed from Lithium to Beryllium, et voilà ! Everything's up and working AND I can access DLUX :)

Adding flows seems to be ok, it's a bit confusing. There is only one small problem left: The submitted action is always "drop" although my instruction is an output_port. I guess I'm just missing to set or unset something....

edit flag offensive delete publish link more


Hi, I am using Beryllium as well with the network created using Mininet and linked to the controller. Could you please guide me how to add flows using Dlux , its a bit confusing for a starter. Would appreciate your help Thanks, Raghu

rags1357 ( 2016-06-01 09:48:22 -0800 )edit
Login/Signup to Answer


Asked: 2016-03-09 04:46:22 -0800

Seen: 1,140 times

Last updated: Mar 10 '16