[ovs-discuss] Some doubts regarding OVS-1.2.2

Ben Pfaff blp at nicira.com
Fri Feb 3 18:00:37 UTC 2012

On Fri, Feb 03, 2012 at 11:26:26PM +0530, Ramana Reddy wrote:
> 1. How to add a given user flow in the datapath (the dpif_flow_put function
> adds flow in the datapath, but it takes
>     lot of parameters, and the caller should fill all these parameters). I
> need a simpler one.

I don't see how it can be significantly simplified.  The dpif, key,
and actions are definitely necessary.  'flags' is trivial.  'stats' is
allowed to be NULL.

> 2. What is the relation among facet ( An exact-match instantiation of an
> OpenFlow flow ),
>     rule ( An OpenFlow flow) and datapath.

A rule has zero or more facets.  A facet is installed in a datapath.

More information about the discuss mailing list