ipfix: implement flow caching and aggregation in exporter
authorRomain Lenglet <rlenglet@vmware.com>
Wed, 21 Aug 2013 20:49:04 +0000 (13:49 -0700)
committerBen Pfaff <blp@nicira.com>
Thu, 22 Aug 2013 16:29:39 +0000 (09:29 -0700)
commit978427a5ca201c6e320bf9c1e6be3a92c0ecbed9
tree25a83a5eff14f62d4bb9d6a3fae94088dcf1d3fd
parent4be17953d79c73db8efdcefb81d14cb5e1a3afa8
ipfix: implement flow caching and aggregation in exporter

Implement a per-exporter flow cache with active timeout expiration.
Add columns "cache_active_timeout" and "cache_max_flows" into table
"IPFIX" to configure each cache.

Add per-flow elements "octetDeltaSumOfSquares",
"minimumIpTotalLength", and "maximumIpTotalLength" to replace
"ethernetTotalLength".  Add per-flow element "flowEndReason" to
indicate whether a flow has expired because of an active timeout, the
cache size limit being reached, or the exporter being stopped.

Signed-off-by: Romain Lenglet <rlenglet@vmware.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
NEWS
ofproto/ofproto-dpif-ipfix.c
ofproto/ofproto-dpif-ipfix.h
ofproto/ofproto-dpif.c
ofproto/ofproto.h
utilities/ovs-vsctl.8.in
vswitchd/bridge.c
vswitchd/vswitch.ovsschema
vswitchd/vswitch.xml