[ovs-dev] OVSDB client library for C?

Duane Butler Duane.Butler at calix.com
Tue Apr 9 18:21:21 UTC 2019


Thank you.

-----Original Message-----
From: Ben Pfaff <blp at ovn.org> 
Sent: Tuesday, April 09, 2019 11:32 AM
To: Duane Butler <Duane.Butler at calix.com>
Cc: ovs-dev at openvswitch.org
Subject: Re: [ovs-dev] OVSDB client library for C?

On Mon, Apr 08, 2019 at 09:01:22PM +0000, Duane Butler wrote:
> Hello,
> 
> I am interested in using OVSDB as a general purpose database (not necessarily with openvswitch), and would like to develop my own client to talk to ovsdb-server.
> 
> The OvS website (http://docs.openvswitch.org/en/latest/ref/ovsdb.7/) makes this statement:
> 
> The OVSDB protocol specification allows independent, interoperable implementations of OVSDB to be developed. Open vSwitch includes an OVSDB server implementation named ovsdb-server(1), which supports several protocol extensions documented in its manpage, and a basic command-line OVSDB client named ovsdb-client(1), as well as OVSDB client libraries for C and for Python.
> 
> I am not able to find such a client library for C.
> 
> Any pointers to such a library, or corrections to my misunderstanding would be appreciated.

It's lib/ovsdb-idl.[ch] in the OVS tree.

It's not separated from the rest of OVS, so it's probably hard to use externally.


More information about the dev mailing list