'Get floating IP from floating IP address.'

def _get_floating_ip_by_address(self, client, address):

    if (not address):
        raise exception.FloatingIpNotFoundForAddress(address=address)
    fips = self._safe_get_floating_ips(client, floating_ip_address=address)
    if (len(fips) == 0):
        raise exception.FloatingIpNotFoundForAddress(address=address)
    elif (len(fips) > 1):
        raise exception.FloatingIpMultipleFoundForAddress(address=address)
    return fips[0]
