[ndnSIM] Network metrics for custom forwarding strategy
Spyridon (Spyros) Mastorakis
mastorakis at cs.ucla.edu
Tue Oct 10 10:11:22 PDT 2017
Hi,
you should create some kind of helper that you can use in your simulation scenario, so that you make those attributes accessible to the forwarding strategy. I am not sure if getting access to the instance of a Node from the forwarding strategy could help, but you can take a look at the NS-3 documentation:
https://www.nsnam.org/documentation/
Thanks,
Spyridon (Spyros) Mastorakis
Personal Website: http://cs.ucla.edu/~mastorakis/ <http://cs.ucla.edu/~mastorakis/>
Internet Research Laboratory
Computer Science Department
UCLA
> On Oct 9, 2017, at 2:27 PM, Хайрулло Рустамов <khairullo.94 at gmail.com> wrote:
>
> Hi all,
>
> I want to use link bandwidth and link delay and hop count to tell forwarding strategy to make decision when forwarding interest.
> So for example if there are multiple outgoing interfaces(or next hops) for an interest the preferred interface would be the one with minimal cost (cost is a composition of those mentioned above metrics) to send.
>
> I do not know how to get link delay and link bandwidth values.
> Any advice?
>
> Thank you for your time!
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20171010/b5244b20/attachment.html>
More information about the ndnSIM
mailing list