On Fri, May 11, 2012 at 5:51 PM, Kyriakos Zarifis <[email protected]> wrote:
> In order to make the switch proactively send stats when a flow is expired,
> you'd need to change code on the switch. Even then, the controller would get
> an unsolicited stats_reply message and probably get confused.

OpenFlow 1.0 already supports this if you ask for a flow removed
message (section 5.4.2).  The 'reason' field will indicate timeout
versus deletion, and packet_count and byte_count will be set as they
would on a stats message.

--
Nick

Reply via email to