[ndnSIM] Get All Faces while implementing custom forwarding strategy

Boubakr Nour n.boubakr at outlook.com
Sun Jan 27 06:28:10 PST 2019


Due to the fact that FIB lists only the list of green faces (ranked interfaces), you may end up by trying to rank the candidate interfaces using your own metrics. In such a scenario, list of available interfaces is also useful.

________________________________
From: ndnSIM <ndnsim-bounces at lists.cs.ucla.edu> on behalf of ANKUR VINEET <h20180144 at pilani.bits-pilani.ac.in>
Sent: Sunday, January 27, 2019 19:24
To: Spyridon (Spyros) Mastorakis
Cc: ndnsim at lists.cs.ucla.edu
Subject: Re: [ndnSIM] Get All Faces while implementing custom forwarding strategy

Well, the issue I was facing was that the FIB was not listing all the paths that were reachable from the node. But as you hinted towards the routing protocol, the issue got resolved by changing the function from GlobalRoutingHelper:: CalculateRoutes() to  GlobalRoutingHelper:: CalculateAllPossibleRoutes().
Thanks,
Ankur Vineet
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20190127/08db325d/attachment-0001.html>


More information about the ndnSIM mailing list