[Mini-NDN] how to write new CS policy

Saurab Dulal (sdulal) sdulal at memphis.edu
Mon Feb 20 06:03:45 PST 2023


Mini-NDN is an NDN emulator. It runs real instances of NFD and other packages. If you want to implement your own replacement policy, you will have to do that in the NFD. For example, you can check how lru is implemented (e.g. https://github.com/named-data/NFD/blob/master/daemon/table/cs-policy-lru.hpp) and try to do something similar for your own custom policy.

Once the policy is implemented/available in the NFD, it will be automatically available in Mini-NDN (emulator).

Regards,
Saurab




________________________________
From: Samir Nassane <samir.nassane at gmail.com>
Sent: Monday, February 20, 2023 4:57 AM
To: Saurab Dulal (sdulal) <sdulal at memphis.edu>
Cc: Lan Wang (lanwang) <lanwang at memphis.edu>; mini-ndn at lists.cs.ucla.edu <mini-ndn at lists.cs.ucla.edu>
Subject: how to write new CS policy

CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and trust the content is safe.

Hi
How to implement my own CS remplacement policy in Mini -NDN.
Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/mini-ndn/attachments/20230220/e0c3651b/attachment.html>


More information about the Mini-NDN mailing list