<div style="font-family: Helvetica; font-size: 13px; ">thank you, Alex. But I have to fail the link at a specified time:<div><br></div><div><p style="margin: 0px; font-size: 11px; font-family: Monaco; "><span class="Apple-tab-span" style="white-space:pre">      </span>          <span style="text-decoration: underline">Simulator::Schedule(Seconds(hd), &&ns3::ndn::Face::SetUp, face1, </span><span style="text-decoration: underline ; color: #931a68">false</span><span style="text-decoration: underline">);</span></p>
<p style="margin: 0px; font-size: 11px; font-family: Monaco; "><span class="Apple-tab-span" style="white-space:pre">  </span>          <span style="color: #006141">Simulator</span>::Schedule(Seconds(hd), &face2->SetUp, <span style="color: #931a68">false</span>);</p><p style="margin: 0px; font-size: 11px; font-family: Monaco; ">The above two approaches are wrong. What is your suggestion?</p><p style="margin: 0px; font-size: 11px; font-family: Monaco; "><br></p></div></div>
                <div><div><br></div><div style="font-family: Futura; font-size: 13px; "><div style="color: rgb(34, 34, 34); font-size: small; background-color: rgb(255, 255, 255); font-family: arial; "><font face="'comic sans ms', sans-serif">thanks</font><br><br><font face="garamond, serif"><font size="4">My Regards,</font><br></font></div><hr align="left" color="#b5c4df" size="1" style="color: rgb(34, 34, 34); font-size: small; font-family: arial; width: 210px; min-height: 1px; "><div style="color: rgb(34, 34, 34); font-size: small; background-color: rgb(255, 255, 255); font-family: arial; "><font face="garamond, serif"><div><span style="font-size: 10.5pt; ">Xiaoke (Shock) Jiang (蒋小可)</span></div><div><span style="font-size: 10.5pt; "><br></span></div><div><span style="font-size: 10.5pt; "><font color="#666666">Ph.D. Candidate,</font></span></div><div><span style="font-size: 10.5pt; "><font color="#666666">Department of Computer Science and Technology,</font></span></div><div><span style="font-size: 10.5pt; "><font color="#666666">Tsinghua University, Beijing, P.R.China. 100084</font></span></div></font></div></div></div>
                 
                <p style="color: #A0A0A8;">On Wednesday, July 10, 2013 at 2:09 PM, Alex Afanasyev wrote:</p>
                <blockquote type="cite" style="border-left-style:solid;border-width:1px;margin-left:0px;padding-left:10px;">
                    <span><div><div><meta http-equiv="content-type" content="text/html; charset=utf-8"><div style="-webkit-text-size-adjust: auto; ">With point to point links you cannot remove any of them, but you can "fail" them.  You can try to make something base on this example: <span style="font-family: '.HelveticaNeueUI'; font-size: 15px; line-height: 19px; white-space: nowrap; -webkit-tap-highlight-color: rgba(26, 26, 26, 0.296875); -webkit-composition-fill-color: rgba(175, 192, 227, 0.230469); -webkit-composition-frame-color: rgba(77, 128, 180, 0.230469); -webkit-text-size-adjust: none; "><a href="http://ndnsim.net/faq.html#code-questions">http://ndnsim.net/faq.html#code-questions</a></span></div><div><span style="-webkit-text-size-adjust: auto;"><br></span></div><div><span style="-webkit-text-size-adjust: auto;">To get Ptr<Node> from string (defined in the topology file), just use something like this: Names::Find<Node> ("node1")</span></div><div><span style="-webkit-text-size-adjust: auto;">---</span><div style="-webkit-text-size-adjust: auto; ">Alex</div></div><div style="-webkit-text-size-adjust: auto; "><br>On Jul 9, 2013, at 10:40 PM, Xiaoke Jiang <<a href="mailto:shock.jiang@gmail.com">shock.jiang@gmail.com</a>> wrote:<br><br></div><blockquote type="cite" style="-webkit-text-size-adjust: auto; "><div>
                <div>
                    Dear all,
                </div><div><span style="white-space:pre">   </span>I read a topology with AnnotatedTopologyReader, now I am trying to disable a link, say link between node1 and node2, anyone can give me any hint?</div>
                <div><div><br></div><div style="font-family: Futura; font-size: 13px; "><div style="color: rgb(34, 34, 34); font-size: small; background-color: rgb(255, 255, 255); font-family: arial; "><font face="'comic sans ms', sans-serif">thanks</font><br><br><font face="garamond, serif"><font size="4">My Regards,</font><br></font></div><hr align="left" color="#b5c4df" size="1" style="color: rgb(34, 34, 34); font-size: small; font-family: arial; width: 210px; min-height: 1px; "><div style="color: rgb(34, 34, 34); font-size: small; background-color: rgb(255, 255, 255); font-family: arial; "><font face="garamond, serif"><div><span style="font-size: 10.5pt; ">Xiaoke (Shock) Jiang (蒋小可)</span></div><div><span style="font-size: 10.5pt; "><br></span></div><div><span style="font-size: 10.5pt; "><font color="#666666">Ph.D. Candidate,</font></span></div><div><span style="font-size: 10.5pt; "><font color="#666666">Department of Computer Science and Technology,</font></span></div><div><span style="font-size: 10.5pt; "><font color="#666666">Tsinghua University, Beijing, P.R.China. 100084</font></span></div></font></div></div></div>
            </div><div><span>_______________________________________________</span><br><span>ndnSIM mailing list</span><br><span><a href="mailto:ndnSIM@lists.cs.ucla.edu">ndnSIM@lists.cs.ucla.edu</a></span><br><span><a href="http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim">http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim</a></span><br></div></blockquote></div></div></span>
                 
                 
                 
                 
                </blockquote>
                 
                <div>
                    <br>
                </div>