The Python and C bindings are documented in the source tree. If you want to develop your own bindings, the protocol is documented in ovsdb/SPECS.
On Sat, May 12, 2012 at 01:03:43AM +0800, bengo cloud wrote: > Thanks, Ben. Actually what I want to do, is not using cmd ovs-vsctl, but > develop a small app, to control remote ovs, base on the management protocol > that ovs-vsctl uses. Is that achievable? Any doc about it? Thanks very much. > 在 2012-5-12 半夜12:30,"Ben Pfaff" <[email protected]>写道: > > > On Sat, May 12, 2012 at 12:01:39AM +0800, bengo cloud wrote: > > > As doc README said, ovs supports > > > > > > * Transactional configuration database with C and Python bindings > > > > > > Is there any docs about how to develop my own app to control ovs > > remotely? > > > Make the app work as "ovs-vsctl --db=tcp:ip:port ...". Thanks very much. > > > > All you have to make that work is set up a manager to listen on a TCP > > port, for example on the system running ovsdb-server: > > ovs-vsctl set-manager ptcp: > > and then on the remote system: > > ovs-vsctl --db=tcp:1.2.3.4 add-port br0 vif1.0 > > where 1.2.3.4 is the correct IP address and you can use any vsctl > > command you like. > > _______________________________________________ discuss mailing list [email protected] http://openvswitch.org/mailman/listinfo/discuss
