[ndnSIM] error

Alex Afanasyev alexander.afanasyev at ucla.edu
Sun Feb 17 11:06:59 PST 2013

On Feb 17, 2013, at 12:07 AM, Xiaoke Jiang <shock.jiang at gmail.com> wrote:

> hi all,
> 	I met a error message said: 
> 	"msg="Limits are enabled, but the selected forwarding strategy does not support limits. Please revise your scenario", file=../src/ndnSIM/helper/ndn-stack-helper.cc, line=311
> terminate called without an active exception"
> 	I think I use the right Fowarding strategy:
> ccnxHelper.SetForwardingStrategy ("ns3::ndn::fw::BestRoute::PerOutFaceLimits",
>                                    "Limit", "ns3::ndn::Limits::Window");
> ccnxHelper.EnableLimits(true, Seconds(0.2), 40, 1100);
> What's wrong? anyone can help?	

The strategy is right, it is strange that you're getting the error.  Can you copy/paste here a code from your scenario from creation of the helper till calling Install (Install should be called last, after setting limits and selecting the strategy)?


> thanks
> My Regards,
> Xiaoke Jiang (蒋小可)
> Ph.D Candidate,
> Dept. of Computer Science and Technology,
> Tsinghua University, P. R. China
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20130217/706372e1/attachment.html>

More information about the ndnSIM mailing list