[ovs-dev] Query: Getting session state with the server from my-ovsdb-client code

Ben Pfaff blp at ovn.org
Wed Aug 30 04:41:30 UTC 2017


On Wed, Aug 30, 2017 at 08:03:39AM +0530, Arunkumar Rg wrote:
> I'm using ovsdb_idl in my-ovsdb-client code. In my clide code, when I
> create the idl using ovsdb_idl_create(), I set the 'retry' argument has
> true, so that if the connection to server gets closed, it does a retry.
> 
> Now from my client code, I wanted to know the session state with the
> server. Is there any API or any other way to do it??
> 
> I need this because whenever the connection to server flaps, I wanted to
> take some action.

Usually that's not too useful, because the data in the IDL is stable
across connection flaps.  Can you explain your higher-level goal?


More information about the dev mailing list