'Attempt to retrieve node UUID by finding the ``ACTIVE`` Nova API server
with an intersection of the IPv4 and IPv6 addresses on this node.'

def _compute_instance_id_by_ipaddress_match(self):

    local_ips = get_all_ips()
    api_ip_map = {}
    id_to_node_ips = {}
    for server in self.nova_server_manager.list():
        if (server.status != u'ACTIVE'):
            continue
        api_addresses = _extract_nova_server_addresses(server.addresses)
        id_to_node_ips[server.id] = api_addresses
        for ip in api_addresses:
            api_ip_map[ip] = server.id
    try:
        return _get_compute_id(local_ips, id_to_node_ips)
    except KeyError:
        COMPUTE_INSTANCE_ID_NOT_FOUND(local_ips=local_ips, api_ips=api_ip_map).write()
