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


Use of priority, order, idle timeout and hard timeout in ODL flow?

asked 2016-07-03 18:48:06 -0700

mann8352 gravatar image

I want to know the meaning/use of priority, idle-timeout, order, hard-timeout while adding a flow into ODL. What do all these terms signify? Also what is the order of priority? Is the priority of zero(0) highest?

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted

answered 2016-07-04 11:58:51 -0700

updated 2016-07-04 11:59:47 -0700

Following are the text from OpenFlow specification v1.3.4

Priority :

A flow table entry is identified by its match fields and priority: the match fields and priority taken together identify a unique flow entry in a specific flow table. The flow entry that wildcards all fields (all fields omitted) and has priority equal to 0 is called the table-miss flow entry (least priority).

Idle Timeout:

If the idletimeout field is non-zero, the switch must note the arrival time of the last packet associated with the flow, as it may need to evict the entry later. A non-zero idletimeout field causes the flow entry to be removed when it has matched no packets in the given number of seconds.

Hard Timeout:

If the hardtimeout field is non-zero, the switch must note the flow entry’s arrival time, as it may need to evict the entry later. A non-zero hardtimeout field causes the flow entry to be removed after the given number of seconds, regardless of how many packets it has matched

edit flag offensive delete publish link more


Thanks a lot @subhash for your answer. What happens if idle-timeout and hard-timeout are set to zero? Also can you please tell me the significance of order field?

mann8352 ( 2016-07-04 12:04:57 -0700 )edit

I got the answer for timeouts. Will you please tell me about the order?

mann8352 ( 2016-07-04 12:21:43 -0700 )edit

if hard and idle timeout are zero then flow will remain for indefinite time. Order signifies which action/instruction to be applied first.

subhash ( 2016-07-04 23:36:12 -0700 )edit

Thanks @subhash.

mann8352 ( 2016-07-19 07:17:55 -0700 )edit

You are welcome.

subhash ( 2016-07-19 11:11:29 -0700 )edit
Login/Signup to Answer

Question Tools

1 follower


Asked: 2016-07-03 18:48:06 -0700

Seen: 543 times

Last updated: Jul 04 '16