<div dir="ltr"><div style="margin-left:40px"><div>Dear All,<br></div>Experiencing the following error after adding route manually, and more importantly the error occurs after 10 seconds of simulation for each scenario  and for every prefix.<br><br>terminate called after throwing an instance of 'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<nfd::rib::RibManager::Error> >'<br>  what():  Error in setting interest filter (/localhost/nfd/rib): request timed out<br><br></div><div style="margin-left:40px">I use the following code segment to add route manually<br><br>shared_ptr<Face> face = const_pointer_cast<Face>(inFace.shared_from_this());<br>  <br>  shared_ptr<fib::Entry> fibEntry = m_fib.insert(dataName).first;// insert prefix <br>  fibEntry->addNextHop(face, 0);<br><br></div><div style="margin-left:40px">Any clue would be really helpful.<br></div><div style="margin-left:40px"><br>Thanks<br></div><div style="margin-left:40px">Asif <br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Apr 17, 2016 at 11:50 PM, Shahid Md. Asif Iqbal <span dir="ltr"><<a href="mailto:asifcsep@gmail.com" target="_blank">asifcsep@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div>Hi Natalya,<br></div>Though it worked, but for a different scenario it is creating the following problem<br><br>"Error in setting interest filter (/localhost/nfd/rib): request timed out "............<br><br></div>I have interest sending rate of 10/s.<br></div>It is mainly appearing after 10 seconds of simulation run.<br><br></div>Regards<span class="HOEnZb"><font color="#888888"><br></font></span></div><span class="HOEnZb"><font color="#888888">Asif<br></font></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Apr 17, 2016 at 7:34 PM, Shahid Md. Asif Iqbal <span dir="ltr"><<a href="mailto:asifcsep@gmail.com" target="_blank">asifcsep@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div>Thanks Natalya,<br></div>Got your point and it worked for me.<br><br></div>Regards<span><font color="#888888"><br></font></span></div><span><font color="#888888"><div>Asif<br></div></font></span></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Apr 16, 2016 at 5:46 PM, Natalya Rozhnova <span dir="ltr"><<a href="mailto:rozhnova.natalya@gmail.com" target="_blank">rozhnova.natalya@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Asif,<br>
<br>
Why do you want to use the FibHelper while in the forwarder you can directly operate with FIB.<br>
Just add the desired output face to the FIB entry for the desired prefix…<br>
<br>
Best,<br>
Natalya<br>
<div><div><br>
<br>
> Le 16 avr. 2016 à 13:27, Shahid Md. Asif Iqbal <<a href="mailto:asifcsep@gmail.com" target="_blank">asifcsep@gmail.com</a>> a écrit :<br>
><br>
> Dear All,<br>
> How can i add a route manually from the forwarder.cpp file? My scenario is, after receiving data(onReceiveData()) with name "/data/R/00" from face i, I want to add a route manually (using fibhelper) for prefix "data/D/00" with face i as the faceid to reach the nexthop. I can use the Addroute() function but it is not possible to get the node(GetNode()) who is currently accessing the forwarder.<br>
><br>
> Thanks<br>
> Asif<br>
</div></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" rel="noreferrer" target="_blank">http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim</a><br>
<br>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>