

def tunnel_down(self, tunnel):
    ' Callback that the tunnel is not accepted or is going down '
    self.controltunnels[tunnel.peer_node_id].close()
    del self.tunnels[tunnel.peer_node_id]
    del self.controltunnels[tunnel.peer_node_id]
    return True

dataset/ETHPy150Open EricssonResearch/calvin-base/calvin/runtime/north/calvincontrol.py CalvinControlTunnelServer.tunnel_down/original