def _discovery(self):
        """
        Find other servers asking nodes to given server
        """
        data = self.cluster_nodes()
        self.cluster_name = data["cluster_name"]
        for _, nodedata in list(data["nodes"].items()):
            server = nodedata['http_address'].replace("]", "").replace("inet[", "http:/")
            if server not in self.servers:
                self.servers.append(server)
        self._init_connection()
        return self.servers
def _discovery ( self ) : data = self . cluster_nodes ( ) self . cluster_name = data [ "cluster_name" ] for _ , nodedata in list ( data [ "nodes" ] . items ( ) ) : server = nodedata [ 'http_address' ] . replace ( "]" , "" ) . replace ( "inet[" , "http:/" ) if server not in self . servers : self . servers . append ( server ) self . _init_connection ( ) return self . servers
Find other servers asking nodes to given server