ofproto: Use active time for Flow Expiration duration (OpenFlow 0.9)
authorJustin Pettit <jpettit@nicira.com>
Fri, 13 Nov 2009 00:52:17 +0000 (16:52 -0800)
committerJustin Pettit <jpettit@nicira.com>
Sat, 23 Jan 2010 02:08:04 +0000 (18:08 -0800)
commit70e7beba72bdc725cab33ba84f2052588e91f8df
tree887826c40704e6d360e0b979364558b1c1325a06
parent4208b57394af59625797cbe9d5e48d221a64cd1a
ofproto: Use active time for Flow Expiration duration (OpenFlow 0.9)

In pre-0.9 versions of OpenFlow, the duration field in the flow
expiration message was the amount of time that the flow was in a table.
If a long idle timeout was set, it could be difficult to determine how
long the flow was actually active.  In OpenFlow 0.9, this was changed to
only be the length of time that the flow was active.

NOTE: OVS at this point is not wire-compatible with OpenFlow 0.9 until the
final commit in this OpenFlow 0.9 set.
ofproto/ofproto.c