[ndnSIM] About how to delete data cached in router
Junxiao Shi
shijunxiao at email.arizona.edu
Wed Apr 26 01:25:29 PDT 2017
Hi Xiaochun
>From a CS policy, in addition to detaching the entry from the policy's own
cleanup queue, it is also necessary to inform the CS to delete the entry
from the main lookup index, by emitting a beforeEvict signal.
https://github.com/named-data/NFD/blob/7ee00fb6809ac79e0479515878ad6b6db03dd847/daemon/table/cs-policy.hpp#L102
See NFD developer guide for more information.
Yours, Junxiao
On Tue, Apr 25, 2017 at 06:26 何晓春 <hexiaochun at bupt.edu.cn> wrote:
> I want to delete data cached in router. I have tried :
>
>
> m_queue.relocate(m_queue.begin(), it);
> m_queue.pop_front();
>
> or
>
> m_queue.get<1>().erase(i);
>
>
> but I can still see the name of data in the Visual interface of the ndnsim
> (Show NDN CS)
>
> How can I delete the data ?
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20170426/686d8604/attachment.html>
More information about the ndnSIM
mailing list