rackspace/atlas-lb — pull request #36 by ctxs-atlas (2012-03-14 21:25:20+00:00)
Title: Changes to make Core return one virtual ip only to conform to spec.

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.