[ndnSIM] GlobalRouting with topology changes

Alex Afanasyev alexander.afanasyev at ucla.edu
Fri Nov 21 13:43:13 PST 2014

Unfortunately, global routing helper wasn’t designed for simulation-time topology updates.  It is still possible to use it, but you would need to make modifications.  The reason is that topology graph (instances of GlobalRouter on every object) are installed and configured once as part of GlobalRoutingHelper::Install methods.  In order to calculate routes for the updated topology, you would need first to remove all GlobalRouter instances from all nodes and Channels, and then call Install method again.

If only Face metrics changed, then there is no need for the described modification.  You can simply call CalculateRoutes and it should work.


> On Nov 21, 2014, at 9:25 AM, Hisham Farahat <hishamfarahat at gmail.com> wrote:
> Hi,
> I have a scenario where the topology changes with time (e.g. producers connect to different nodes). I understand that the boost graph is created once we install the ndnGlobalRoutingHelper on all nodes.  When the topology changes, how can the global router update the graph so that CalculateRoutes function can update the FIBs?
> Thanks in advance. 
> Regards,
> _______________________________________________
> ndnSIM mailing list
> ndnSIM at lists.cs.ucla.edu
> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim

More information about the ndnSIM mailing list