[ndnSIM] Setting up link metric
Spyridon (Spyros) Mastorakis
mastorakis at CS.UCLA.EDU
Fri Feb 19 19:49:52 PST 2016
Hi Ahmed,
the first case refers to the establishment of a route that may be used for Interest forwarding. Specifically, the FibHelper will add the appropriate FIB entries on the routers across the specified path.
The second case refers to the physical properties (bandwidth, delay, queue size) of a link between two adjacent nodes.
Hope that this helps. Please let me know if you have any follow-up questions.
Spyridon (Spyros) Mastorakis
Personal Website: http://cs.ucla.edu/~mastorakis/ <http://cs.ucla.edu/~mastorakis/>
Internet Research Laboratory
Computer Science Department
UCLA
> On Feb 16, 2016, at 3:48 AM, Ahmed Sadek <don1559 at gmail.com> wrote:
>
> Dear All,
>
> What is the difference between setting up the metric in the simulation file :
> ndn::FibHelper::AddRoute("client", "/", "router1", 150);
>
> Or in the topology file:
> # srcNode dstNode bandwidth metric delay queue
> client router1 20Mbps 150 50ms 50
>
> And which one take priority?
>
> Thanks!
> Ahmed
> _______________________________________________
> ndnSIM mailing list
> ndnSIM at lists.cs.ucla.edu
> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20160219/addce046/attachment.html>
More information about the ndnSIM
mailing list