<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p style="margin-top:0;margin-bottom:0">You can advertise the route from producer using "nlsrc advertise" or</p>
<p style="margin-top:0;margin-bottom:0">add a route manually using "nfdc route"</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">Ashlesh<br>
</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> sepehr abdous <sepehrabdous1375@gmail.com><br>
<b>Sent:</b> Monday, October 8, 2018 6:58:28 AM<br>
<b>To:</b> Ashlesh Gawande (agawande)<br>
<b>Cc:</b> mini-ndn@lists.cs.ucla.edu<br>
<b>Subject:</b> Re: [Mini-NDN] Content placement</font>
<div> </div>
</div>
<meta content="text/html; charset=utf-8">
<div>
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div>Thank you very much for your response.</div>
<div><br>
</div>
<div>Lets say I have two hosts in my topology (producer and consumer) connected via link.</div>
<div>I executed the following commands in minindn terminal:</div>
<div><br>
</div>
<div>$ producer ndnputchunks ndn:/producer/hello < hello &</div>
<div>$ consumer ndncatchunks -d iterative ndn:/producer/hello</div>
<div><br>
</div>
<div>but I ran into the following error:</div>
<div><br>
</div>
<div>WARNING: Interest.CanBePrefix will be set to 0 in the near future. Please declare a preferred setting via Interest::setDefaultCanBePrefix.WARNING: Interest.CanBePrefix will be set to 0 in the near future. Please declare a preferred setting via Interest::setDefaultCanBePrefix.ERROR:
 Could not retrieve data for /producer/hello, reason: NoRoute<br>
</div>
<div><br>
</div>
<div>How can I access a file published by producer from consumer?</div>
<div><br>
</div>
<div>Best,</div>
<div>Sepehr<br>
</div>
</div>
</div>
</div>
</div>
<br>
<div class="x_gmail_quote">
<div dir="ltr">On Tue, Oct 2, 2018 at 8:16 PM Ashlesh Gawande (agawande) <<a href="mailto:agawande@memphis.edu">agawande@memphis.edu</a>> wrote:<br>
</div>
<blockquote class="x_gmail_quote" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
<div dir="ltr">
<div id="x_m_3769625887571516116divtagdefaultwrapper" dir="ltr" style="font-size:12pt; color:#000000; font-family:Calibri,Helvetica,sans-serif">
<p style="margin-top:0; margin-bottom:0">For file distribution you can look at chunks:</p>
<p style="margin-top:0; margin-bottom:0"><a href="https://github.com/named-data/ndn-tools/tree/master/tools/chunks" class="x_m_3769625887571516116OWAAutoLink" id="x_m_3769625887571516116LPlnk957404" target="_blank">https://github.com/named-data/ndn-tools/tree/master/tools/chunks</a></p>
<p style="margin-top:0; margin-bottom:0"><br>
</p>
<p style="margin-top:0; margin-bottom:0">For modifying cache sizes per node you need to modify this loop:</p>
<p style="margin-top:0; margin-bottom:0"><a href="https://github.com/named-data/mini-ndn/blob/master/bin/minindn#L408" class="x_m_3769625887571516116OWAAutoLink" id="x_m_3769625887571516116LPlnk627068" target="_blank">https://github.com/named-data/mini-ndn/blob/master/bin/minindn#L408</a></p>
<p style="margin-top:0; margin-bottom:0">to pass your custom cs size for each node.<br>
</p>
<p style="margin-top:0; margin-bottom:0"><br>
</p>
<p style="margin-top:0; margin-bottom:0">Ashlesh<br>
</p>
</div>
<hr style="display:inline-block; width:98%">
<div id="x_m_3769625887571516116divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Mini-NDN <<a href="mailto:mini-ndn-bounces@lists.cs.ucla.edu" target="_blank">mini-ndn-bounces@lists.cs.ucla.edu</a>>
 on behalf of sepehr abdous <<a href="mailto:sepehrabdous1375@gmail.com" target="_blank">sepehrabdous1375@gmail.com</a>><br>
<b>Sent:</b> Sunday, September 30, 2018 3:55:08 AM<br>
<b>To:</b> <a href="mailto:mini-ndn@lists.cs.ucla.edu" target="_blank">mini-ndn@lists.cs.ucla.edu</a><br>
<b>Subject:</b> [Mini-NDN] Content placement</font>
<div> </div>
</div>
<div>
<div dir="ltr">
<div>Hello all,</div>
<div>I am working with ndn and during my recent simulation I need to distribute 100 files uniformly on a number of servers and then calculate the maximum load based on different cache sizes and distinct server numbers so all in all I need to do some content
 placement using mini-ndn. But I do not know the way of doing this so I'm stuck.</div>
<div><br>
</div>
<div>I would appreciate any help.</div>
<div><br>
</div>
<div>Best,</div>
<div>Sepehr<br>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br clear="all">
<br>
-- <br>
<div dir="ltr" class="x_gmail_signature">
<div dir="ltr">
<div>
<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:+989129751873<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>
</body>
</html>