Since the new PIM model will have to deal also with partially connected network topologies, it is not always possible to migrate the CP right where it needs to go. For this reason, we are thinking to use two different node lists:
- NegletToleranceList: such a list will be included in the MigrationScheduler, and it will contain all the nodes, sorted from the one the CP would like to visit sooner
- NeighbourList: this list will be included in the NodeMonitor, and it will contain all the nodes that it is possible to reach with just one migration
When the MigrationManager decides to migrate the CP, the destination node is the first member of the NegletToleranceList to appear also in the NeighbourList. Moreover, the CP is required to move toward each new discovered node.