[ndnSIM] set individual cache sizes
NDIKUMANA ANSELME
anselme333 at gmail.com
Fri Apr 8 19:52:10 PDT 2016
Hi,
I am trying to set individual cache sizes in some nodes based
on ndn-simple-with-different-sizes-content-store.cc example, and when i
checked CS entries in these nodes, there are no entries. Any hint on how to
fix this, will be appreciated.
ndn::StackHelper ndnHelper;
ndnHelper.SetOldContentStore("ns3::ndn::cs::Freshness::Lru");
ndnHelper.InstallAll()
//set individual cache sizes on nodes
Config::Set ("/NodeList/9/$ns3::ndn::ContentStore/MaxSize",
UintegerValue(100000));
Config::Set ("/NodeList/11/$ns3::ndn::ContentStore/MaxSize",
UintegerValue(100000));
Config::Set ("/NodeList/12/$ns3::ndn::ContentStore/MaxSize",
UintegerValue(100000));
Config::Set ("/NodeList/1/$ns3::ndn::ContentStore/MaxSize",
UintegerValue(10000));
Config::Set ("/NodeList/3/$ns3::ndn::ContentStore/MaxSize",
UintegerValue(10000));
Config::Set ("/NodeList/4/$ns3::ndn::ContentStore/MaxSize",
UintegerValue(10000));
//Config::Set ("/NodeList/CRouter4/$ns3::ndn::ContentStore/MaxSize",
UintegerValue (10000));
//Config::Set
("/NodeList/node->GetId(CRouter4)/$ns3::ndn::ContentStore/MaxSize",
UintegerValue (10000));
With Regards,
Anselme N.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20160409/e9674817/attachment.html>
More information about the ndnSIM
mailing list