[Mini-NDN] Content placement

Ashlesh Gawande (agawande) agawande at memphis.edu
Mon Oct 8 14:50:02 PDT 2018


You can advertise the route from producer using "nlsrc advertise" or

add a route manually using "nfdc route"


Ashlesh

________________________________
From: sepehr abdous <sepehrabdous1375 at gmail.com>
Sent: Monday, October 8, 2018 6:58:28 AM
To: Ashlesh Gawande (agawande)
Cc: mini-ndn at lists.cs.ucla.edu
Subject: Re: [Mini-NDN] Content placement

Thank you very much for your response.

Lets say I have two hosts in my topology (producer and consumer) connected via link.
I executed the following commands in minindn terminal:

$ producer ndnputchunks ndn:/producer/hello < hello &
$ consumer ndncatchunks -d iterative ndn:/producer/hello

but I ran into the following error:

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

How can I access a file published by producer from consumer?

Best,
Sepehr

On Tue, Oct 2, 2018 at 8:16 PM Ashlesh Gawande (agawande) <agawande at memphis.edu<mailto:agawande at memphis.edu>> wrote:

For file distribution you can look at chunks:

https://github.com/named-data/ndn-tools/tree/master/tools/chunks


For modifying cache sizes per node you need to modify this loop:

https://github.com/named-data/mini-ndn/blob/master/bin/minindn#L408

to pass your custom cs size for each node.


Ashlesh

________________________________
From: Mini-NDN <mini-ndn-bounces at lists.cs.ucla.edu<mailto:mini-ndn-bounces at lists.cs.ucla.edu>> on behalf of sepehr abdous <sepehrabdous1375 at gmail.com<mailto:sepehrabdous1375 at gmail.com>>
Sent: Sunday, September 30, 2018 3:55:08 AM
To: mini-ndn at lists.cs.ucla.edu<mailto:mini-ndn at lists.cs.ucla.edu>
Subject: [Mini-NDN] Content placement

Hello all,
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.

I would appreciate any help.

Best,
Sepehr


--
Sepehr Abdous
Faculty: abdous at ce.sharif.edu<mailto:abdous at ce.sharif.edu>
Yahoo mail: sepehrabdous at yahoo.com<mailto:sepehrabdous at yahoo.com>
Cellphone:+989129751873
School of computer engineering
Sharif University of Technology
Tehran, Iran
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/mini-ndn/attachments/20181008/0bc4469e/attachment-0001.html>


More information about the Mini-NDN mailing list