<div dir="ltr"><div style="font-family:tahoma,sans-serif" class="gmail_default">​Hi there,<br></div><div style="font-family:tahoma,sans-serif" class="gmail_default"><br></div><div style="font-family:tahoma,sans-serif" class="gmail_default">I was trying to show the impact forwarding plane and forwarding strategy in failure detection with a simple scenario in ndnSIM:<br><br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">  ndn::FibHelper::AddRoute(nodes.Get(0),ndn::Name("/prefix"), nodes.Get(2),1);<br>  ndn::FibHelper::AddRoute(nodes.Get(1),ndn::Name("/prefix"), nodes.Get(2),20);<br>  ndn::FibHelper::AddRoute(nodes.Get(0),ndn::Name("/prefix"), nodes.Get(1),20);<br><br>  ndn::StrategyChoiceHelper::Install(nodes.Get(0), ndn::Name("/prefix"), "/localhost/nfd/strategy/best-route");<br>  <br>  // Consumer<br>  ndn::AppHelper consumerHelper("ns3::ndn::ConsumerCbr");<br>  consumerHelper.SetPrefix("/prefix");<br>  consumerHelper.SetAttribute("Frequency", StringValue("1")); <br>  consumerHelper.Install(nodes.Get(0));                        <br><br>  // Producer<br>  ndn::AppHelper producerHelper("ns3::ndn::Producer");<br>  producerHelper.SetPrefix("/prefix");<br>  producerHelper.SetAttribute("PayloadSize", StringValue("1024"));<br>  producerHelper.Install(nodes.Get(2)); <br><br>  Simulator::Schedule(Seconds(3.0), ndn::LinkControlHelper::FailLink, nodes.Get(0), nodes.Get(2));<br>  Simulator::Schedule(Seconds(15.0), ndn::LinkControlHelper::UpLink, nodes.Get(0), nodes.Get(2));<br></blockquote><div><br>It works fine at first and detects the failure so tries with the other face from 4s to 8s. But After 9s, Consumer tries sending interest while nfd does not send it:<br><br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">9s 0 ndn.Consumer:SendPacket() <br>9s 0 ndn.Consumer:SendPacket(): [INFO ] > Interest for 6<br>9s 0 ndn.Consumer:WillSendOutInterest(): [DEBUG] Trying to add 6 with +9000000000.0ns. already 0 items<br>10s 0 ndn.Consumer:SendPacket()<br>10s 0 ndn.Consumer:SendPacket(): [INFO ] > Interest for 7<br>10s 0 ndn.Consumer:WillSendOutInterest(): [DEBUG] Trying to add 7 with +10000000000.0ns. already 1 items<br>10.6s -1 ndn.Consumer:OnTimeout(6)<br>11s 0 ndn.Consumer:SendPacket()<br>11s 0 ndn.Consumer:SendPacket(): [INFO ] > Interest for 6<br>11s 0 ndn.Consumer:WillSendOutInterest(): [DEBUG] Trying to add 6 with +11000000000.0ns. already 1 items<br></blockquote><div><br></div><div> As soon as UpLink event, consumer tries with the first face and retrieves data. Why is that? Is it a kind of bug in nfd?<br><br></div><div>Thanks,<br></div><div>Sabet<br></div><br></div></div></div>