[Mini-NDN] Mini-ndn experimentation

Nour El Houda Ben Youssef nou.mail at gmail.com
Mon Dec 26 02:45:55 PST 2016


Thanks

I hope it's correct ;)

On Mon, Dec 26, 2016 at 11:15 AM, Matteo Bertolino <
Matteo.Bertolino at eurecom.fr> wrote:

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


-- 
Nour El Houda Ben Youssef Koubâa
PhD student Mobidoc - WEVIOO/SAGE/ENSI
Master degree New Generation of Information Systems - FST
Software Engineer - INSAT
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/mini-ndn/attachments/20161226/ce2b7098/attachment.html>


More information about the Mini-NDN mailing list