Whamcloud - gitweb
* Changed find_route to always return an empty list, to complement
authoreeb <eeb>
Thu, 14 Jul 2005 10:35:09 +0000 (10:35 +0000)
committereeb <eeb>
Thu, 14 Jul 2005 10:35:09 +0000 (10:35 +0000)
    the change in find_local_servers which returns all servers.

lustre/utils/lconf

index b5bc917..145a67e 100755 (executable)
@@ -2613,17 +2613,17 @@ def local_interface(net_type, cluster_id, nid):
 
 def find_route(srv_list):
     result = []
-    frm_type = local_clusters[0][0]
-    for srv in srv_list:
-        debug("find_route: srv:", srv.nid, "type: ", srv.net_type)
-        to_type = srv.net_type
-        to = srv.nid
-        cluster_id = srv.cluster_id
-        debug ('looking for route to', to_type, to)
-        for r in local_routes:
-            debug("find_route: ", r)
-            if  (r[3] <= to and to <= r[4]) and cluster_id == r[2]:
-                result.append((srv, r))
+#    frm_type = local_clusters[0][0]
+#    for srv in srv_list:
+#        debug("find_route: srv:", srv.nid, "type: ", srv.net_type)
+#        to_type = srv.net_type
+#        to = srv.nid
+#        cluster_id = srv.cluster_id
+#        debug ('looking for route to', to_type, to)
+#        for r in local_routes:
+#            debug("find_route: ", r)
+#            if  (r[3] <= to and to <= r[4]) and cluster_id == r[2]:
+#                result.append((srv, r))
     return result
 
 def get_active_target(db):