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


Create flow to remove (override) forwarding rules

asked 2015-06-09 11:26:08 -0700

jpete2477 gravatar image

updated 2015-06-11 11:34:11 -0700

I'm new to this but I seem to be having an unusually difficult time figuring out how to create a flow to drop all traffic. I recently migrated from Hydrogen to Helium and I'm trying to get the same functionality that I have in Hydrogen to also happen in Helium. I'm using the MD-SAL northbound api to create the flow. It will show up in the config data store but does not show up in the operational data store and does not block the traffic.

Here's the url I'm posting (put) to:


And here's the json I'm providing:


I get a 200 response code for the request.

A get to:


Gives me this json:


A get to:


returns a 404 response code.

I'll admit I don't fully grasp the difference between config and operational and why the flow doesn't have any affect. (It also doesn't show up in mininet where I'm doing all this.)

Thanks in advance for any help or nods in the right direction.

edit retag flag offensive close merge delete


hi, i want do the same drop packet rule with yours, have you able to add that rule via opendaylight helium? may i know that? thank you

ryandahp ( 2015-11-12 18:17:01 -0700 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2015-07-09 08:50:16 -0700

jpete2477 gravatar image

updated 2015-07-09 08:50:46 -0700

As a follow up to this - the problem wasn't with any of the requests that I was making. They actually worked. The problem was with the fact that ODL wasn't talking to MiniNet correctly. Installing the correct set of features allowed ODL to talk to MiniNet correctly and everything started working.

# feature:install odl-l2switch-switch-ui

Thanks to jamoluhrsen for the info on this one

edit flag offensive delete publish link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2015-06-09 11:26:08 -0700

Seen: 1,190 times

Last updated: Jul 09 '15