[ndnSIM] Manually change face state

Γιαννης Μανωλοπουλος j.manolopoulos at gmail.com
Tue Mar 7 17:29:06 PST 2017


Hello,

I am trying to model link failure between a router and a particular
consumer. The consumer has issued an interest, but the link fails while
awaiting for the data packet. I tried using LinkControlHelper, but it only
sets the error rate of the channel to maximum and won't change consumer
application's face state to DOWN. So, when the data packet arrives at the
router, as far as the forwarder/strategy is concerned, it is forwarded
correctly to the consumer and the pit entry gets deleted eventually,
whereas I want to maintain it for the duration of InterestLifetime or at
least until the link is up again (for experimental purposes).

So I was wondering if there is a way to schedule for this particular face
to change its state to DOWN at a given time, and then change it back to UP
when the link is up again.

Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20170308/bba79843/attachment.html>


More information about the ndnSIM mailing list