[Ndn-interest] list of chunks from ndnputchunks
Junior DONGO
junior.dongo at lacl.fr
Wed Oct 18 14:59:13 PDT 2017
Susmit, Klaus,
thanks for your answers.
I will try to print the vector to see.
Using the example of Klaus, suppose I have executed the command for 2 or
3 files and some time later, I want to know the names?
Another question will be, how long will the Data segments be available
on NDN?
Regard,
Junior
On 10/18/2017 10:10 PM, Klaus Schneider wrote:
> 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