

def _tunnel_link_request_finished(self, status, tunnel, to_rt_uuid, tunnel_type, policy, peer_node_id=None, uri=None):
    ' Got a link, now continue with tunnel setup '
    _log.analyze(self.rt_id, '+', {
        'status': status.__str__(),
    }, peer_node_id=to_rt_uuid)
    try:
        self.network.link_check(to_rt_uuid)
    except:
        raise Exception('ERROR_UNKNOWN_RUNTIME')
    tunnel._late_link(to_rt_uuid)
    self._tunnel_new_msg(tunnel, to_rt_uuid, tunnel_type, policy)
    return None

dataset/ETHPy150Open EricssonResearch/calvin-base/calvin/runtime/north/calvin_proto.py CalvinProto._tunnel_link_request_finished/original