diff options
author | Romain Lenglet <rlenglet@vmware.com> | 2013-08-21 13:49:04 -0700 |
---|---|---|
committer | Ben Pfaff <blp@nicira.com> | 2013-08-22 09:29:39 -0700 |
commit | 978427a5ca201c6e320bf9c1e6be3a92c0ecbed9 (patch) | |
tree | 25a83a5eff14f62d4bb9d6a3fae94088dcf1d3fd /ofproto/ofproto.h | |
parent | 4be17953d79c73db8efdcefb81d14cb5e1a3afa8 (diff) |
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>
Diffstat (limited to 'ofproto/ofproto.h')
-rw-r--r-- | ofproto/ofproto.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ofproto/ofproto.h b/ofproto/ofproto.h index 516bbad5..9adda2cc 100644 --- a/ofproto/ofproto.h +++ b/ofproto/ofproto.h @@ -76,11 +76,15 @@ struct ofproto_ipfix_bridge_exporter_options { uint32_t sampling_rate; uint32_t obs_domain_id; /* Bridge-wide Observation Domain ID. */ uint32_t obs_point_id; /* Bridge-wide Observation Point ID. */ + uint32_t cache_active_timeout; + uint32_t cache_max_flows; }; struct ofproto_ipfix_flow_exporter_options { uint32_t collector_set_id; struct sset targets; + uint32_t cache_active_timeout; + uint32_t cache_max_flows; }; struct ofproto_stp_settings { |