[ndnSIM] A question about ndnSim routing item
Alex Afanasyev
alexander.afanasyev at ucla.edu
Fri Nov 1 15:08:15 PDT 2013
Hi Xu,
I hope the list you showed is not for the same node, otherwise something is strange.
You can see the implementation detail on what is printed inside in model/ndn-net-device-face.cc and model/fw/ndn-fib-entry.cc (last methods), but here is brief summary:
dev[0]=net(0,0-4)(2,y,1)
for NetDeviceFace with PointToPointNetDevice
dev[<NODE ID>) = net(<FACE-ID>, <NODE-ID of one side of P2PChannel>-<NODE-ID of the other side of the channel))(<TOTAL-ROUTING-COST>, <STATUS-Y-for-yellow-G-for-gree-R-for-red>, <FACE-METRIC>)
for AppFace
dev = local(<FACE-ID>)
---
Alex
On Oct 22, 2013, at 7:22 PM, xuzhw2001 at gmail.com wrote:
> Hi, Alex
>
> I have written some experiments on ndnSim recently. Now, I have two problem about the routing process in ndnSim.
> (1) I can't understand the detail of the routing item which I got in my experiment, listed as below:
> /root dev[0]=net(0,0-4)(2,y,1)
> /root dev[0]=net(0,0-4)(2,y,1)
> /root dev[4]=net(2,4-6)(1,y,1)
> /root dev[4]=net(2,4-6)(1,y,1)
> /root dev=local(2)(0,g,0)
> /root dev=local(2)(0,g,0)
>
> Can you do me a favor to explain the meaning of the parts in these routing items? Thanks a lot.
> xu zhiwei
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20131101/33581ce3/attachment.html>
More information about the ndnSIM
mailing list