- Timestamp:
- Nov 29, 2011 2:52:20 PM (13 years ago)
- Branches:
- compt_changes, info-ops, master
- Children:
- ab3d6c5
- Parents:
- 6e33086
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fedd/federation/experiment_control.py
r6e33086 rec3aa4d 1999 1999 2000 2000 2001 def save_federant_information(self, allocated, tbparams, eid, vtopo, vis, 2002 top): 2001 def save_federant_information(self, allocated, tbparams, eid, top): 2003 2002 """ 2004 2003 Store the various data that have changed in the experiment state … … 2010 2009 """ 2011 2010 self.state_lock.acquire() 2012 # XXX:2013 #self.state[eid]['vtopo'] = vtopo2014 #self.state[eid]['vis'] = vis2015 2011 exp = self.state[eid] 2016 exp.top ology = top2012 exp.top = top.clone() 2017 2013 # save federant information 2018 2014 for k in allocated.keys(): 2019 2015 exp.add_allocation(tbparams[k]) 2016 top.elements.append(topdl.Testbed(uri=tbparams[k].uri, 2017 type="testbed", localname=[k])) 2020 2018 2021 2019 # Access proofs for the response message … … 2149 2147 self.wrangle_software(expid, top, topo, tbparams) 2150 2148 2151 vtopo = topdl.topology_to_vtopo(top)2152 vis = self.genviz(vtopo)2153 2149 proofs = self.save_federant_information(allocated, tbparams, 2154 eid, vtopo, vis,top)2150 eid, top) 2155 2151 except service_error, e: 2156 2152 # If something goes wrong in the parse (usually an access error)
Note: See TracChangeset
for help on using the changeset viewer.