Hello,

I need to run openvswitch in the environment where there is no way to use fixed 
ip addresses and dns names must be used to discover the actual location (ip 
address) of database process. Here is the command line I used:

ovs-vswitchd tcp:openvswitch-db:6640

where openvswitch-db is the dns name which is resolvable by a simple dns query. 
It seems ovs-vswitchd supports only IP address as an argument of tcp keyword.
 
Here is the log:
2016-08-03T13:59:51.393Z|00004|socket_util|ERR|openvswitch-db:6640: bad IPv4 
address "openvswitch-db"
2016-08-03T13:59:51.393Z|00005|stream_tcp|ERR|tcp:openvswitch-db:6640: connect: 
Address family not supported by protocol
2016-08-03T13:59:51.393Z|00006|reconnect|INFO|tcp:openvswitch-db:6640: 
connecting...
2016-08-03T13:59:51.393Z|00007|reconnect|INFO|tcp:openvswitch-db:6640: 
connection attempt failed (Address family not supported by protocol)
2016-08-03T13:59:51.393Z|00008|reconnect|INFO|tcp:openvswitch-db:6640: waiting 
1 seconds before reconnect

Is there any way to make tcp to use dns name as well as ip address?

Thank you

Serguei
_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to