}
// attempt to release any floating IP addresses associated with
// server
FloatingIPApi floatingIpApi = api.getFloatingIPExtensionForZone(region)
.get();
List<FloatingIP> floatingIps = newArrayList(floatingIpApi.list());
for (FloatingIP floatingIP : floatingIps) {
if (server.getId().equals(floatingIP.getInstanceId())) {
LOG.debug("releasing floating IP {} from '{}'",
floatingIP.getIp(), server.getName());
floatingIpApi.removeFromServer(floatingIP.getIp(),