[ndnSIM] How to set attributes for forwarding strategy?

Alex Afanasyev alexander.afanasyev at ucla.edu
Wed Sep 25 21:32:04 PDT 2013


Thanks Xiaoyan!

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

---
Alex

On Sep 24, 2013, at 7:43 PM, Xiao yan Hu <xhbreezehu at gmail.com> wrote:

> Hi Guys,
> 
> FYI
> 
> [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")
> 
> 
> Thanks,
> Xiaoyan
> 
> 
> 
> 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?
> 
> Thanks,
> Xiaoyan

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20130925/8a4014f2/attachment.html>


More information about the ndnSIM mailing list