[ovs-git] Open vSwitch: Change sFlow model to reflect per-bridge sampling (master)

dev at openvswitch.org dev at openvswitch.org
Thu May 2 19:37:54 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, master has been updated
       via  743cea45434a5a3c6560a73f29632c6352874c61 (commit)
      from  17ec1d04252bad77e816ecddd09bbb6db30b3575 (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 743cea45434a5a3c6560a73f29632c6352874c61
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=743cea45434a5a3c6560a73f29632c6352874c61
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 -
 tests/ofproto-dpif.at        |   48 ++++++++++++------------
 5 files changed, 75 insertions(+), 67 deletions(-)


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list