1.Do gradual reduction of flow-threshold when flow-export-rate has come
down after reaching a high value (instead of resetting it to default threshold)
2.Do not disable sampling of flows when flow-export-rate drops to below 80% of
configured rate after reaching high values
3.Define a minimum threshold value 20
4.Define a tracebuffer to log flow-export-rates and thresholds
Also removed unused variable in FlowStatsCollector object.
Reviewed: https:/ /review. opencontrail. org/23210 github. org/Juniper/ contrail- controller/ commit/ fb9fa3f05797925 18d76dbf24dd7ae b9bdfdc208
Committed: http://
Submitter: Zuul
Branch: master
commit fb9fa3f05797925 18d76dbf24dd7ae b9bdfdc208
Author: Ashok Singh <email address hidden>
Date: Thu Aug 11 04:58:38 2016 -0700
Flow Sampling changes
1.Do gradual reduction of flow-threshold when flow-export-rate has come
down after reaching a high value (instead of resetting it to default threshold)
2.Do not disable sampling of flows when flow-export-rate drops to below 80% of
configured rate after reaching high values
3.Define a minimum threshold value 20
4.Define a tracebuffer to log flow-export-rates and thresholds
Also removed unused variable in FlowStatsCollector object.
Change-Id: I74e7baa84f2792 bc451804fda350a 75f817d1f6e
Partial-Bug: #1586246