[ovs-discuss] ovn api for not python language

Ryan Moats rmoats at us.ibm.com
Fri Aug 12 14:43:16 UTC 2016



vase at selfip.ru wrote on 08/12/2016 08:52:20 AM:

> From: Vasiliy Tolstov <v.tolstov at selfip.ru>
> To: Ryan Moats/Omaha/IBM at IBMUS
> Cc: discuss <discuss at openvswitch.org>
> Date: 08/12/2016 08:52 AM
> Subject: Re: [ovs-discuss] ovn api for not python language
> Sent by: vase at selfip.ru
>
> 2016-08-12 16:39 GMT+03:00 Ryan Moats <rmoats at us.ibm.com>:
> > ssuming that you are looking to drive ovn configuration from
> > something written in golang, I think the main thing you'll need is
> > an ovsdb client binding written in golang. A quick look on github
> > pulls up https://github.com/socketplane/libovsdb - you might want
> > to start there...
>
>
> Thanks, this is helpful. But i need to know, for example - if i want
> to interconnect two nodes via stt tunnel what info i need to insert to
> ovsdb ?

You need to insert into the local ovs instance on each node the information
that is covered in ovn/controller/ovn-controller.8.xml starting at L73...
(this includes chassis name, hostname, integration bridge, OVN DB location,
probe interval, encap type, encap ip and bridge mappings).  When
ovn-controller starts up, it reads this information and inserts it into
the appropriate locations in the chassis and encap tables of the
OVN southbound DB.

Ryan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20160812/e6d74b91/attachment-0002.html>


More information about the discuss mailing list