[ndnSIM] How to dynamically install producer in the runtime?

Spyridon (Spyros) Mastorakis spiros.mastorakis at gmail.com
Mon Apr 13 10:26:56 PDT 2015


Hello,

there can be a number of reasons for that...

A probable reason could be that you do not install the FIB entries on the nodes in the appropriate way for the interest forwarding that you want to achieve.

--
Spyridon (Spyros) Mastorakis
Personal Website: http://cs.ucla.edu/~mastorakis/
Internet Research Laboratory
PhD Computer Science
UCLA




> On Apr 12, 2015, at 10:24 AM, 虞龙煜 <yunlzy at 126.com> wrote:
> 
> Hello all:
>          I want to simulate a system with p2p function, so i need to dynamically add producer in the runtime.
>          but when I try to install producer in my client like below:
>                producerHelper.SetPrefix(name);
>                producerHelper.Install(GetNode());
>          Only the last interest can be satisfied. log looks like this:
>          4 : new producer for/1
>          4 : new producer for/2
>          4 : new producer for/3
>          4 : new producer for/4
>          4 : new producer for/5
>          3 : send interest /1
>          3 : send interest /2
>          3 : send interest /3
>          3 : send interest /4
>          3 : send interest /5
>          4 : send Data packet for /5
>          Only the fifth interest is satisfied.
>          I want to know is there some way to deal with this problem?
>          Sorry for my poor english and thanks for help.         
> Long Yu
> 
> 
> _______________________________________________
> ndnSIM mailing list
> ndnSIM at lists.cs.ucla.edu
> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim





More information about the ndnSIM mailing list