<p dir="ltr">Great,  which method can i use to remove the GlobalRouter instances? </p>
<div class="gmail_quote">On Nov 21, 2014 5:11 PM, "Alex Afanasyev" <<a href="mailto:alexander.afanasyev@ucla.edu">alexander.afanasyev@ucla.edu</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div>No. GlobalRouter is independent of all other structures aggregated on the node.</div><div><br></div><div>Unfortunately, there is not yet a dynamic routing protocol. I known that Anil Jangam started porting NLSR into ndnSIM and he can comment more about the expected timeline for that.</div><div><br></div><div>—</div><div>Alex</div><br><div><blockquote type="cite"><div>On Nov 21, 2014, at 2:04 PM, Hisham Farahat <<a href="mailto:hishamfarahat@gmail.com" target="_blank">hishamfarahat@gmail.com</a>> wrote:</div><br><div><p dir="ltr">Thanks for your reply. <br>
Reinstalling GlobalRouter will reset everything (FIB, CS & PIT), right? </p><p dir="ltr">Is there any other routing algorithm i can use for this scenario? </p>
<div class="gmail_quote">On Nov 21, 2014 4:43 PM, "Alex Afanasyev" <<a href="mailto:alexander.afanasyev@ucla.edu" target="_blank">alexander.afanasyev@ucla.edu</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">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.<br>
<br>
If only Face metrics changed, then there is no need for the described modification.  You can simply call CalculateRoutes and it should work.<br>
<br>
—<br>
Alex<br>
<br>
> On Nov 21, 2014, at 9:25 AM, Hisham Farahat <<a href="mailto:hishamfarahat@gmail.com" target="_blank">hishamfarahat@gmail.com</a>> wrote:<br>
><br>
> Hi,<br>
> 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?<br>
><br>
> Thanks in advance.<br>
><br>
> Regards,<br>
><br>
> _______________________________________________<br>
> ndnSIM mailing list<br>
> <a href="mailto:ndnSIM@lists.cs.ucla.edu" target="_blank">ndnSIM@lists.cs.ucla.edu</a><br>
> <a href="http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim" target="_blank">http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim</a><br>
<br>
</blockquote></div>
_______________________________________________<br>ndnSIM mailing list<br><a href="mailto:ndnSIM@lists.cs.ucla.edu" target="_blank">ndnSIM@lists.cs.ucla.edu</a><br><a href="http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim" target="_blank">http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim</a><br></div></blockquote></div><br></div></blockquote></div>