[ovs-discuss] Doc about developing app to control ovs remotely

bengo cloud cloudbengo at gmail.com
Fri May 11 17:03:43 UTC 2012


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: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.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20120512/07a09678/attachment-0001.html>


More information about the discuss mailing list