Changeset ecf679e
- Timestamp:
- Sep 23, 2009 2:13:21 PM (15 years ago)
- Branches:
- axis_example, compt_changes, info-ops, master, version-2.00, version-3.01, version-3.02
- Children:
- 46bc576
- Parents:
- 8c9933c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fedd/federation/experiment_control.py
r8c9933c recf679e 1473 1473 ], 1474 1474 attribute=[ topdl.Attribute( 1475 attribute='dragon_endpoint', value='true'), 1475 attribute='dragon_endpoint', 1476 value=tbparams[tb]['dragon']), 1476 1477 ] 1477 1478 ) … … 2028 2029 # save federant information 2029 2030 for k in allocated.keys(): 2030 tbparams[k]['federant'] = {\ 2031 'name': [ { 'localname' : eid} ],\ 2032 'allocID' : tbparams[k]['allocID'],\ 2033 'master' : k == master,\ 2031 tbparams[k]['federant'] = { 2032 'name': [ { 'localname' : eid} ], 2033 'allocID' : tbparams[k]['allocID'], 2034 'master' : k == master, 2035 'uri': tbparams[k]['uri'], 2034 2036 } 2035 2037 if tbparams[k].has_key('emulab'): … … 2437 2439 # Create and start a thread to stop the segment 2438 2440 thread_pool.wait_for_slot() 2439 uri = self.tbmap.get(tb, None) 2441 #uri = self.tbmap.get(tb, None) 2442 uri = tb 2440 2443 t = self.pooled_thread(\ 2441 2444 target=self.terminate_segment(log=dealloc_log, … … 2456 2459 try: 2457 2460 for tb in tbparams.keys(): 2458 self.release_access(tb, tbparams[tb]) 2461 # This releases access by uri 2462 self.release_access(None, tbparams[tb], uri=tb) 2459 2463 except service_error, e: 2460 2464 if status != 'failed' and not force:
Note: See TracChangeset
for help on using the changeset viewer.