Definition at line 53 of file isDSinFAX.py.
◆ __init__()
| isDSinFAX.site.__init__ |
( |
| self, |
|
|
| na, |
|
|
| ho ) |
Definition at line 58 of file isDSinFAX.py.
58 def __init__(self, na, ho):
59 self.name=na
60 ho=ho.replace("root://","")
61 self.host=ho.split(":")[0]
62 if ho.count(":"):
63 self.port=ho.split(":")[1]
64
◆ prnt()
| isDSinFAX.site.prnt |
( |
| self, |
|
|
| what ) |
Definition at line 65 of file isDSinFAX.py.
65 def prnt(self, what):
66 if (what>=0 and self.redirector!=what): return
67 print ( 'name:', self.name, '\thost:', self.host, '\tport:', self.port )
68
◆ allddms
| isDSinFAX.site.allddms = set() |
|
static |
◆ com
| isDSinFAX.site.com = Command('dq2-ls -r '+ DS + ' > fax.tmp' ) |
|
static |
◆ DS
◆ dsets
| dict isDSinFAX.site.dsets = {} |
|
static |
| isDSinFAX.site.f = opener.open(req) |
|
static |
◆ host
◆ name
◆ ns
| isDSinFAX.site.ns = site( s["rc_site"], s["endpoint"] ) |
|
static |
◆ opener
| isDSinFAX.site.opener = urllib2.build_opener() |
|
static |
◆ port
| isDSinFAX.site.port = 1094 |
|
static |
◆ req
| isDSinFAX.site.req = urllib2.Request("http://atlas-agis-api-0.cern.ch/request/service/query/get_se_services/?json&state=ACTIVE&flavour=XROOTD", None) |
|
static |
◆ res
| isDSinFAX.site.res = json.load(f) |
|
static |
◆ sites
| list isDSinFAX.site.sites = []; |
|
static |
The documentation for this class was generated from the following file: