[Mini-NDN] bringing out a node

sepehr abdous sepehrabdous1375 at gmail.com
Tue Nov 15 11:31:35 PST 2016


Thank you very much for your help

On Tue, Nov 15, 2016 at 3:19 AM, Ashlesh Gawande (agawande) <
agawande at memphis.edu> wrote:

> nfd-stop will stop all nodes as it kills all NFDs running on the system.
>
>
> Take a look at the failure experiment:
>
> https://github.com/named-data/mini-ndn/blob/master/ndn/
> experiments/failure_experiment.py#L47
>
>
> https://github.com/named-data/mini-ndn/blob/master/ndn/
> experiments/experiment.py#L102
>
>
> Ashlesh
> ------------------------------
> *From:* Mini-NDN <mini-ndn-bounces at lists.cs.ucla.edu> on behalf of Matteo
> Bertolino <Matteo.Bertolino at eurecom.fr>
> *Sent:* Monday, November 14, 2016 5:23:05 PM
> *To:* sepehr abdous
> *Cc:* mini-ndn at lists.cs.ucla.edu
> *Subject:* Re: [Mini-NDN] bringing out a node
>
> Hi,
>
> I think that you can just running the node4 program and write manually
> in the mini consolle "node4 nfd-stop".
> Probably you've to stop also nlsr instance in order to do a clean
> failure simulation, but nfd is enough. I get refer about nfd-start and
> nfd-stop command that I read here:
> http://named-data.net/doc/NFD/current/INSTALL.html
>
> A little better, you can just simulate this running a timer on the
> program running in node4. When timer will expires, you can stop the
> forwarding daemon.
> For example, in pseudo-code:
>
> function timer:
>      sleep(n seconds)
>      system ("node4name nfd-stop")
>      exit
>
> main:
>     thread t(function timer)
>     t.start
>     t.detach
>     node.initilize
>     node.run
>
>
> Hope that works.
> Matteo
>
> Quoting sepehr abdous <sepehrabdous1375 at gmail.com>:
>
> > Hello all,
> > I'm trying to write an experiment for the topology below:
> > [image: Inline image 1]
> > and in this experiment I just want to bring out node4(like that node 4
> has
> > failed) is there anything I can do in the experiment code to do this?
> > Thank you
> >
> > --
> > Sepehr Abdous
> > Faculty: abdous at ce.sharif.edu
> > Yahoo mail: sepehrabdous at yahoo.com
> > Cellphone:+989194030591
> > School of computer engineering
> > Sharif University of Technology
> > Tehran, Iran
> >
>
>
>
> ------------------------------------------------------------
> -------------------
> This message was sent using EURECOM Webmail: http://webmail.eurecom.fr
>
>
> _______________________________________________
> Mini-NDN mailing list
> Mini-NDN at lists.cs.ucla.edu
> http://www.lists.cs.ucla.edu/mailman/listinfo/mini-ndn
>



-- 
Sepehr Abdous
Faculty: abdous at ce.sharif.edu
Yahoo mail: sepehrabdous at yahoo.com
Cellphone:+989194030591
School of computer engineering
Sharif University of Technology
Tehran, Iran
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/mini-ndn/attachments/20161115/5992a152/attachment.html>


More information about the Mini-NDN mailing list