def installphysnodes(self, net):
        ''' After installing a mobility model on a net, include any physical
        nodes that we have recorded. Use the GreTap tunnel to the physical node
        as the node's interface.
        '''
        try:
            nodenums = self.physnets[net.objid]
        except __HOLE__:
            return
        for nodenum in nodenums:
            node = self.phys[nodenum]
            servers = self.session.broker.getserversbynode(nodenum)
            (host, port, sock) = self.session.broker.getserver(servers[0])
            netif = self.session.broker.gettunnel(net.objid, IPAddr.toint(host))
            node.addnetif(netif, 0)
            netif.node = node
            (x,y,z) = netif.node.position.get()
            netif.poshook(netif, x, y, z)
dataset/ETHPy150Open coreemu/core/daemon/core/mobility.py/MobilityManager.installphysnodes