rackspace/atlas-lb — pull request #37 by ctxs-atlas (2012-03-14 22:37:48+00:00)
Title: Changes to make to Core support one VIP only per LoadBalancer. Extensions can add more VIPs.

The change in this pull request make Core do the following:

* If the VirtualIP element is not specified in create LoadBalancer request, or if it specified but the ipVersion attribute is not specified, then Core create an IPV6 address,
* Otherwise, Core creates what the user asks for.

Extensions can add extra Virtual IPs by overriding a method assignExtraVipsToLoadBalancer() when extending class VirtualIpServiceImpl. For example, to preserve existing behaviour, the RAX extension has
been changed to:

* Provide both an IPv4 and an IPv6 address if the VirtualIP element is not specified in create
LoadBalancer request, or if it specified but the ipVersion attribute is not specified.

* Otherwise, it creates what the user asks for.