ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CRAB/python/Bdii.py
Revision: 1.4
Committed: Wed Aug 20 20:08:10 2008 UTC (16 years, 8 months ago) by ewv
Content type: text/x-python
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +0 -0 lines
State: FILE REMOVED
Log Message:
BDII code now in ProdCommon

File Contents

# Content
1 #!/usr/bin/env python
2
3 try:
4 from BdiiLdap import *
5 except ImportError:
6 from BdiiLdapsearch import *
7
8 if __name__ == '__main__':
9 from pprint import pprint
10
11 # seList = listAllSEs('uscmsbd2.fnal.gov')
12
13 # seList = ['ccsrm.in2p3.fr', 'cmssrm.hep.wisc.edu', 'pccms2.cmsfarm1.ba.infn.it', 'polgrid4.in2p3.fr', 'srm-disk.pic.es', 'srm.ciemat.es', 'srm.ihepa.ufl.edu', 't2data2.t2.ucsd.edu', 'srm.unl.edu', 'se01.cmsaf.mit.edu']
14
15 # jmlist = getJobManagerList(seList, "CMSSW_2_0_11", "slc4_ia32_gcc345", 'uscmsbd2.fnal.gov', False)
16 # pprint(jmlist)
17
18 # pprint(listAllCEs( "CMSSW_2_0_10", "slc4_ia32_gcc345", onlyOSG=False, bdii='uscmsbd2.fnal.gov'))
19 pprint(listAllCEs( "CMSSW_2_0_10", "slc4_ia32_gcc345", onlyOSG=True, bdii='uscmsbd2.fnal.gov'))
20 # pprint(listAllCEs(onlyOSG=False,bdii='is.grid.iu.edu'))
21 # pprint(listAllCEs( "CMSSW_2_0_10", "slc4_ia32_gcc345", onlyOSG=True, bdii='uscmsbd2.fnal.gov'))