[ovs-git] Open vSwitch: Change sFlow model to reflect per-bridge sampling (branch-1.10)
dev at openvswitch.org
dev at openvswitch.org
Fri May 3 20:28:28 UTC 2013
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Open vSwitch".
The branch, branch-1.10 has been updated
via df5256dd98fe880a7773eb485ac441188c58b9a3 (commit)
from 8ac6e0e15dafd1b41001fdc52ea00cc42906d5a9 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit df5256dd98fe880a7773eb485ac441188c58b9a3
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=df5256dd98fe880a7773eb485ac441188c58b9a3
Author: Neil Mckee <neil.mckee at inmon.com>
Change sFlow model to reflect per-bridge sampling
Until now, we were presenting a separate sFlow data-source (sampler) for
each ifIndex-interface. This caused problems with samples that did not
easily map to an ifIndex being aliased together and breaking the sFlow
containment rules. This patch changes the model to present a single sFlow
data-source for each bridge. Now we can still make all reasonable effort
to map packet samples to ingress/egress ifIndex numbers, knowing that the
fallback to "unknown" does not break the sFlow model. Note that
interface-counter-polling is still handled the same way as before, with
sFlow counter-polling data only being exported for ifIndex-interfaces.
Signed-off-by: Neil Mckee <neil.mckee at inmon.com>
Signed-off-by: Ben Pfaff <blp at nicira.com>
-----------------------------------------------------------------------
Summary of changes:
lib/sflow.h | 7 ++++
ofproto/ofproto-dpif-sflow.c | 80 ++++++++++++++++++++---------------------
ofproto/ofproto-dpif.c | 6 +++-
ofproto/tunnel.c | 1 -
4 files changed, 51 insertions(+), 43 deletions(-)
hooks/post-receive
--
Open vSwitch
More information about the git
mailing list