[Ndn-interest] list of chunks from ndnputchunks

Klaus Schneider klaus at cs.arizona.edu
Wed Oct 18 13:10:28 PDT 2017


If you use the -v parameter, it already shows you most of the data name:

> sudo ndnputchunks -v /test < test.txt
> Loading input ...
> Created 94 chunks for prefix /test
> Data published with name: /test/%FD%00%00%01_1%17%7B%C1

Then you just need to add a predictable block id for each chunk, like:

> /test/%FD%00%00%01_1%17%7B%C1/%00%00

Best regards,
Klaus


On 10/18/2017 08:11 AM, Susmit wrote:
> ndnputchunks keeps chunks in a std::vector.
> https://github.com/named-data/ndn-tools/blob/11e74eb20f917a5fb77024f57cdd65f2dd4103a2/tools/chunks/putchunks/producer.hpp#L95
> 
> You can add some print statements in the code after the vector is
> populated, around line 135 in producer.cpp.
> 
> On Wed, Oct 18, 2017 at 7:57 AM, Junior DONGO <junior.dongo at lacl.fr> wrote:
>> Hi all,
>>
>> Is there a way to find the list of published data using ndnputchunks?
>>
>> For example :
>>
>> ndnputchunks -p ndn:/localhost/demo/gpl3 < /usr/share/common-licenses/GPL-3
>>
>> how to get all the name of data published by a node?
>>
>> Thanks for your help
>>
>> Junior
>>
>>
>>
>>
>>
>>
>> _______________________________________________
>> Ndn-interest mailing list
>> Ndn-interest at lists.cs.ucla.edu
>> http://www.lists.cs.ucla.edu/mailman/listinfo/ndn-interest
>>
> 
> 
> 


More information about the Ndn-interest mailing list