[ndnSIM] Help Custom Forwarding

bouchrit leila bouchritleila at gmail.com
Tue Jul 16 12:28:09 PDT 2019


thank you very much Klaus Schneider for the answer,
Sorry for receiving two messages, there are non-functional links.

Here are the different files:






** Test file using the
strategy:https://drive.google.com/open?id=1JulWQzeh5alEpxDS5kQSS7vBZvK9lJNP
<https://drive.google.com/open?id=1JulWQzeh5alEpxDS5kQSS7vBZvK9lJNP>*
The Custom Strategy
files:https://drive.google.com/open?id=1TSJATh7E8w0XUuKQsAkt4fnRlhSAPrwh
<https://drive.google.com/open?id=1TSJATh7E8w0XUuKQsAkt4fnRlhSAPrwh>https://drive.google.com/open?id=1HLzBq8Mcq6Dwd48BPfm5Z4dHCdiA3j8Y
<https://drive.google.com/open?id=1HLzBq8Mcq6Dwd48BPfm5Z4dHCdiA3j8Y>*

when i run with ndn.Producer it shows me this:
https://drive.google.com/open?id=1RTyVdOgORVIZuK6MNMyosMeraRRM7pLL

but when i put my custom producer:
https://drive.google.com/open?id=11hqpr04710H_LR_7t0RZFPYQL3YRGaM8

he displays this message:
https://drive.google.com/open?id=1oqvns-4L5JLliHjZtDH7ss_ueEvET_6G

besides I try to debug my strategy it does not show anything, can you
help me to solve it.
thank you very much for your time and listen.


Le mar. 16 juil. 2019 à 21:17, bouchrit leila <bouchritleila at gmail.com> a
écrit :

> thank you very much Klaus Schneider for the answer,
>
> Here are the different files:
>
>
>
>
>
>
> ** Test file using the strategy:https://drive.google.com/drive/folders/1DgNXvyRz4Xdd6BVPv5-Sexb-d1V1NtAS <https://drive.google.com/drive/folders/1DgNXvyRz4Xdd6BVPv5-Sexb-d1V1NtAS>* The Custom Strategy files:https://drive.google.com/drive/folders/1DgNXvyRz4Xdd6BVPv5-Sexb-d1V1NtAS <https://drive.google.com/drive/folders/1DgNXvyRz4Xdd6BVPv5-Sexb-d1V1NtAS>https://drive.google.com/open?id=1HLzBq8Mcq6Dwd48BPfm5Z4dHCdiA3j8Y <https://drive.google.com/open?id=1HLzBq8Mcq6Dwd48BPfm5Z4dHCdiA3j8Y>*
>
> when i run with ndn.Producer it shows me this:
> https://drive.google.com/open?id=1RTyVdOgORVIZuK6MNMyosMeraRRM7pLL
>
> but when i put my custom producer:
> https://drive.google.com/open?id=11hqpr04710H_LR_7t0RZFPYQL3YRGaM8
>
> he displays this message:
> https://drive.google.com/open?id=1oqvns-4L5JLliHjZtDH7ss_ueEvET_6G
>
> besides I try to debug my strategy it does not show anything, can you help me to solve it.
> thank you very much for your time and listen.
>
>
> Le mar. 16 juil. 2019 à 00:32, Klaus Schneider <klaus at cs.arizona.edu> a
> écrit :
>
>> Dear Bouchrit,
>>
>> Maybe if you can post your strategy file and simulation script, people
>> will be able to help.
>>
>> It may also help to enable debug logging
>> (https://www.nsnam.org/docs/manual/html/logging.html) and post the
>> output.
>>
>>
>> Best regards,
>> Klaus
>>
>>
>>
>> On 7/15/19 12:33 AM, bouchrit leila via ndnSIM wrote:
>> > Hi all,
>> >
>> > Hi, can anyone answer to this question please? I'm still unable to
>> solve it.
>> >
>> >
>> > Le dim. 7 juil. 2019 à 12:08, bouchrit leila <bouchritleila at gmail.com
>> > <mailto:bouchritleila at gmail.com>> a écrit :
>> >
>> >     Hi all,
>> >
>> >     I tried to implement my new custom strategy, I followed the
>> >     instructions  mentionned in the  below link:
>> >
>> https://github.com/named-data-ndnSIM/NFD/blob/38111cde9bab698f6eaf1a9d430130c2cbb3eca4/daemon/fw/multicast-strategy.cpp#L32-L33
>> >
>> >     It compiled but the problem is always in the execution step, so I
>> >     think that the question is how to link my strategy in such scenario?
>> >     I used this instruction
>> >     "ndn::StrategyChoiceHelper::InstallAll("/prefix",
>> >     "/localhost/nfd/strategy/HashStrategy");" but  without result.
>> >
>> >     Please, I need your help, would you please send me all details to
>> >     get the solution?
>> >
>> >     Thank you in advance,
>> >     Best regards,
>> >
>> >
>> > _______________________________________________
>> > 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/20190716/1a839146/attachment-0001.html>


More information about the ndnSIM mailing list