[Mini-NDN] minindn experiment

Ashlesh Gawande (agawande) agawande at memphis.edu
Fri Nov 11 14:52:42 PST 2016


Yes just ./install.sh -i

That would install only Mini-NDN and not the dependencies.

Ashlesh

On Nov 11, 2016 4:50 PM, sepehr abdous <sepehrabdous1375 at gmail.com> wrote:

You mean I should run install.sh again?

On Nov 12, 2016 2:19 AM, "Ashlesh Gawande (agawande)" <agawande at memphis.edu<mailto:agawande at memphis.edu>> wrote:

Yes.

Ashlesh

On Nov 11, 2016 4:48 PM, sepehr abdous <sepehrabdous1375 at gmail.com<mailto:sepehrabdous1375 at gmail.com>> wrote:
no should I install it again?


On Sat, Nov 12, 2016 at 2:16 AM, Ashlesh Gawande (agawande) <agawande at memphis.edu<mailto:agawande at memphis.edu>> wrote:

Did you install Mini-NDN again after adding the experiment?

Ashlesh

On Nov 11, 2016 4:40 PM, sepehr abdous <sepehrabdous1375 at gmail.com<mailto:sepehrabdous1375 at gmail.com>> wrote:
Hello all,
I'm trying to write a simple experiment for using in minindn
so I make a file called ex1_experiment.py
and put the following code in it:

from ndn.experiments.experiment import Experiment

class ExampleExperiment(Experiment):
    def __init__(self, args):
        Experiment.__init__(self, args)

    def setup(self):
        for host in self.net.hosts:
            host.cmd("ndnpingserver host.name<http://host.name> &")

    def run(self):
        for host in self.net.hosts:
            # By default status.txt would be stored
            # at /tmp/host/status.txt
            host.cmd("nfd-status > status.txt")

Experiment.register("ee", ExampleExperiment)

and save it
but when I try to use it by:
sudo minindn --experiment=ee
I get the following error

No experiment named ee


can someone help me with this please?
thank you

--
Sepehr Abdous
Faculty: abdous at ce.sharif.edu<mailto:abdous at ce.sharif.edu>
Yahoo mail: sepehrabdous at yahoo.com<mailto:sepehrabdous at yahoo.com>
Cellphone:+989194030591
School of computer engineering
Sharif University of Technology
Tehran, Iran



--
Sepehr Abdous
Faculty: abdous at ce.sharif.edu<mailto:abdous at ce.sharif.edu>
Yahoo mail: sepehrabdous at yahoo.com<mailto: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/20161111/1a7215f9/attachment.html>


More information about the Mini-NDN mailing list