Comment 10 for bug 1572473

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

Reviewed: https://review.opencontrail.org/19520
Committed: http://github.org/Juniper/contrail-controller/commit/5f3024d81cf6d902f5af4eba4b719d4565334411
Submitter: Zuul
Branch: R3.0

commit 5f3024d81cf6d902f5af4eba4b719d4565334411
Author: ashoksingh <email address hidden>
Date: Thu Apr 21 12:23:35 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: I191b22c0a1b072338b8ca3e7708e5bc9e8faf031
Closes-Bug: #1572473