[Mini-NDN] how to change CS policy

Saurab Dulal (sdulal) sdulal at memphis.edu
Sun Feb 19 18:40:22 PST 2023


Hi Samir,

There are a couple of ways to change the cs-policy. a) pass it as an argument when initializing nfds in the experiment script. (https://github.com/named-data/mini-ndn/blob/master/examples/mnndn.py#L43)

nfds = AppManager(ndn, ndn.net.hosts, Nfd, csPolicy='priority_fifo', logLevel='DEBUG')

b) can directly modify the nfd.conf file (/etc/ndn/nfd.conf (if installed via package manager) or /usr/local/etc/ndn/nfd.conf (if installed via source))

https://github.com/named-data/NFD/blob/master/nfd.conf.sample.in#L63

Regards,

Saurab Dulal

________________________________
From: Mini-NDN <mini-ndn-bounces at lists.cs.ucla.edu> on behalf of Lan Wang (lanwang) <lanwang at memphis.edu>
Sent: Sunday, February 19, 2023 3:23 PM
To: mini-ndn at lists.cs.ucla.edu <mini-ndn at lists.cs.ucla.edu>
Subject: [Mini-NDN] how to change CS policy



From: Samir Nassane <samir.nassane at gmail.com<mailto:samir.nassane at gmail.com>>
Subject: how to change CS policy
Date: February 19, 2023 at 5:46:37 AM CST
To: mini-ndn at lists.cs.ucla.edu<mailto:mini-ndn at lists.cs.ucla.edu>


Hi
how to change a CS policy in mini-ndn nodes , default policy is LRU.
I want to use FIFO.
thanks



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/mini-ndn/attachments/20230220/f7e4e5ca/attachment.html>


More information about the Mini-NDN mailing list