[ndnSIM] PIT lifetime (maximum time = 2s)

Alex Afanasyev alexander.afanasyev at ucla.edu
Fri Jul 12 08:47:09 PDT 2013

Hi Flávio,

This options was meant to define an upper bound on PIT entry lifetime, not the actual lifetime of interests.  However, in the current code, it is not (yet/anymore) used anywhere.

What you would want instead is configure your application.  If you're using ndn::Consumer* app, then you can do it during application creation stage:

  ndn::AppHelper consumerHelper ("ns3::ndn::ConsumerCbr");
  consumerHelper.SetPrefix (prefix);
  consumerHelper.SetAttribute ("LifeTime", TimeValue (Seconds (10.0)));
  consumerHelper.Install (consumerNodes);

On Jul 12, 2013, at 5:45 AM, Flávio Queiroz <flavioqueiroz2004 at hotmail.com> wrote:

> Hi Alex,
> How do I set the PIT lifetime greater than 2s?
> In example "ndn-simple-max-pit-entry-lifetime.cc":
> Config::Set ("/NodeList/1/$ns3::ndn::Pit/MaxPitEntryLifetime",
> TimeValue (Seconds (10.0)));
> the PIT lifetime is 2s.
> ( http://pastebin.com/eSmHKJn6 )
> Thank You,
> Flávio

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20130712/658a6c5d/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 841 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20130712/658a6c5d/attachment.bin>

More information about the ndnSIM mailing list