[ovs-dev] IPFIX patches for per-bridge and per-flow statistical sampling

Romain Lenglet rlenglet at vmware.com
Tue Mar 26 01:33:01 UTC 2013


Hi Ben, Jesse,

Here is an updated series of patches for adding IPFIX support.
Following your comments on my previous series of patches, I made the
following changes:

- Renamed the OpenFlow sampling action into "sample".

- Extended the OpenFlow action to include the observation domain ID
  and observation point ID, the sampling probability, and an ID of the
  set of collectors to send IPFIX packets to.

- Added a root "FlowSampleCollectorSet" table into OVSDB to associate
  a list of IPFIX collector addresses with a unique ID (to be used in
  sample actions).  This table currently only refers to the "IPFIX"
  table, but could be extended to also refer to the "sFlow" table if
  anyone requests it, to have both IPFIX and sFlow per-flow
  statistical sampling.

- Added a "sampling" column into the "IPFIX" table, with the same
  meaning as the "sampling" column in the "sFlow" table: if a Bridge
  is linked to a row with a non-zero "sampling" value, all packets on
  all ports of a bridge are sampled with that probability.

With those changes, those patches add support for both per-bridge and
per-flow statistical sampling to IPFIX collectors, and the possibility
to add support for per-flow sampling to sFlow collectors later, as
requested by Jesse.

Thanks!
Regards,
--
Romain Lenglet




More information about the dev mailing list