Changeset ec3aa4d for fedd


Ignore:
Timestamp:
Nov 29, 2011 2:52:20 PM (9 years ago)
Author:
Ted Faber <faber@…>
Branches:
compt_changes, info-ops, master
Children:
ab3d6c5
Parents:
6e33086
Message:

Don't need those params.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • fedd/federation/experiment_control.py

    r6e33086 rec3aa4d  
    19991999
    20002000   
    2001     def save_federant_information(self, allocated, tbparams, eid, vtopo, vis,
    2002             top):
     2001    def save_federant_information(self, allocated, tbparams, eid, top):
    20032002        """
    20042003        Store the various data that have changed in the experiment state
     
    20102009        """
    20112010        self.state_lock.acquire()
    2012         # XXX:
    2013         #self.state[eid]['vtopo'] = vtopo
    2014         #self.state[eid]['vis'] = vis
    20152011        exp = self.state[eid]
    2016         exp.topology = top
     2012        exp.top = top.clone()
    20172013        # save federant information
    20182014        for k in allocated.keys():
    20192015            exp.add_allocation(tbparams[k])
     2016            top.elements.append(topdl.Testbed(uri=tbparams[k].uri,
     2017                type="testbed", localname=[k]))
    20202018
    20212019        # Access proofs for the response message
     
    21492147            self.wrangle_software(expid, top, topo, tbparams)
    21502148
    2151             vtopo = topdl.topology_to_vtopo(top)
    2152             vis = self.genviz(vtopo)
    21532149            proofs = self.save_federant_information(allocated, tbparams,
    2154                     eid, vtopo, vis, top)
     2150                    eid, top)
    21552151        except service_error, e:
    21562152            # If something goes wrong in the parse (usually an access error)
Note: See TracChangeset for help on using the changeset viewer.