source: contributed/trunk/dail/dail_example.py @ 7307

Revision 7306, 519 bytes checked in by anonymous, 9 years ago (diff)

New Version

Line 
1#----------------------------------------------------------------------
2#
3#   Main Routine
4#
5#----------------------------------------------------------------------
6#
7from dail_hl import *
8
9if  len(sys.argv) < 5 :
10   print "Usage : ... <hostname> <portNumber> <userName> <passwd>"
11   System.exit(4)
12
13dInstance=queryDcache(sys.argv[1],int(sys.argv[2]),sys.argv[3],sys.argv[4])
14
15result=dInstance.query("PoolManager","psu ls pool")
16print result
17
18result2=dInstance.query("PoolManager","info")
19print result2
20
21System.exit(0)
Note: See TracBrowser for help on using the repository browser.