On Mon, Mar 14, 2016 at 02:25:33PM -0500, Ryan Moats wrote:
> From: RYAN D. MOATS <rmo...@us.ibm.com>
> 
> Allow TCP connection strings to also use DNS names in
> addition to IPv4 and IPv6 addresses. Updated test case
> "ovsdb-client get-schema-version - tcp socket" to
> verify.
> 
> Signed-off-by: RYAN D. MOATS <rmo...@us.ibm.com>

This would be nice but it can't be this simple.

The first reason is because OVS consists of daemons that run in a
polling loop.  Resolving DNS names can take seconds.  We can't afford to
pause everything in the main loop for that long.  This could be fixed by
either spawning a thread for name resolution or by using an asynchronous
name resolution library.

Second, we've historically not even bothered with name resolution for
ovs-vswitchd because of in-band control issues.  Basically, that means
that ovs-vswitchd needs to connect to the OpenFlow controller before it
knows much about the network structure, including about how to reach the
name server, and there's a sort of chicken-and-egg problem.  This only
applies to ovs-vswitchd and specifically when in-band control is in use
though.

So, basically, I support this, but it needs to be more sophisticated.

Thanks,

Ben.
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to