<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body>
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif;" dir="ltr">
<p>You can issue any command available in the system on a node.</p>
<p>If you have your own application that is not installed in the system you can give the whole path to the application,</p>
<p><br>
</p>
<p>For example:</p>
<p><br>
</p>
<p>for node in net.hosts:</p>
<p>    <span>if node.name == "nodename":</span></p>
<p><span>        node.cmd("/path/to/myapp options > /dev/null &")</span></p>
<p><span><br>
</span></p>
<p><span>Metric collection can be done by redirecting output of applications.</span></p>
<p>If you want metric collection from NFD or NLSR you will have to turn on logging (modules can be specified in</p>
<p>the nfd.conf file at /usr/local/etc/ndn/nfd.conf or if this is not present at: <span style="font-family: Calibri, Arial, Helvetica, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols; font-size: 16px;">/usr/local/etc/ndn/nfd.conf.sample</span>).</p>
<p><br>
</p>
<p>Or collect ndndump such as:</p>
<p></p>
<div>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))  # can specify any  filter with -f option</div>
<div><br>
</div>
<p></p>
<p>Emulation is in the sense that multiple instances of NFD and NLSR are being run in real time.</p>
<p><br>
</p>
<p>Currently richer documentation is not available but Mini-NDN is based on Mininet which has a good documentation for the python API: <a href="https://github.com/mininet/mininet/wiki/Documentation" class="OWAAutoLink" id="LPlnk503748" previewremoved="true">https://github.com/mininet/mininet/wiki/Documentation</a></p>
<p><br>
</p>
<p>Ashlesh</p>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Mini-NDN <mini-ndn-bounces@lists.cs.ucla.edu> on behalf of Nour El Houda Ben Youssef <nou.mail@gmail.com><br>
<b>Sent:</b> Wednesday, December 21, 2016 2:26:24 PM<br>
<b>To:</b> mini-ndn@lists.cs.ucla.edu<br>
<b>Subject:</b> [Mini-NDN] Richer experiment example</font>
<div> </div>
</div>
<div>
<p dir="ltr">Dear community</p>
<p dir="ltr">I'm new with mini ndn<br>
Fortunately installation went fine <br>
I would like now to write an experiment with many data flows between my topology nodes using producers and consumers</p>
<p dir="ltr">Documentation does not really help since only ndnping is showed</p>
<p dir="ltr">Is there any richer experiment example or tutorial ?</p>
<p dir="ltr">My second question is How's to collect metrics once the emulation done ?</p>
<p dir="ltr">Best regards </p>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Dec 21, 2016 6:45 PM, "Nour El Houda Ben Youssef" <<a href="mailto:nou.mail@gmail.com">nou.mail@gmail.com</a>> wrote:<br type="attribution">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<p dir="ltr">Dear community </p>
<p dir="ltr">I'm new with mini ndn<br>
Fortunately installation went fine <br>
I would like now to write an experiment with many data flows between my topology nodes using producers and consumers
</p>
<p dir="ltr">Documentation does not really help since only ndnping is showed </p>
<p dir="ltr">Is there any richer experiment example or tutorial ?</p>
<p dir="ltr">My second question is How's to collect metrics once the emulation done ?</p>
<p dir="ltr">Best regards <br>
</p>
</blockquote>
</div>
</div>
</div>
</body>
</html>