[ndnSIM] custom fw strategy

Alex Afanasyev alexander.afanasyev at ucla.edu
Sun Mar 22 07:33:50 PDT 2015


Before running InstallAll method, you would also need to call

  StrategyChoiceHelper::Install<nfd::fw::BestRouteStrategy3>(someNode, prefix);

(this will make sure strategy is available on node “someNode”).


> On Mar 22, 2015, at 4:53 AM, 최원준 <wonjunchoi001 at gmail.com> wrote:
> Hello.
> I want to make custom fw strategy
> I made best-route3.cpp, hpp files in daemon/fw folder
> I declared like this:
> const Name BestRouteStrategy3::STRATEGY_NAME("ndn:/localhost/nfd/strategy/best-route3");
> I ran this code.
> ndn::StrategyChoiceHelper::InstallAll("/prefix", "/localhost/nfd/strategy/best-route3");
> but it was not working. I don't know why. please let me know.
> Best regards.
> Wonjun, Choi
> _______________________________________________
> ndnSIM mailing list
> ndnSIM at lists.cs.ucla.edu
> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 841 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20150322/ff81abab/attachment.bin>

More information about the ndnSIM mailing list