1:
while
not in the target region
do
2:
create marking tag
3:
migrate to the neighbor closest to the region
4:
create route-to-user tag point to previous node
5:
end while
6: call Flood Migration
Algorithm 1:
Resource discovery.