summaryrefslogtreecommitdiffstats
path: root/src/lib/Server
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2006-09-24 23:17:10 +0000
committerNarayan Desai <desai@mcs.anl.gov>2006-09-24 23:17:10 +0000
commit0ec37d01f3a244444094a64f12e78ebc7d9fe352 (patch)
tree6b6bcc62e79ef34e63b8fbf6044ea7a92748d517 /src/lib/Server
parentc042a7be419a3cbc0db0b59d3f4179404ec3dcf0 (diff)
downloadbcfg2-0ec37d01f3a244444094a64f12e78ebc7d9fe352.tar.gz
bcfg2-0ec37d01f3a244444094a64f12e78ebc7d9fe352.tar.bz2
bcfg2-0ec37d01f3a244444094a64f12e78ebc7d9fe352.zip
Remove old ping sweep method
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2308 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib/Server')
-rw-r--r--src/lib/Server/Metadata.py13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/lib/Server/Metadata.py b/src/lib/Server/Metadata.py
index 9f4c3cde0..7bfc42c8f 100644
--- a/src/lib/Server/Metadata.py
+++ b/src/lib/Server/Metadata.py
@@ -191,16 +191,3 @@ class Metadata:
toolset = toolinfo[0]
return ClientMetadata(client, groups, bundles, toolset, categories)
- def ping_sweep_clients(self):
- '''Find live and dead clients'''
- live = {}
- dead = {}
- work = self.clients.keys()
- while work:
- client = work.pop()
- rc = os.system("/bin/ping -w 5 -c 1 %s > /dev/null 2>&1" % client)
- if not rc:
- live[client] = time.time()
- else:
- dead[client] = time.time()
-