[ndnSIM] Simple PIT statistics information gathering
Alex Afanasyev
alexander.afanasyev at ucla.edu
Sat Feb 15 21:54:49 PST 2014
Hi Junho,
In your scenario, you have to properly set either Size or MaxSeq parameter for ConsumerWindow class. Unfortunately, -1 does not mean infinity.
Another problem is with prefix consumers are using. Consumers send interests /%00, /%00%01, /%00%02, ..., but the prefix that is configured in FIBs is /prefix. As a result, you also not seeing any traffic flow. In your case, it is mandatory that both consumer and producer have the following
consumerHelper.SetPrefix ("/prefix");
..
producerHelper.SetPrefix ("/prefix");
---
Alex
On Feb 10, 2014, at 1:06 AM, Junho Suh <redrattus at gmail.com> wrote:
> Hi All.
>
> The problem I encounter is that subscribers don't seem to send the Interest packet to the publisher.
> To do so, I am trying to write a simple scenario that prints out the PIT statistics of a NDN router. So I configure 10 consumers, a single ndn router and a single publisher. Then I setup ConsumerWindow as AppHelper.
> Here is my script for the scenario.
> <ndn-test.cc>
> What does the script wrong?
>
> Thanks in advance~
>
> Junho Suh_______________________________________________
> 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