<div dir="ltr"><div><div><div>Hello all,<br></div>I'm trying to write a simple experiment for using in minindn<br></div>so I make a file called ex1_experiment.py<br></div>and put the following code in it:<br><br clear="all"><div><div><div><div>from ndn.experiments.experiment import Experiment<br><br>class ExampleExperiment(Experiment):<br>    def __init__(self, args):<br>        Experiment.__init__(self, args)<br><br>    def setup(self):<br>        for host in self.net.hosts:<br>            host.cmd("ndnpingserver <a href="http://host.name">host.name</a> &")<br><br>    def run(self):<br>        for host in self.net.hosts:<br>            # By default status.txt would be stored<br>            # at /tmp/host/status.txt<br>            host.cmd("nfd-status > status.txt")<br><br>Experiment.register("ee", ExampleExperiment)<br><br></div><div>and save it<br></div><div>but when I try to use it by:<br></div><div>sudo minindn --experiment=ee<br></div><div>I get the following error<br><br>No experiment named ee<br><br><br></div><div>can someone help me with this please?<br></div><div>thank you<br></div><div><br></div><div>-- <br><div class="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></div></div></div></div>