On Thu, Aug 11, 2016 at 09:18:16AM -0700, Justin Pettit wrote:
>
> > On Aug 11, 2016, at 6:08 AM, Taekho Nam <[email protected]> wrote:
> >
> > Dear All,
> >
> > Hi, I'm a student from Korea.
> > I'm implementing a simple application using Open vSwich.
> > So, I need a command to delete all bridges at one time.
> >
> > If you know how to do it, Please let me know it.
>
> You could pretty easily do it with a shell script running "ovs-vsctl list-br"
> and "ovs-vsctl del-br". I suppose you could run a lower-level command like
> "ovs-vsctl clear" to do it in one shot.
utilities/ovs-ctl.in uses:
for bridge in `ovs_vsctl list-br`; do
ovs_vsctl del-br $bridge
done
_______________________________________________
discuss mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/discuss