Changeset b4b19c7 for fedd/federation/emulab_access.py
- Timestamp:
- Apr 21, 2010 5:31:03 AM (14 years ago)
- Branches:
- axis_example, compt_changes, info-ops, master, version-3.01, version-3.02
- Children:
- f7a54c6
- Parents:
- f54e8e4
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fedd/federation/emulab_access.py
rf54e8e4 rb4b19c7 1552 1552 debug=self.create_debug, log=alloc_log) 1553 1553 rv = starter(self, ename, proj, user, expfile, tmpdir) 1554 # Copy the assigned names into the return topology 1555 rvtopo = topo.clone() 1556 for e in [ e for e in rvtopo.elements \ 1557 if isinstance(e, topdl.Computer)]: 1558 for n in e.name: 1559 if n in starter.node: 1560 e.set_attribute('hostname', starter.node[n]) 1554 1561 except service_error, e: 1555 1562 err = e … … 1581 1588 'allocationLog': logv, 1582 1589 } 1583 retval = self.allocation[aid]['started']1590 retval = copy.copy(self.allocation[aid]['started']) 1584 1591 self.write_state() 1585 1592 self.state_lock.release() 1586 1593 retval['segmentdescription'] = \ 1594 { 'topdldescription': rvtopo.to_dict() } 1587 1595 return retval 1588 1596 elif err:
Note: See TracChangeset
for help on using the changeset viewer.