[ndnSIM] Implementing Interest Limits in ndnSIM2.0

Alex Afanasyev alexander.afanasyev at ucla.edu
Mon Feb 16 12:09:18 PST 2015

Hi Daniel,

Link capacity is not really a property of nfd::Face.  It can be property of ndn::NetDeviceFace, but even with it it really depends on which specific underlying NetDevice is used.

In 1.0, this worked only for point-to-point links and the capacity was obtained during the construction stage in StackHelper and then it was used to initialize Limits object aggregated on the face by the strategy.  In 2.0, we still can obtain the capacity during the construction, however there is no longer an assumption that there is only one strategy for NDN node (which was true in 1.0).  The question (and the reason it is currently not implemented) where and how to store Limits object on the face.

If you're ok with just one strategy per node, you can make a hack and store map of Face->Limits objects on "/" measurement entry of FIB.  May be you can come up with a better place..


> On Feb 16, 2015, at 5:30 AM, Daniel Posch <poschdaniel2 at gmail.com> wrote:
> Dear all,
> I am trying to re-implement a feature called "Interest Limits", which was available in ndnSIM1.0.
> Its basically a Token Bucket Filter that can be installed on Faces to limited the rate of outgoing Interests.
> However, I can't find a way to retrieve the link capacities of a nfd::Face. Am I correct that this information is not provided by the class nfd::Face and therefore an implementation of "Interest Limits" is not possible within ndnSIM2.0?
> Best regards,
> Daniel

-------------- 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/20150216/938d46aa/attachment.bin>

More information about the ndnSIM mailing list