Changeset b4b19c7 for fedd/federation/protogeni_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/protogeni_access.py
rf54e8e4 rb4b19c7 1097 1097 "%s/%s" % (self.staging_dir, ename), tmpdir, cf, cpw, 1098 1098 certfile, topo, connInfo, services) 1099 # Copy the assigned names into the return topology 1100 rvtopo = topo.clone() 1101 for e in [ e for e in rvtopo.elements \ 1102 if isinstance(e, topdl.Computer)]: 1103 for n in e.name: 1104 if n in starter.node: 1105 e.set_attribute('hostname', starter.node[n]) 1099 1106 except service_error, e: 1100 1107 err = e … … 1126 1133 'allocationLog': logv, 1127 1134 } 1128 retval = self.allocation[aid]['started']1135 retval = copy.copy(self.allocation[aid]['started']) 1129 1136 self.write_state() 1137 retval['segmentdescription'] = \ 1138 { 'topdldescription': rvtopo.to_dict() } 1130 1139 self.state_lock.release() 1131 1140
Note: See TracChangeset
for help on using the changeset viewer.