<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi,<div class=""><br class=""></div><div class="">based on the snippet of code that you provided, the link is down for 5 seconds.</div><div class=""><br class=""></div><div class="">What do you mean by “make a solid flow”? For those 5 seconds, the Interests will be forwarded over some other link (if the link that you failed is the one that they were supposed to be forwarded on).</div><div class=""><br class=""></div><div class="">Thanks,</div><div class=""><br class=""></div><div class=""><div class=""><div class="">
<div class=""><div class=""><div class=""><span class="" style="float: none; display: inline !important;">Spyridon (Spyros) Mastorakis</span><br class=""><span class="" style="float: none; display: inline !important;">Personal Website: </span><a href="http://cs.ucla.edu/~mastorakis/" class="">http://cs.ucla.edu/~mastorakis/</a><br class=""><span class="" style="float: none; display: inline !important;">Internet Research Laboratory</span><br class=""><span class="" style="float: none; display: inline !important;">Computer Science Department</span><br class=""><span class="" style="float: none; display: inline !important;">UCLA</span></div><div class=""><span class="" style="float: none; display: inline !important;"><br class=""></span></div></div></div><div class=""><br class=""></div></div><div><blockquote type="cite" class=""><div class="">On May 7, 2017, at 3:30 PM, Anthony Dowling <<a href="mailto:dowlinah@clarkson.edu" class="">dowlinah@clarkson.edu</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Hello, All,<div class=""><br class=""></div><div class="">My research partner and I are trying to have nodes re-route interests when a link in the network fails, however, when we use the following code to fail the link, the secondary route appears to flash, rather than make a solid flow. Is this how it should appear?</div><div class=""><div class=""><br class=""></div><div class=""><div class=""> Ptr<Node> test = Names::Find<Node>("Node2");<br class=""></div><div class=""> Ptr<Node> test2 = Names::Find<Node>("Node1");</div><div class=""><br class=""></div><div class=""> Simulator::Schedule(Seconds(5.0), ndn::LinkControlHelper::FailLink, test, test2);<br class=""></div><div class=""> Simulator::Schedule(Seconds(10.0), ndn::LinkControlHelper::UpLink, test, test2);</div></div><div class=""><br class=""></div></div><div class="">Thanks,</div><div class="">Anthony Dowling</div></div><br class=""></div></blockquote></div><br class=""></div></div></body></html>