From 0ef6805dc5944620386051111ca3fbe5e745fae3 Mon Sep 17 00:00:00 2001 From: eeb Date: Thu, 14 Jul 2005 10:24:37 +0000 Subject: [PATCH] * restored commented-out UUID handling for non-local servers --- lustre/utils/lconf | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/lustre/utils/lconf b/lustre/utils/lconf index 408bb76..b5bc9179 100755 --- a/lustre/utils/lconf +++ b/lustre/utils/lconf @@ -587,8 +587,7 @@ class LCTLInterface: # add a route to a host def add_route_host(self, net, uuid, gw, tgt): - """ noop """ -# self.add_uuid(net, uuid, tgt) + self.add_uuid(net, uuid, tgt) # cmds = """ # network %s # add_route %s %s @@ -602,8 +601,7 @@ class LCTLInterface: # add a route to a range def del_route_host(self, net, uuid, gw, tgt): - """ noop """ -# self.del_uuid(uuid) + self.del_uuid(uuid) # cmds = """ # ignore_errors # network %s @@ -632,8 +630,8 @@ class LCTLInterface: # self.run(cmds) # disconnect one connection -# def disconnect(self, srv): -# self.del_uuid(srv.nid_uuid) + def disconnect(self, srv): + self.del_uuid(srv.nid_uuid) # if srv.net_type in ('tcp','openib','iib','vib','ra') and not config.lctl_dump: # if srv.hostaddr[0]: # hostaddr = string.split(srv.hostaddr[0], '/')[0] -- 1.8.3.1