scripts/run.py
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()
def get_ip(self):
        if len(self.client_nodes) > 0:
            node = self.client_nodes[0]
        else:
            node = self.nodes[0]
        return node.get_ip()
def get_ip ( self ) : if len ( self . client_nodes ) > 0 : node = self . client_nodes [ 0 ] else : node = self . nodes [ 0 ] return node . get_ip ( )
Return an ip to use to talk to this cluster.
Return an ip to use to talk to this cluster .