<div dir="ltr">Thanks<div><br><div>I hope it's correct ;) </div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Dec 26, 2016 at 11:15 AM, Matteo Bertolino <span dir="ltr"><<a href="mailto:Matteo.Bertolino@eurecom.fr" target="_blank">Matteo.Bertolino@eurecom.fr</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">The reasoning is correct, the syntax probably is correct too but I did not verified :)<div class="HOEnZb"><div class="h5"><br>
Matteo<br>
<br>
Quoting Nour El Houda Ben Youssef <<a href="mailto:nou.mail@gmail.com" target="_blank">nou.mail@gmail.com</a>>:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
thank you<br>
<br>
So if I want to schedule a data traffic it would be by putting in the setup:<br>
<br>
 node.cmd("/ndn-cxx/example/pr<wbr>oducer  options > /Myfile &"):  producer on<br>
node a<br>
 self.cmd("a nlsrc advertise /abc/abd")<br>
 node.cmd("/ndn-cxx/examples/c<wbr>onsumer-with-timer options > /Myfile &") :<br>
consumer on node b<br>
<br>
<br>
<br>
then if I want to analyse what happend during the experiment<br>
I would put this block in the run section:<br>
<br>
for host in net.hosts:<br>
    for intf in host.intfNames():<br>
          ndnDumpOutputFile = "dump.%s" % intf<br>
          host.cmd("sudo ndndump -i %s > %s &" % (intf, ndnDumpOutputFile))<br>
 # can specify any  filter with -f option<br>
<br>
best regards<br>
<br>
<br>
<br>
On Mon, Dec 26, 2016 at 10:05 AM, Matteo Bertolino <<br>
<a href="mailto:Matteo.Bertolino@eurecom.fr" target="_blank">Matteo.Bertolino@eurecom.fr</a>> wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
the setup section logically contains how the code should be initialized.<br>
The run code section how the code should behave.<br>
<br>
Let's comment the example on the git. I would like to verify the packet<br>
exchange receiving ping packets. Then my experiment will have "run<br>
ndnpingserver" in the setup, and "print debug information" in the run part.<br>
Logically, running ndnpingserver should be done before the real experiments.<br>
<br>
Bests,<br>
Matteo<br>
<br>
<br>
Quoting Nour El Houda Ben Youssef <<a href="mailto:nou.mail@gmail.com" target="_blank">nou.mail@gmail.com</a>>:<br>
<br>
Dear community<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
I would like to ask<br>
what is the difference between the setup and the run sections in an<br>
experiment python file ?<br>
<br>
best regards<br>
<br>
--<br>
Nour El Houda Ben Youssef Koubâa<br>
PhD student Mobidoc - WEVIOO/SAGE/ENSI<br>
Master degree New Generation of Information Systems - FST<br>
Software Engineer - INSAT<br>
<br>
<br>
</blockquote>
<br>
<br>
------------------------------<wbr>------------------------------<br>
-------------------<br>
This message was sent using EURECOM Webmail: <a href="http://webmail.eurecom.fr" rel="noreferrer" target="_blank">http://webmail.eurecom.fr</a><br>
<br>
<br>
</blockquote>
<br>
<br>
--<br>
Nour El Houda Ben Youssef Koubâa<br>
PhD student Mobidoc - WEVIOO/SAGE/ENSI<br>
Master degree New Generation of Information Systems - FST<br>
Software Engineer - INSAT<br>
<br>
</blockquote>
<br>
<br>
<br>
------------------------------<wbr>------------------------------<wbr>-------------------<br>
This message was sent using EURECOM Webmail: <a href="http://webmail.eurecom.fr" rel="noreferrer" target="_blank">http://webmail.eurecom.fr</a><br>
<br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>Nour El Houda Ben Youssef Koubâa</div><div>PhD student Mobidoc - WEVIOO/SAGE/ENSI<br>Master degree New Generation of Information Systems - FST</div><div>Software Engineer - INSAT<br></div></div></div></div></div>
</div>