[ovs-discuss] Controller reference as name
blp at nicira.com
Fri Dec 7 17:33:42 UTC 2012
On Fri, Dec 07, 2012 at 03:06:52PM -0200, Wanderson Paim wrote:
> I'm trying a loadbalancer implementation with DNS and I need to set the
> controller of the vswitch as a domain name instead of its IP address.
> ovs-vsctl set-controller br0 tcp:controllerx:6633
> Such "controllerx" has the appropriate IP reference of the controller at
> the DNS Server. I also tried setting it at /etc/hosts. I always got the
> same error shown at "ovs-vsctl list controller":
> status : last_error="Address family not supported by protocol"
> Is there any way to use controller name instead of IP address in the
> "ovs-vsctl set-controller" command? If not is there an alternative?
No, that's not supported. You can resolve the DNS name in advance, then
set the controller based on what it resolved to.
More information about the discuss