<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Hi Marwa, </div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Please see the inline answers. </div>
<div id="Signature">
<div>
<div id="divtagdefaultwrapper" style="font-size:12pt; color:#000000; background-color:#FFFFFF; font-family:Calibri,Arial,Helvetica,sans-serif">
</div>
</div>
</div>
<div id="appendonsend"></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Mini-NDN <mini-ndn-bounces@lists.cs.ucla.edu> on behalf of Lan Wang (lanwang) <lanwang@memphis.edu><br>
<b>Sent:</b> Thursday, September 24, 2020 9:03 AM<br>
<b>To:</b> Junxiao Shi via Mini-NDN <mini-ndn@lists.cs.ucla.edu><br>
<b>Subject:</b> [Mini-NDN] beginner in mini-ndn</font>
<div> </div>
</div>
<div class="" style="word-wrap:break-word; line-break:after-white-space"><br class="">
<div><br class="">
<blockquote type="cite" class="">
<div class="">Begin forwarded message:</div>
<div class="" style="margin-top:0px; margin-right:0px; margin-bottom:0px; margin-left:0px">
<br class="">
</div>
<br class="">
<div class="">The attached message has been automatically discarded.<br class="">
<div class="" style="margin-top:0px; margin-right:0px; margin-bottom:0px; margin-left:0px">
<span class="" style="color:rgba(127,127,127,1.0)"><b class="">From: </b></span><span class="" style="">marwa kareem <<a href="mailto:m.kareem1305@coeng.uobaghdad.edu.iq" class="">m.kareem1305@coeng.uobaghdad.edu.iq</a>><br class="">
</span></div>
<div class="" style="margin-top:0px; margin-right:0px; margin-bottom:0px; margin-left:0px">
<span class="" style="color:rgba(127,127,127,1.0)"><b class="">Subject: </b></span><span class="" style=""><b class="">beginner in mini-ndn</b><br class="">
</span></div>
<div class="" style="margin-top:0px; margin-right:0px; margin-bottom:0px; margin-left:0px">
<span class="" style="color:rgba(127,127,127,1.0)"><b class="">Date: </b></span><span class="" style="">September 24, 2020 at 6:54:33 AM CDT<br class="">
</span></div>
<div class="" style="margin-top:0px; margin-right:0px; margin-bottom:0px; margin-left:0px">
<span class="" style="color:rgba(127,127,127,1.0)"><b class="">To: </b></span><span class="" style=""><a href="mailto:mini-ndn@lists.cs.ucla.edu" class="">mini-ndn@lists.cs.ucla.edu</a><br class="">
</span></div>
<br class="">
<br class="">
<div dir="ltr" class="">Hello mini-ndn team
<div class=""><br class="">
</div>
<div class="">I'm still a beginner in mini-ndn , I read the documentation and implemented the ping stuff in the command line, but now I'm stuck in the next step, so could you please help me.</div>
<div class=""><br class="">
</div>
<div class="">1-I want to implement a consumer/producer scenario however I don't know how to begin with that, there is consumer/producer program files in the ndn-cxx folder but i don't know how to use them, I try to run ./build/examples/producer.cpp but it
 don't work.</div>
</div>
</div>
</blockquote>
<div class="">I don't understand what do you mean by "it didn't work". If you want to test how the consumer/producer in the example folder of ndn-cxx works, you must compile ndn-cxx with examples i.e. ./waf configure --with-examples && ./waf build && sudo ./waf
 install. This will create a consumer/producer app in ./build/examples/ folder. Now you can simply run the producer app first and then consumer app to see the basic interest data exchange. Remember to run nfd before testing consumer/producer. Just wanted to
 make you clear that this has nothing to do with Mini-NDN. In Mini-NDN, you can use any app/tools or whatever and can run it from a node. Say, you have a consumer app installed in your system. Now, you can simply run
<b><node> consumer</b> from Mini-NDN CLI or do the same from the experiment. Please look at: ndn-tools (<a href="https://github.com/named-data/ndn-tools" id="LPlnk">https://github.com/named-data/ndn-tools</a>), ndn-cxx/examples etc. All of these can run easily
 from Mini-NDN. Also, refer<span style="font-family: "segoe ui", "segoe ui web (west european)", "segoe ui", -apple-system, system-ui, roboto, "helvetica neue", sans-serif; font-size: 12pt; color: rgb(50, 49, 48); background-color: rgba(0, 0, 0, 0);"> to
</span><span class="js-repo-root text-bold" style="box-sizing: border-box; color: rgb(36, 41, 46); font-family: -apple-system, system-ui, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"; background-color: rgb(255, 255, 255);"><span class="js-path-segment d-inline-block wb-break-all" style="box-sizing: border-box; word-break: break-all !important; display: inline-block !important;"><span style="box-sizing: border-box; color: rgb(50, 49, 48); font-family: "segoe ui", "segoe ui web (west european)", "segoe ui", -apple-system, system-ui, roboto, "helvetica neue", sans-serif; font-size: 12pt; background-color: rgba(0, 0, 0, 0);"><a data-pjax="true" href="https://github.com/named-data/mini-ndn" style="box-sizing: border-box; color: rgb(3, 102, 214);">mini-ndn</a>/</span></span></span><span style="font-family: "segoe ui", "segoe ui web (west european)", "segoe ui", -apple-system, system-ui, roboto, "helvetica neue", sans-serif; font-size: 12pt; color: rgb(50, 49, 48); background-color: rgba(0, 0, 0, 0);"><span class="final-path" style="box-sizing: border-box;">examples/</span></span><span style="font-family: "segoe ui", "segoe ui web (west european)", "segoe ui", -apple-system, system-ui, roboto, "helvetica neue", sans-serif; font-size: 12pt; color: rgb(50, 49, 48); background-color: rgba(0, 0, 0, 0);"> </span>for
 some example experiments.</div>
<div class="_Entity _EType_OWALinkPreview _EId_OWALinkPreview _EReadonly_1"></div>
<br>
<blockquote type="cite" class="">
<div class="">
<div dir="ltr" class="">
<div class="">2- what is the meaning of  [nodes] section in the default-topology.conf file in mini-ndn, is it a host? If I want to make it a real host/node, how can I do that?</div>
</div>
</div>
</blockquote>
<div class="">[nodes] section represents all the nodes in a network topology. Yes, it is a host/node. In the topology you have attached below, [nodes] will be all the
<b>NDN-Router. </b>See the examples/mnndn.py. It is using default-topology which has 4 nodes and 3 links. When you run the example, all the nodes (a, b...) act as a real ndn node and runs the nfd. Let me know if mean anything else by "real host/node". </div>
<blockquote type="cite" class="">
<div class="">
<div dir="ltr" class="">
<div class="">3- how can I add a switch to the default-topology file ? </div>
</div>
</div>
</blockquote>
<div class="">There are multiple ways to add switches i) via conf file (topology file). Just add a section [switches] like [nodes] and add switches there ii) via the experiment
<a href="https://github.com/mininet/mininet/blob/master/mininet/net.py#L249" id="LPlnk">
https://github.com/mininet/mininet/blob/master/mininet/net.py#L249</a>. You need to connect a node and a switch with a link. We will add an example for the switch sometime later. Also, you are most welcome to add one once you figure out <span id="🙂">🙂. </span></div>
<div class="_Entity _EType_OWALinkPreview _EId_OWALinkPreview_1 _EReadonly_1"></div>
<br>
<blockquote type="cite" class="">
<div class="">
<div dir="ltr" class="">
<div class="">4- why the switch, the router, is the same in icn/ndn? is it because it deal with names instead of the ip adresses so it doesn't matter if it is a switch or a router?</div>
</div>
</div>
</blockquote>
<div class="">I am not sure how to answer this. I don't know if there is anything called NDN-switches and I doubt they are same. Can you point me where you read them being the same?</div>
<blockquote type="cite" class="">
<div class="">
<div dir="ltr" class="">
<div class="">4- in the attachment image, what is the "ndn router" , Is it the forwarder(nfd) that runs in the node? or is it a real router? a general purpose router? or it is a specific ndn software?</div>
</div>
</div>
</blockquote>
<div class="">Yes, ndn-router is a real router and yes it runs the forwarder. You can read this paper to get started: <a href="https://named-data.net/wp-content/uploads/2014/10/named_data_networking_ccr.pdf" id="LPlnk684156">https://named-data.net/wp-content/uploads/2014/10/named_data_networking_ccr.pdf</a>.
 You can also find more resources here: <a href="https://named-data.net/publications/" id="LPlnk">https://named-data.net/publications/</a></div>
<div class="_Entity _EType_OWALinkPreview _EId_OWALinkPreview_2 _EReadonly_1"></div>
<br>
Thank you,</div>
<div>Saurab Dulal<br>
<blockquote type="cite" class="">
<div class="">
<div dir="ltr" class="">
<div class="">best regards, marwa</div>
</div>
<img class="" id="x_58EAA669-D850-41CC-AC84-09D34820D841" style="max-width: 100%; height: auto;" data-outlook-trace="F:1|T:1" src="cid:be59102b-f9ad-4597-bed0-f3ddaf6ff877"><br class="">
<br class="">
</div>
</blockquote>
</div>
<br class="">
</div>
</body>
</html>