On Fri, Nov 09, 2018 at 12:27:40PM +0200, Boris Ouretskey wrote:
> Hi
> 
> What would be the preferred API for controlling open switch bridges from
> c++ user space application. (both Windows and Linux version of ovs should
> be supported). the controller should run on both windows and linux also.
> 
> 1. reverse engineering ovs-vsctl (or test controller) and use the same API
> it does.
> 
> 2. use some open-source c++ openflow stack (if exists)
> 
> 3. just run System("ovs-vsctl ...") from the application
> 
> The application mostly opens and configures the ports. Controlling the
> openflow tables is of less priority.

I don't know why you'd have to reverse-engineer things.  The OVSDB
protocol and the database schema are fully documented.

If you want to control the database, then ovs-vsctl is the easy way if
your needs are simple, otherwise you'd probably be better off with a
database interface.  An OpenFlow stack isn't going to help for database
access.
_______________________________________________
discuss mailing list
disc...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss

Reply via email to