Comment 11 for bug 1572473

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/19561
Committed: http://github.org/Juniper/contrail-controller/commit/339a217b0c3223705844f518983d14d012724e9d
Submitter: Zuul
Branch: R2.22.x

commit 339a217b0c3223705844f518983d14d012724e9d
Author: ashoksingh <email address hidden>
Date: Fri Apr 22 15:10:12 2016 +0530

Use adaptive diff stats while exporting flows

Problem
———----
When a flow export message is dropped, the diff bytes/packets
computed for that flow is not retained. Next time when is flow
is being exported the new diff bytes/packets computed will be
since the last time it was attempted to be sent. This will
result in incorrect diff bytes/packets being exported for flows

Fix
--—
When a flow sample is dropped retain the diff bytes/packets for
this flow. Next time when this flow is being exported the diff
bytes/packets computed will include the previous diff bytes/packets
retained for that flow.

Also replace the count "flow-export-msg-drops" with the following
--drops due to disable of flow-export
--drops because of subjecting flows to flow-sampling

Change-Id: I2fd6b45cc7d5ef472594aac3494509f9bbf14396
Closes-Bug: #1572473