- Timestamp:
- May 25, 2010 11:24:46 AM (14 years ago)
- Branches:
- axis_example, compt_changes, info-ops, master, version-3.01, version-3.02
- Children:
- 50ef6e4
- Parents:
- d3c8759
- Location:
- fedd/federation
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
fedd/federation/deter_internal_access.py
rd3c8759 rf038da1 552 552 value = "%s" % vlan 553 553 req = { 'name': k, 'value': value } 554 print "calling SetValue %s %s" % (surl, req)555 554 self.call_SetValue(surl, req, cf) 556 555 else: … … 672 671 'allocID': req['allocID'], 673 672 'allocationLog': logv, 673 'segmentdescription': { 'topdldescription': topo.to_dict() } 674 674 } 675 675 retval = copy.deepcopy(self.state[aid]['started']) 676 retval['allocID'] = req['allocID']677 # XXX: this doesn't pickle!!678 retval['segmentdescription'] = { 'topdldescription': topo.to_dict() }679 676 self.write_state() 680 677 self.state_lock.release() -
fedd/federation/emulab_access.py
rd3c8759 rf038da1 1749 1749 'allocID': req['allocID'], 1750 1750 'allocationLog': logv, 1751 'segmentdescription': { 1752 'topdldescription': rvtopo.to_dict() 1753 } 1751 1754 } 1752 1755 retval = copy.copy(self.allocation[aid]['started']) 1753 1756 self.write_state() 1754 1757 self.state_lock.release() 1755 retval['segmentdescription'] = \1756 { 'topdldescription': rvtopo.to_dict() }1757 1758 return retval 1758 1759 elif err: -
fedd/federation/protogeni_access.py
rd3c8759 rf038da1 1132 1132 'allocID': req['allocID'], 1133 1133 'allocationLog': logv, 1134 'segmentdescription': { 1135 'topdldescription': rvtopo.to_dict() } 1134 1136 } 1135 retval = copy.copy(self.allocation[aid]['started'])1136 1137 self.write_state() 1137 retval['segmentdescription'] = \1138 { 'topdldescription': rvtopo.to_dict() }1139 1138 self.state_lock.release() 1140 1139
Note: See TracChangeset
for help on using the changeset viewer.