ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CRAB/python/DLSInfo.py
(Generate patch)

Comparing COMP/CRAB/python/DLSInfo.py (file contents):
Revision 1.2 by afanfani, Tue Nov 8 13:27:55 2005 UTC vs.
Revision 1.3 by afanfani, Sun Dec 11 18:51:17 2005 UTC

# Line 16 | Line 16 | class DLSInfo:
16       def __init__(self, fileblocks):
17            self.fileblocks = fileblocks
18            self.DLSclient_ = 'DLSAPI/dls-get-se '
19 <          self.DLSServer_ = 'cmsbogw.bo.infn.it'
19 >          self.DLSServer_ = 'lxgate10.cern.ch'
20 >          self.DLSServerPort_ = '18081'
21 >          #self.DLSServerPort_ = '18080'
22  
23   # ####################################
24       def getReplicas(self):
25           """
26            query DLS to get replicas
27           """
28 <         ##
29 <         cmd = self.DLSclient_+" --host "+self.DLSServer_+" --datablock "+self.fileblocks
28 <         #print cmd
28 >         ##
29 >         cmd = self.DLSclient_+" --port "+self.DLSServerPort_+" --host "+self.DLSServer_+" --datablock "+self.fileblocks
30           sites = runCommand(cmd)
31           ListSites=string.split(string.strip(sites),'\n')
32           return ListSites        

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines