<div dir="ltr">Thank you very much for your help<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Nov 15, 2016 at 3:19 AM, Ashlesh Gawande (agawande) <span dir="ltr"><<a href="mailto:agawande@memphis.edu" target="_blank">agawande@memphis.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div>


<div dir="ltr">
<div id="m_-3438523741540354602x_divtagdefaultwrapper" dir="ltr" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif">
<p>nfd-stop will stop all nodes as it kills all NFDs running on the system.</p>
<p><br>
</p>
<p>Take a look at the failure experiment:</p>
<p><a href="https://github.com/named-data/mini-ndn/blob/master/ndn/experiments/failure_experiment.py#L47" class="m_-3438523741540354602x_OWAAutoLink" id="m_-3438523741540354602LPlnk523194" target="_blank">https://github.com/named-data/<wbr>mini-ndn/blob/master/ndn/<wbr>experiments/failure_<wbr>experiment.py#L47</a><br>
</p>
<p><br>
</p>
<p><a href="https://github.com/named-data/mini-ndn/blob/master/ndn/experiments/experiment.py#L102" class="m_-3438523741540354602x_OWAAutoLink" id="m_-3438523741540354602LPlnk931488" target="_blank">https://github.com/named-data/<wbr>mini-ndn/blob/master/ndn/<wbr>experiments/experiment.py#L102</a><br>
</p>
<p><br>
</p>
<p>Ashlesh</p>
</div>
<hr style="display:inline-block;width:98%">
<div id="m_-3438523741540354602x_divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>From:</b> Mini-NDN <<a href="mailto:mini-ndn-bounces@lists.cs.ucla.edu" target="_blank">mini-ndn-bounces@lists.cs.<wbr>ucla.edu</a>> on behalf of Matteo Bertolino <<a href="mailto:Matteo.Bertolino@eurecom.fr" target="_blank">Matteo.Bertolino@eurecom.fr</a>><br>
<b>Sent:</b> Monday, November 14, 2016 5:23:05 PM<br>
<b>To:</b> sepehr abdous<br>
<b>Cc:</b> <a href="mailto:mini-ndn@lists.cs.ucla.edu" target="_blank">mini-ndn@lists.cs.ucla.edu</a><br>
<b>Subject:</b> Re: [Mini-NDN] bringing out a node</font>
<div> </div>
</div>
</div>
<font size="2"><span style="font-size:10pt">
<div class="m_-3438523741540354602PlainText"><div><div class="h5">Hi,<br>
<br>
I think that you can just running the node4 program and write manually  <br>
in the mini consolle "node4 nfd-stop".<br>
Probably you've to stop also nlsr instance in order to do a clean  <br>
failure simulation, but nfd is enough. I get refer about nfd-start and  <br>
nfd-stop command that I read here:  <br>
<a href="http://named-data.net/doc/NFD/current/INSTALL.html" target="_blank">http://named-data.net/doc/NFD/<wbr>current/INSTALL.html</a><br>
<br>
A little better, you can just simulate this running a timer on the  <br>
program running in node4. When timer will expires, you can stop the  <br>
forwarding daemon.<br>
For example, in pseudo-code:<br>
<br>
function timer:<br>
     sleep(n seconds)<br>
     system ("node4name nfd-stop")<br>
     exit<br>
<br>
main:<br>
    thread t(function timer)<br>
    t.start<br>
    t.detach<br>
    node.initilize<br>
    node.run<br>
<br>
<br>
Hope that works.<br>
Matteo<br>
<br>
Quoting sepehr abdous <<a href="mailto:sepehrabdous1375@gmail.com" target="_blank">sepehrabdous1375@gmail.com</a>>:<br>
<br>
> Hello all,<br>
> I'm trying to write an experiment for the topology below:<br>
> [image: Inline image 1]<br>
> and in this experiment I just want to bring out node4(like that node 4 has<br>
> failed) is there anything I can do in the experiment code to do this?<br>
> Thank you<br>
><br>
> --<br>
> Sepehr Abdous<br>
> Faculty: <a href="mailto:abdous@ce.sharif.edu" target="_blank">abdous@ce.sharif.edu</a><br>
> Yahoo mail: <a href="mailto:sepehrabdous@yahoo.com" target="_blank">sepehrabdous@yahoo.com</a><br>
> Cellphone:+989194030591<br>
> School of computer engineering<br>
> Sharif University of Technology<br>
> Tehran, Iran<br>
><br>
<br>
<br>
<br>
------------------------------<wbr>------------------------------<wbr>-------------------<br>
This message was sent using EURECOM Webmail: <a href="http://webmail.eurecom.fr" target="_blank">
http://webmail.eurecom.fr</a><br>
<br>
<br></div></div>
______________________________<wbr>_________________<br>
Mini-NDN mailing list<br>
<a href="mailto:Mini-NDN@lists.cs.ucla.edu" target="_blank">Mini-NDN@lists.cs.ucla.edu</a><br>
<a href="http://www.lists.cs.ucla.edu/mailman/listinfo/mini-ndn" target="_blank">http://www.lists.cs.ucla.edu/<wbr>mailman/listinfo/mini-ndn</a><br>
</div>
</span></font>
</div>

</blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div><span style="color:rgb(0,0,255)">Sepehr Abdous<br></span></div><span style="color:rgb(0,0,255)">Faculty: <a href="mailto:abdous@ce.sharif.edu" target="_blank">abdous@ce.sharif.edu</a><br></span></div><div><span style="color:rgb(0,0,255)">Yahoo mail: <a href="mailto:sepehrabdous@yahoo.com" target="_blank">sepehrabdous@yahoo.com</a><br></span></div><div><span style="color:rgb(0,0,255)">Cellphone:+989194030591<br></span></div><div><span style="color:rgb(0,0,255)">School of computer engineering<br></span></div><div><span style="color:rgb(0,0,255)">Sharif University of Technology<br></span></div><div><span style="color:rgb(0,0,255)">Tehran, Iran</span><br></div></div></div>
</div>