[ovs-discuss] Doc about developing app to control ovs remotely
blp at nicira.com
Fri May 11 10:07:47 PDT 2012
The Python and C bindings are documented in the source tree. If you
want to develop your own bindings, the protocol is documented in
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" <blp at nicira.com>写道：
> > 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:188.8.131.52 add-port br0 vif1.0
> > where 184.108.40.206 is the correct IP address and you can use any vsctl
> > command you like.
More information about the discuss