<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Sep 20, 2019 at 7:58 AM kai xi fan &lt;<a href="mailto:kaixi.f@gmail.com">kaixi.f@gmail.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div style="font-family:verdana,sans-serif;font-size:small">OpenVswitch implements ovsdb and defines its database schema. I have read related rfc.</div><div style="font-family:verdana,sans-serif;font-size:small">Now I am wondering how to generate object definitions based on the schema. </div><div style="font-family:verdana,sans-serif;font-size:small">For example if I want to write a golang manager to interact with ovs through ovsdb, I need to map jrpc reply into golang objects.</div><div style="font-family:verdana,sans-serif;font-size:small">How to do this ?</div><div style="font-family:verdana,sans-serif;font-size:small">thanks.</div></div></blockquote><div><br></div><div>There are few gobindings for ovsdb available. Probably you can check them out.</div><div><br></div><div>Few of them which I am aware of</div><div>  - <a href="https://github.com/eBay/go-ovn">https://github.com/eBay/go-ovn</a></div><div>  - <a href="https://github.com/socketplane/libovsdb">https://github.com/socketplane/libovsdb</a></div><div>  - <a href="https://github.com/digitalocean/go-openvswitch">https://github.com/digitalocean/go-openvswitch</a></div><div><br></div><div>Thanks</div><div>Numan</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div style="font-family:verdana,sans-serif;font-size:small"><br></div></div>
_______________________________________________<br>
discuss mailing list<br>
<a href="mailto:discuss@openvswitch.org" target="_blank">discuss@openvswitch.org</a><br>
<a href="https://mail.openvswitch.org/mailman/listinfo/ovs-discuss" rel="noreferrer" target="_blank">https://mail.openvswitch.org/mailman/listinfo/ovs-discuss</a><br>
</blockquote></div></div>