[ndnSIM] Content Store data manipulation

Alex Afanasyev alexander.afanasyev at ucla.edu
Thu Nov 14 14:21:38 PST 2013


Hi Isuru,

utils/ folder contain general-use policies and model/cs/ folder contain policy that can be used only with ContentStore.  I would recommend to start with general-use and just peek at ContentStore-specific policy to see how to access information from cached entry.

---
Alex

On Nov 14, 2013, at 9:36 AM, <i.liyanage at surrey.ac.uk> <i.liyanage at surrey.ac.uk> wrote:

> Hi Alex,
> 
> To write a policy which file should I refer to. I noticed the ContentStore implementation in */model/ cs folder and policy file in */utils/ trie folder.
> Could you suggest me good way to start to create a new policy.
> 
> Many thanks,
> Isuru
> 
> From: Alexander Afanasyev <cawka1 at gmail.com> on behalf of Alex Afanasyev <alexander.afanasyev at ucla.edu>
> Sent: 14 November 2013 16:07
> To: Liyanage IU Mr (PG/R - Electronic Eng)
> Cc: ndnsim at lists.cs.ucla.edu
> Subject: Re: [ndnSIM] Content Store data manipulation
>  
> Hi Isuru,
> 
> Since ContentStore is property of the forwarding daemon, there is no application interface to directly manage (add/remove) entries.  You can have full control over the cache content if you write a so-called policy, but this will not be application.
> 
> ---
> Alex
> 
> On Nov 14, 2013, at 3:25 AM, i.liyanage at surrey.ac.uk wrote:
> 
>> Hi,
>> 
>> Is it possible to add/remove Content Store entries using a application on a node.
>> If it is what methods should I use.
>> 
>> many thanks,
>> Isuru
>> _______________________________________________
>> ndnSIM mailing list
>> ndnSIM at lists.cs.ucla.edu
>> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim
> 
> _______________________________________________
> ndnSIM mailing list
> ndnSIM at lists.cs.ucla.edu
> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20131114/5081e8ac/attachment.html>


More information about the ndnSIM mailing list