

def _actor_migrate(self, to_rt_uuid, callback, actor_id, requirements, extend, move, status, peer_node_id=None, uri=None):
    ' Got link? continue actor migrate '
    if status:
        msg = {
            'cmd': 'ACTOR_MIGRATE',
            'requirements': requirements,
            'actor_id': actor_id,
            'extend': extend,
            'move': move,
        }
        self.network.links[to_rt_uuid].send_with_reply(callback, msg)
    elif callback:
        callback(status=status)

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