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


Packets sent to ODL but flows not installed on switch

asked 2016-01-28 08:46:01 -0700

headamage gravatar image

Hi everyone,

I am trying to understand how packets can be sent to the controller in order to let the controller determine which flow should be installed on the switch. I set up a generic flow that sends any IP packets to the Controller. I can see this installed on the switch and it measures the bytes of packets arriving to it. So i can only assume this part works.

On the controller I have set up a flow that will forward packets normally if they belong to subnet This flow is not installed on the switch. The problem is that when packets are sent to ODL from the switch, ODL does not forward this flow automatically to the switch.

How can I make it so that this flow is dynamically added to the switch when needed and times out when not used?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2016-02-02 08:18:31 -0700

Nuno gravatar image

Try to install the flow and set the soft timeout to like 1 or 2 minutes and the hard timeout to 5 minutes maybe. The soft one expires if no packet fits that flow for the period you have specified. The hard timeout eliminates it after the time you specified even if the flow is matched. Hope this can fit your needs.

Regards, Nuno B.

edit flag offensive delete publish link more


Thanks but i'm not sure if that solves my problem. I want the controller to find and push flows to the switch after the switch has sent the packet to the controller via the "CONTROLLER" output.

headamage ( 2016-02-02 08:21:25 -0700 )edit

It understand. I've never tested it the way you want it, so I can't help you in this matter.

Nuno ( 2016-02-02 08:28:23 -0700 )edit
Login/Signup to Answer

Question Tools

1 follower


Asked: 2016-01-28 08:46:01 -0700

Seen: 111 times

Last updated: Feb 02 '16