[ovs-dev] [Single DP 12/15] ovs-dpctl: Make specifying datapath optional for some commands.

Ben Pfaff blp at nicira.com
Mon Oct 22 23:24:27 UTC 2012


On Thu, Oct 18, 2012 at 12:51:57PM -0700, Justin Pettit wrote:
> A future commit will make all bridges use a single backing datapath.
> This commit makes the "dp" argument for "dump-flows" and "del-flows"
> optional, since there will typically only be one actual datapath.
> 
> Signed-off-by: Justin Pettit <jpettit at nicira.com>

This looks good.

One possible cleanup is that we now have a number (three?) of sites
that want a list of all dps in all types.  A function to generate an
sset or sorted svec of these could reduce code duplication slightly.
But it's not at all important.



More information about the dev mailing list