Ignore:
Timestamp:
May 25, 2010 11:24:46 AM (14 years ago)
Author:
Ted Faber <faber@…>
Branches:
axis_example, compt_changes, info-ops, master, version-3.01, version-3.02
Children:
50ef6e4
Parents:
d3c8759
Message:

These were workarounds for the problems pickling topologies. That problem's allieviated, so these can go back.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • fedd/federation/deter_internal_access.py

    rd3c8759 rf038da1  
    552552                    value = "%s" % vlan
    553553                    req = { 'name': k, 'value': value }
    554                     print "calling SetValue %s %s" % (surl, req)
    555554                    self.call_SetValue(surl, req, cf)
    556555                else:
     
    672671                'allocID': req['allocID'],
    673672                'allocationLog': logv,
     673                'segmentdescription': { 'topdldescription': topo.to_dict() }
    674674                }
    675675        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() }
    679676        self.write_state()
    680677        self.state_lock.release()
Note: See TracChangeset for help on using the changeset viewer.