<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
For setting up content publishing and fetching, an example using ndnping (make sure ndn-tools is installed in the system) is here:</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<a href="https://github.com/named-data/mini-ndn/blob/76dbe6633c10f4e833c9329482b10b8b44a0417d/examples/nlsr/pingall.py#L55" id="LPlnk212037">https://github.com/named-data/mini-ndn/blob/76dbe6633c10f4e833c9329482b10b8b44a0417d/examples/nlsr/pingall.py#L55</a></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<a href="https://github.com/named-data/mini-ndn/blob/76dbe6633c10f4e833c9329482b10b8b44a0417d/minindn/helpers/experiment.py#L69" id="LPlnk582507">https://github.com/named-data/mini-ndn/blob/76dbe6633c10f4e833c9329482b10b8b44a0417d/minindn/helpers/experiment.py#L69</a></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Usually the model is, install app to the system so it is available in path (like ndnping here) and call it on Mininet nodes.<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
To set cs policy, pass the csPolicy argument when setting up NFD using AppManager:</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<a href="https://github.com/named-data/mini-ndn/blob/76dbe6633c10f4e833c9329482b10b8b44a0417d/minindn/apps/nfd.py#L30" id="LPlnk671325">https://github.com/named-data/mini-ndn/blob/76dbe6633c10f4e833c9329482b10b8b44a0417d/minindn/apps/nfd.py#L30</a></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<a href="http://minindn.memphis.edu/experiment.html#sample" id="LPlnk140601">http://minindn.memphis.edu/experiment.html#sample</a></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
You can check if it is set in /tmp/minindn/<node-name>/nfd.conf<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Thanks</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Ashlesh<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>From:</b> Mini-NDN <mini-ndn-bounces@lists.cs.ucla.edu> on behalf of Lan Wang (lanwang) <lanwang@memphis.edu><br>
<b>Sent:</b> Monday, May 11, 2020 11:09 PM<br>
<b>To:</b> Nazatul Haque Sultan via Mini-NDN <mini-ndn@lists.cs.ucla.edu><br>
<b>Subject:</b> [Mini-NDN] Fwd: Request for help</font>
<div> </div>
</div>
<div class="" style="word-wrap:break-word; line-break:after-white-space"><br class="">
<div><br class="">
<blockquote type="cite" class="">
<div class="">Begin forwarded message:</div>
<div class="" style="margin-top:0px; margin-right:0px; margin-bottom:0px; margin-left:0px">
<br class="">
</div>
<div class="">
<div class="" style="margin-top:0px; margin-right:0px; margin-bottom:0px; margin-left:0px">
<span class="" style="color:rgba(127,127,127,1.0)"><b class="">From: </b></span><span class="" style="">Ritu Bordoloi <<a href="mailto:bordoloi.ritu1988@gmail.com" class="">bordoloi.ritu1988@gmail.com</a>><br class="">
</span></div>
<div class="" style="margin-top:0px; margin-right:0px; margin-bottom:0px; margin-left:0px">
<span class="" style="color:rgba(127,127,127,1.0)"><b class="">Subject: </b></span><span class="" style=""><b class="">Request for help</b><br class="">
</span></div>
<div class="" style="margin-top:0px; margin-right:0px; margin-bottom:0px; margin-left:0px">
<span class="" style="color:rgba(127,127,127,1.0)"><b class="">Date: </b></span><span class="" style="">May 11, 2020 at 10:39:46 PM CDT<br class="">
</span></div>
<div class="" style="margin-top:0px; margin-right:0px; margin-bottom:0px; margin-left:0px">
<span class="" style="color:rgba(127,127,127,1.0)"><b class="">To: </b></span><span class="" style=""><a href="mailto:mini-ndn@lists.cs.ucla.edu" class="">mini-ndn@lists.cs.ucla.edu</a><br class="">
</span></div>
<br class="">
<br class="">
<div dir="ltr" class="">
<div class="x_gmail_default" style="font-family:verdana,sans-serif">Hi,</div>
<div class="x_gmail_default" style="font-family:verdana,sans-serif">
<div class="x_gmail_default"><br class="">
</div>
<div class="x_gmail_default">I am new in Mini-NDN. I am finding some difficulties in doing an experiment. </div>
<div class="x_gmail_default"><br class="">
</div>
<div class="x_gmail_default">If I would like to perform a simple experiment of the followings:</div>
<div class="x_gmail_default"><br class="">
</div>
<div class="x_gmail_default">1. A host sends interest packets to a Content Provider</div>
<div class="x_gmail_default"><br class="">
</div>
<div class="x_gmail_default">2. If the requested content is in the content store of the intermediate routers, the router sends the data back to the host.
<br class="">
</div>
<div class="x_gmail_default"><br class="">
</div>
<div class="x_gmail_default">3. Otherwise, the Content Provider sends the data packets to the host and intermediate routers keep a copy of the data in its content stores.<br class="">
</div>
<div class="x_gmail_default"><br class="">
</div>
<div class="x_gmail_default">4. I would like to use LRU content replacement policy at the content stores</div>
<div class="x_gmail_default"><br class="">
</div>
<div class="x_gmail_default">I look for the generation of interest packets, data packets and content replacement polices in the Mini-NDN documentation, I could not find much details. I will be grateful if someone can give me suggestions in this regard.</div>
<div class="x_gmail_default"><br class="">
</div>
<div class="x_gmail_default">Thank you.</div>
<div class=""><br class="">
</div>
-- <br class="">
<div dir="ltr" class="x_gmail_signature">
<div dir="ltr" class="">
<div class="">Regards,</div>
Ritu Bordoloi</div>
</div>
</div>
</div>
<br class="">
<br class="">
</div>
</blockquote>
</div>
<br class="">
</div>
</body>
</html>