Ignore:
Timestamp:
Nov 30, 2011 5:55:13 PM (12 years ago)
Author:
Ted Faber <faber@…>
Branches:
compt_changes, info-ops, master
Children:
f671ef7
Parents:
b709861
Message:

Reload interface works

File:
1 edited

Legend:

Unmodified
Added
Removed
  • fedd/federation/emulab_access.py

    rb709861 r1ae1aa2  
    10371037                if not self.create_debug:
    10381038                    if e.name in info.node:
    1039                         add_new(("%s%s" % (info.node[e.name][0], self.domain),),
    1040                                 e.localname)
    1041                         e.status = info.node[e.name][1]
     1039                        add_new(("%s%s" %
     1040                            (info.node[e.name].pname, self.domain),),
     1041                            e.localname)
     1042                        e.status = info.node[e.name].status
     1043                        os = info.node[e.name].getOS()
     1044                        if os: e.os = [ os ]
    10421045                else:
    10431046                    # Simple debugging assignment
     
    12701273        info(self, user, proj, ename)
    12711274        self.decorate_topology(info, topo)
     1275        self.state_lock.acquire()
     1276        if aid in self.allocation:
     1277            self.allocation[aid]['topo'] = topo
     1278            self.write_state()
     1279        self.state_lock.release()
     1280
    12721281        return {
    12731282                'allocID': req['allocID'],
     
    13301339                debug=self.create_debug, boss=self.boss,
    13311340                cert=self.xmlrpc_cert)
    1332         ops(self, op, ptargets, params)
     1341        ops(self, op, ptargets, params, topo)
    13331342       
    13341343        status.extend(ops.status)
Note: See TracChangeset for help on using the changeset viewer.