def get_ip(self):
        """ Return an ip to use to talk to this cluster. """
        if len(self.client_nodes) > 0:
            node = self.client_nodes[0]
        else:
            node = self.nodes[0]
        return node.get_ip()