- Timestamp:
- Apr 23, 2010 5:35:28 AM (15 years ago)
- Branches:
- axis_example, compt_changes, info-ops, master, version-3.01, version-3.02
- Children:
- 2ee4226
- Parents:
- 9a8cd92
- Location:
- fedd/federation
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
fedd/federation/emulab_access.py
r9a8cd92 rd8442da 707 707 "Cannot export %s" % ep) 708 708 709 # XXX 709 710 # Check for access to restricted nodes 710 711 if req.has_key('resources') and req['resources'].has_key('node'): … … 721 722 "Access denied (nodetypes %s)" % \ 722 723 str(', ').join(inaccessible)) 724 # XXX 723 725 724 726 # These were passed around before, but now are hidden from users … … 1317 1319 (k[k.index('/')+1:], ename, proj, self.domain) 1318 1320 req = { 'name': k, 'value': value } 1321 self.log.debug("Setting %s to %s on %s" % \ 1322 (k, value, surl)) 1319 1323 call_SetValue(surl, req, cf) 1320 1324 else: … … 1325 1329 if surl and k: 1326 1330 req = { 'name': k, 'value': self.ssh_port } 1331 self.log.debug("Setting %s to %s on %s" % \ 1332 (k, self.ssh_port, surl)) 1327 1333 call_SetValue(surl, req, cf) 1328 1334 else: … … 1348 1354 if name and key and store : 1349 1355 req = { 'name': key, 'wait': True } 1350 r = self.call_GetValue(store, req, cf) 1356 self.log.debug("Waiting for %s (%s) from %s" % \ 1357 (name, key, store)) 1358 call_GetValue = service_caller('GetValue') 1359 r = call_GetValue(store, req, cf) 1351 1360 r = r.get('GetValueResponseBody', None) 1352 1361 if r : … … 1355 1364 if v is not None: 1356 1365 if name == 'peer': 1366 self.log.debug("Got peer %s" % v) 1357 1367 c['peer'] = v 1358 1368 else: 1369 self.log.debug("Got %s %s" % (name, v)) 1359 1370 if c.has_key('fedAttr'): 1360 1371 c['fedAttr'].append({ … … 1452 1463 if a['attribute'] in configs: 1453 1464 try: 1465 self.log.debug("Retrieving %s from %s" % \ 1466 (a['attribute'], a['value'])) 1454 1467 get_url(a['value'], certfile, tmpdir) 1455 1468 except: … … 1488 1501 print >>tf, cert 1489 1502 tf.close() 1503 self.log.debug("Getting userconf info: %s" % u) 1490 1504 get_url(u, tn, tmpdir, "userconf") 1505 self.log.debug("Got userconf info: %s" % u) 1491 1506 except IOError, e: 1492 1507 raise service_error(service.error.internal, -
fedd/federation/experiment_control.py
r9a8cd92 rd8442da 2274 2274 2275 2275 if self.auth.check_attribute(fid, name): 2276 self.log.debug("[GetValue] asking for %s " % name) 2276 2277 try: 2277 2278 v = self.synch_store.get_value(name, wait)
Note: See TracChangeset
for help on using the changeset viewer.