Re: [ovs-dev] [PATCH] ovs-vsctl: reconnect to the database if connection was dropped

2014-02-19 Thread Ansis Atteka
Thanks for review. I pushed this to branches where issue was observed - master and 2.1. On Wed, Feb 19, 2014 at 10:22 AM, Ben Pfaff wrote: > On Tue, Feb 18, 2014 at 02:34:58PM -0800, Ansis Atteka wrote: >> If ovs-vsctl has to wait for ovs-vswitchd to reconfigure itself >> according to the new dat

Re: [ovs-dev] [PATCH] ovs-vsctl: reconnect to the database if connection was dropped

2014-02-19 Thread Ben Pfaff
On Tue, Feb 18, 2014 at 02:34:58PM -0800, Ansis Atteka wrote: > If ovs-vsctl has to wait for ovs-vswitchd to reconfigure itself > according to the new database, then sometimes ovs-vsctl could > end up stuck in the event loop if OVSDB connection was dropped > while ovs-vsctl was still running. > >

[ovs-dev] [PATCH] ovs-vsctl: reconnect to the database if connection was dropped

2014-02-18 Thread Ansis Atteka
If ovs-vsctl has to wait for ovs-vswitchd to reconfigure itself according to the new database, then sometimes ovs-vsctl could end up stuck in the event loop if OVSDB connection was dropped while ovs-vsctl was still running. This patch fixes this problem by letting ovs-vsctl to reconnect to the OVS