[ndnSIM] How to print FIB table?
aa at CS.UCLA.EDU
Thu Jan 21 23:10:50 PST 2016
In theory, you can send interests /localhost/nfd/fib/list and process the result (you can check how it is done in nfd-status implementation).
More practically, in the simulation you can simply enumerate FIB entries. There is a commented out example in `examples/ndn-grid.py` how to do it in python. In C++ it is essentially the same thing, you just need to change to C++ constructs (check mailing list history, I think I showed an example before).
> On Jan 21, 2016, at 10:49 PM, Anil Jangam <anilj.mailing at gmail.com> wrote:
> Is it possible to print the content of FIB table at run time to check what prefixes are configured and on which faces?
> What command is to be used towards NFD to display this information?
> ndnSIM mailing list
> ndnSIM at lists.cs.ucla.edu
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 841 bytes
Desc: Message signed with OpenPGP using GPGMail
More information about the ndnSIM