On 11/01/12 at 11:01am, Ben Pfaff wrote: > On Thu, Nov 1, 2012 at 10:47 AM, Thomas Graf <tg...@suug.ch> wrote: > > I was considering to add a notification bus allowing for ovs-vsctl > > to sleep and wait for a success or error notification and thus block > > until the operation has been carried out by vswitchd or a timeout is > > reached. It would be more flexible but also more intrusive and > > complex. I doubt that adding ports is the only operation that is > > affected by the above usability defect, right? > > There is already means to wait until the operation is complete, > and ovs-vsctl already uses that mechanism by default. You have > to use "--no-wait" to disable it. You can already enable a timeout > with "--timeout".
Oh OK, I misunderstood this to only wait for the changes to be written to the DB and not wait for the vswitchd reload. Looking at the code it is obvious. I'll give your proposal a shot. _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev