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

0

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

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

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
0

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

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

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

Comments

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 -0800 )edit

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

mann8352 ( 2016-07-04 12:21:43 -0800 )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 -0800 )edit

Thanks @subhash.

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

You are welcome.

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

Question Tools

Follow
1 follower

Stats

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

Seen: 193 times

Last updated: Jul 04 '16