Do not try to resolve DNS for OpenFlow controllers or netflow collectors.
authorBen Pfaff <blp@nicira.com>
Wed, 15 Jul 2009 22:29:49 +0000 (15:29 -0700)
committerBen Pfaff <blp@nicira.com>
Tue, 21 Jul 2009 16:49:57 +0000 (09:49 -0700)
commit2b35e1475ef0c274495aa04d60b054288971d503
tree688d16a14b92e643d10e55a4faf53b64e9a18b8a
parent7a3696adbfe26cfbe515b3d3564d2e4a08096b2c
Do not try to resolve DNS for OpenFlow controllers or netflow collectors.

Until now, setting a netflow collector to a DNS name would cause
secchan to attempt to resolve that DNS name each time that the set of
netflow collectors is re-set.  For the vswitch, this is every time that
the vswitch reconfigures itself.

Unfortunately, DNS lookup within secchan cannot work as currently
implemented, because it needs both an asynchronous DNS resolver library
and in-band control updates.  Currently we have neither.  Attempting to
look up DNS anyway just hangs.

This commit disables DNS lookup entirely, and updates the documentation to
change user expectations.  DNS still won't work, but at least it won't
hang.

Bug #1609.
debian/openvswitch-switch-config.templates
debian/openvswitch-switch.init
debian/openvswitch-switch.template
debian/po/templates.pot
lib/socket-util.c
lib/vconn.c
secchan/secchan.8.in
utilities/ovs-controller.8.in
utilities/ovs-ofctl.8.in
vswitchd/ovs-vswitchd.conf.5.in