[ndnSIM] GlobalRouting with topology changes

Hisham Farahat hishamfarahat at gmail.com
Fri Nov 21 14:04:59 PST 2014

Thanks for your reply.
Reinstalling GlobalRouter will reset everything (FIB, CS & PIT), right?

Is there any other routing algorithm i can use for this scenario?
On Nov 21, 2014 4:43 PM, "Alex Afanasyev" <alexander.afanasyev at ucla.edu>

> 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.
>> Alex
> > 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20141121/d327b4eb/attachment.html>

More information about the ndnSIM mailing list