[ndnSIM] ndn router setting

Junxiao Shi shijunxiao at email.arizona.edu
Wed Jul 17 12:09:56 PDT 2019

Hi babak

Spyros rated this as "no easy way" but I would rate this as "easy", because
NFD's CS recently gained a pair of enablement flags.

   1. Initially, iterate over every node, get a hold of its CS, and invoke
   cs.enableAdmit(false) so that the cache does not admit any packets.
   2. Schedule an event at certain time that invokes cs.enableAdmit(true) ,
   after which the cache starts admitting packets.

Yours, Junxiao

On Wed, Jul 17, 2019 at 1:07 AM babak nikmard via ndnSIM <
ndnsim at lists.cs.ucla.edu> wrote:

> dear every one
> can any body help to solve this problem?
> i really want to know how can i set intermediate cache routers, to cache
> something at specific start and stop time . for example start caching at
> sec(5) or stop at any different time... starting time of caching is
> important for me🙏
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20190717/50fc6d28/attachment.html>

More information about the ndnSIM mailing list