[ovs-dev] [PATCH 1/2] ovs-vsctl: Add "--only-real" option to "list-br".

Justin Pettit jpettit at nicira.com
Sat Dec 1 18:08:34 UTC 2012


On Dec 1, 2012, at 10:00 AM, Ben Pfaff <blp at nicira.com> wrote:

> On Fri, Nov 30, 2012 at 07:03:17PM -0800, Justin Pettit wrote:
>> By default, "ovs-vsctl list-br" returns all bridges, real or fake.  This
>> commit adds a "--only-real" option that limits the output to only real
>> bridges.  This will be useful in a future commit that needs to perform
>> actions only on real bridges.
>> 
>> Signed-off-by: Justin Pettit <jpettit at nicira.com>
> 
> Do you think it would be worth generalizing this into two options,
> --real and --fake?  With neither option, or with both options, all
> bridges would be included, otherwise only the requested ones would be.

I originally did something similar, but I wasn't sure how useful listing fake bridges was.  I guess I could come up with use-cases.  I'll respin the patch.

--Justin





More information about the dev mailing list