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

dev at openvswitch.org dev at openvswitch.org
Thu May 2 19:38:16 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.11 has been updated
       via  d718bb974ba483765fe3c348a943c69fb1aff5bb (commit)
      from  f402f1f4088069c5421bb83dc1f52853e30584b8 (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 d718bb974ba483765fe3c348a943c69fb1aff5bb
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=d718bb974ba483765fe3c348a943c69fb1aff5bb
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(-)

Open vSwitch

More information about the git mailing list