ovsdb: connect to a remote node with SSL

asked 2015-09-29 06:31:59 -0800

miguelph gravatar image

Hi all,

I've been looking for a way to connect my ODL to a remote node using SSL. What I'd like to do is something like:

ovs-vsctl --db=ssl:${remote-ip}:${remote-port} --private-key=ctl-privkey.pem --certificate=ctl-cert.pem --ca-cert=cacert.pem add-port ovs vtep

... but with ODL, of course.

I've been diving in the ovsdb-southbound source code and it looks like it's still not prepared for connecting with SSL or, better said, I still haven't found how.

I see that there is this class in the ovsdb-library ObsdbConnectionService.java that offers this connectWithSsl method but it looks like it is not used at all in the whole ovsdb subproject.

I've also seen that there is a way for supporting TLS on the openflow-plugin (seen here) and I'm wandering if there exists something similar for the ovsdb.

Regards!

Miguel

edit retag flag offensive close merge delete