[Mini-NDN] [EXT] /examples/traffic_generator.py Question

Jhaell Jimenez jimenj16 at unlv.nevada.edu
Tue Mar 29 19:29:28 PDT 2022


Thank you for the clarification.

So how should I go about making my own server and client, would it be safe
to disregard the ndn-traffic-generator package altogether? And look at the
consumer_producer.py example as well for reference?

Best,
J.

On Tue, Mar 29, 2022 at 7:20 PM Junxiao Shi <shijunxiao at email.arizona.edu>
wrote:

> Hi Jhaell
>
> traffic_generator in this context refers to ndn-traffic-generator package.
> It has nothing to do with your own server and client programs.
>
> ndn-traffic-client.conf.sample and ndn-traffic-server.conf.sample are
> installed by ndn-traffic-generator package.
> The script searches these files in two places, because Debian package
> installs them in /etc/ndn while source code installs them in
> /usr/local/etc/ndn.
>
> Yours, Junxiao
>
> On Tue, Mar 29, 2022, 22:15 Jhaell Jimenez via Mini-NDN <
> mini-ndn at lists.cs.ucla.edu> wrote:
>
>> *External Email*
>> Hello,
>>
>> When trying to discern the traffic_generator in the examples folder on
>> the Github (
>> https://github.com/named-data/mini-ndn/blob/master/examples/traffic_generator.py)
>>
>>
>> I am confused about what lines 78 and 79 do.
>> possibleServerConfPath = ["/etc/ndn/ndn-traffic-server.conf.sample",
>> "/usr/local/etc/ndn/ndn-traffic-server.conf.sample"]
>> possibleClientConfPath = ["/etc/ndn/ndn-traffic-client.conf.sample",
>> "/usr/local/etc/ndn/ndn-traffic-client.conf.sample"]
>>
>> Are these additional configuration files that I will need if I want to
>> add my own server/client program?
>>
>> I understand the chances with configuration files for topologies, so is
>> this the same concept? And how can I implement it if that is the case?
>>
>> Thank you,
>>
>> Best,
>> J.
>> _______________________________________________
>> Mini-NDN mailing list
>> Mini-NDN at lists.cs.ucla.edu
>> https://www.lists.cs.ucla.edu/mailman/listinfo/mini-ndn
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/mini-ndn/attachments/20220329/c3f7f12e/attachment.html>


More information about the Mini-NDN mailing list