Changeset 6a50b78 for fedd/federation


Ignore:
Timestamp:
Feb 5, 2012 7:29:57 PM (13 years ago)
Author:
Ted Faber <faber@…>
Branches:
compt_changes, master
Children:
25930db
Parents:
e8979e2
Message:

Initial benito plug in. Fixed bug pickling topdl as well

Location:
fedd/federation
Files:
2 added
2 edited

Legend:

Unmodified
Added
Removed
  • fedd/federation/deter_impl.py

    re8979e2 r6a50b78  
    77import protogeni_access
    88import deter_internal_access
     9import benito_access
    910import skeleton_access
    1011
     
    8687                    self.access = deter_internal_access.access(config,
    8788                            self.auth)
     89                if self.access_type == "benito":
     90                    self.access = benito_access.access(config, self.auth)
    8891                elif self.access_type == "skel":
    8992                    self.access = skeleton_access.access(config, self.auth)
  • fedd/federation/experiment_control.py

    re8979e2 r6a50b78  
    20382038                try:
    20392039                    vis = self.genviz(
    2040                             topdl.topology_to_vtopo(self.state[key].topo))
     2040                            topdl.topology_to_vtopo(self.state[key].top))
    20412041                except service_error, e:
    20422042                    self.state_lock.release()
     
    22972297        if key in self.state:
    22982298            if force or self.state[key].older_than(self.info_cache_limit):
    2299                 top = self.state[key].top 
     2299                top = self.state[key].top
    23002300                if top is not None: top = top.clone()
    23012301                d1, info_params, cert, d2 = \
     
    23682368            # Copy the topo if we need legacy annotations
    23692369            if legacy:
    2370                 top = self.state[key].top 
     2370                top = self.state[key].top
    23712371                if top is not None: top = top.clone()
    23722372        self.state_lock.release()
Note: See TracChangeset for help on using the changeset viewer.