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.36 by spiga, Wed Feb 10 21:35:34 2010 UTC vs.
Revision 1.37 by spiga, Tue May 4 15:42:36 2010 UTC

# Line 47 | Line 47 | class DLSInfo:
47  
48          phedexURL='http://cmsweb.cern.ch/phedex/datasvc/xml/prod/'
49          global_url="http://cmsdbsprod.cern.ch/cms_dbs_prod_global/servlet/DBSServlet"
50        caf_url = "http://cmsdbsprod.cern.ch/cms_dbs_caf_analysis_01/servlet/DBSServlet"
51        dbs_url_map  =   {'glite':    global_url,
52                          'condor':   global_url,\
53                          'condor_g': global_url,\
54                          'glidein':  global_url,\
55                          'lsf':      global_url,\
56                          'caf':      caf_url,\
57                          'sge':      global_url,\
58                          'arc':      global_url,\
59                          'pbs':      global_url
60                          }
61        dbs_url_default = dbs_url_map[(common.scheduler.name()).lower()]
50  
51          if type=="DLS_TYPE_DBS":
52              # use dbs_url as dls_endpoint if dls_type is dbs
53 <            endpoint=self.cfg_params.get('CMSSW.dbs_url', dbs_url_default)
53 >            endpoint=self.cfg_params.get('CMSSW.dbs_url', global_url)
54          elif type=="DLS_TYPE_PHEDEX":
55              endpoint=self.cfg_params.get('CMSSW.dls_phedex_url',phedexURL)
56              if self.cfg_params['CRAB.scheduler'].upper() == 'CAF':  self.showCAF = True

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines