[ndnSIM] doAfterInsert only being called once?

John Baugh jpbaugh at umich.edu
Fri May 12 23:32:23 PDT 2017


Greetings ndnSIM friends,


I have a configuration with a custom Strategy and custom Policy.  I have a
simple (or at least conceptually simple) scenario set up with two
consumers, a regular node (I guess essentially this is the router), and a
producer.

In my custom Policy, I write to file when doAfterInsert is called.  It only
appears to be called once...  so I get the impression nothing is ever
cached?  My content store and policy have 10 set as the size of the content
store.

So the only thing I'm getting is this:

---------------------------
Just inserted:
/localhost/nfd/fib/add-nexthop/h%1A%07%15%08%09localhost%08%03nfd%08%03ribi%01%00/%01/%2Ahd%B9%1F1U+/%164%1B%01%01%1C%2F%07-%08%05dummy%08%03key%08%03KEY%08%11ksk-1418600391050%08%07ID-CERT/%17%FD%01%00%93%15%09Iy%9E%B7%9C%D3%C1%BFa%89%D5%D9%CA%F2%B0%14%AEr%7C%1F%8F%F5%B1p%D6%9B%8F%F8%D7-%BC%92o%7Dw%96F%EA%D4%7D%90%BCz%EB%E2%03%93%B1%D2b%EC%9D%FF%9C%9C%2A%14%7D%23%CA%29%3D%15%1A%40B%2CY3%8A%F7%C0k%C4%9C%F3%C4%99%A4%1A%60%F5%28%7DL%EFC%7D%BD%7D%00Q%EEA%F5%25%80%CE%E6dOuT%F3%B2%99%9A%0F%93%9A%28%1D%FE%12%8A%E0%C1%02%EB%A45R%88%ACD%1AD%82%97O_%A8%D8%9Fg8%A8d%B6b%99%BD%96%3C%F5%86%09%5C%97k%8F%AE%E0%60%E7%23%98j%EE%C1%B0%14%BEF%2C%FB%A7%27s%E4%F3%263%BA%99%D4%018%A8%F2%9E%87%E0q%0B%25D%075%88%ABg%27V%0E%B5%B5%E8%27%B4I%DC%B8H1%FF%99H%AB%11%B4%A0%DF%8Am%FFCi2%A7%BCc%9D%0F%E0%9546%25K%3E6%BD%81%91%0B%91%9F%3A%04%A2D%28%19%A18%21O%25Y%8AH%C2

Insertion worked!



---------------------------


I assume this is a *control command*, as described in the NFD
documentation, but I don't know why my overall scenario is not working.

Any ideas as to what causes this type of situation?




*For those wanting more information, please see my
scenario:https://github.com/profjpbaugh/ndnSIM-strategy1
<https://github.com/profjpbaugh/ndnSIM-strategy1>*



Thanks,

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


More information about the ndnSIM mailing list