[ndnSIM] error
Alex Afanasyev
alexander.afanasyev at ucla.edu
Sun Feb 17 15:50:41 PST 2013
Yes, thanks for pointing it out.
There was a small regression introduced in this commit. I have pushed the fix (v0.2.5 = c17e4bd2d14), so it should work now.
---
Alex
On Feb 17, 2013, at 11:51 AM, Yaogong Wang <ywang15 at ncsu.edu> wrote:
> I had the same issue. It appeared to be caused by some recent commit (maybe e6c07b5?) since the code worked fine with v0.2.3 but raised the mentioned error with v0.2.4.
>
> Thanks,
> Yaogong
>
> On Sun, Feb 17, 2013 at 2:06 PM, Alex Afanasyev <alexander.afanasyev at ucla.edu> wrote:
> 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)?
>
> ---
> Alex
>
>
>
>
>
>> thanks
>>
>> My Regards,
>> Xiaoke Jiang (蒋小可)
>>
>> Ph.D Candidate,
>> Dept. of Computer Science and Technology,
>> Tsinghua University, P. R. China
>
> _______________________________________________
> ndnSIM mailing list
> ndnSIM at lists.cs.ucla.edu
> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim
>
>
>
>
> --
> ============================
> Yaogong Wang, PhD Candidate
> Department of Computer Science
> North Carolina State University
> http://www4.ncsu.edu/~ywang15/
> ============================
> _______________________________________________
> 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/20130217/ba455ea8/attachment.html>
More information about the ndnSIM
mailing list