[ovs-dev] Help for java (bindings?) development

Ben Pfaff blp at nicira.com
Mon Mar 17 22:34:32 UTC 2014


On Sat, Mar 08, 2014 at 01:09:05PM +0100, Pasquale Dir wrote:
> I'd need to create some java apis who would allow to interact with
> openvswitch, creating bridges, adding ports, creating gre tunnels...in
> short: the exact same thing ovs-vsctl does.
> 
> As c code seems fairly complex I write here to ask your help.
> I have two ideas:
> 1)Make some java bindings using jna. This would require a .so version of
> ovs-vsctl..if making it is not complicated it would be the fastest option,
> but I would need some help in order to create it (or, if some good guy
> wants to compile it for me I would really appreciate it).
> 2)From what I understood ovs-vsctl just interacts with the db using json,
> so I could create my own library. But I don't know on which port db waits,
> if some authentication is needed, how tables are made, what syntax use,
> ecc. So in this case I would need some reference.

I think that OpenDaylight has Java bindings for OVSDB.  Have you
looked for them?



More information about the dev mailing list