[ovs-dev] [PATCH] ovs-vsctl: Clarify br-exists usage.

Ben Pfaff blp at nicira.com
Tue Mar 13 16:14:38 UTC 2012


On Mon, Mar 12, 2012 at 03:50:21PM -0700, Ethan Jackson wrote:
>    list-br                     print the names of all the bridges\n\
> -  br-exists BRIDGE            test whether BRIDGE exists\n\
> +  br-exists BRIDGE            exit 0 if BRIDGE exists\n\
>    br-to-vlan BRIDGE           print the VLAN which BRIDGE is on\n\

This implies (to my mind) that if the bridge exists then further
commands won't be executed.  I might phrase it differently: "exit 2 if
BRIDGE does not exist".  What do you think?



More information about the dev mailing list