[ndnSIM] How to set attributes for forwarding strategy?
alexander.afanasyev at ucla.edu
Wed Sep 25 21:32:04 PDT 2013
I just want to add two links that provide additional information:
1. Basic usage of the helper http://ndnsim.net/helpers.html#forwarding-strategy
2. SetForwardingStrategy method specification: http://ndnsim.net/doxygen/classns3_1_1ndn_1_1_stack_helper.html#a690d7eabecb40df75f9dba29c117fceb
On Sep 24, 2013, at 7:43 PM, Xiao yan Hu <xhbreezehu at gmail.com> wrote:
> Hi Guys,
> [10:31:22 AM] Xiaoyan Hu: Hi Alex :)
> [10:31:52 AM] Xiaoyan Hu: would you pls tell me how to set Atrribute for Forwarding stategy
> [10:32:14 AM] Alex Afanasyev: the ndn stack helper has method SetForwardingStrategy
> [10:32:48 AM] Alex Afanasyev: this method as a first parameter takes name of the forwarding strategy class, and the rest are pairs of parameters specifying name of the attribute and value of the attribute
> [10:33:09 AM] Xiaoyan Hu: how to set "CacheUnsolicitedData" Attribute
> [10:33:19 AM] Alex Afanasyev: ndn::StackHelper helper;
> [10:33:44 AM] Alex Afanasyev: helper.SetForwardingStrategy ("ns3::ndn::fw::BestRoute", "CacheUnsolicitedData", "true")
> On Tue, Sep 24, 2013 at 9:36 PM, Xiao yan Hu <xhbreezehu at gmail.com> wrote:
> Hi guys.
> Do you have any idea about how to set attributes for forwarding
> strategy since there is no helper for forwarding strategy?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the ndnSIM