

def actor_migrate(self, to_rt_uuid, callback, actor_id, requirements, extend=False, move=False):
    ' Request actor on to_rt_uuid node to migrate accoring to new deployment requirements\n            callback: called when finished with the status respons as argument\n            actor_id: actor_id to migrate\n            requirements: see app manager\n            extend: if extending current deployment requirements\n            move: if prefers to move from node\n        '
    if self.node.network.link_request(to_rt_uuid, CalvinCB(self._actor_migrate, to_rt_uuid=to_rt_uuid, callback=callback, actor_id=actor_id, requirements=requirements, extend=extend, move=move)):
        self._actor_migrate(to_rt_uuid, callback, actor_id, requirements, extend, move, status=response.CalvinResponse(True))

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