<p dir="ltr">Thanks Ashlesh.</p>
<div class="gmail_quote">On Jun 28, 2017 9:20 PM, "Ashlesh Gawande (agawande)" <<a href="mailto:agawande@memphis.edu">agawande@memphis.edu</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div>

<div id="m_-8016192121719619723divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif" dir="ltr">
<p><span style="font-family:Calibri,Helvetica,sans-serif,EmojiFont,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols;font-size:16px">1) It is what is set by the GUI by default. You can remove the
 site name from the conf file and mini-ndn would use <nodename>-site as the site name.</span><br>
</p>
<p><span style="font-family:Calibri,Helvetica,sans-serif,EmojiFont,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols;font-size:16px"><br>
</span></p>
<p><span style="font-family:Calibri,Helvetica,sans-serif,EmojiFont,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols;font-size:16px">2) If you have configured the HR coordinates (or use an example
 topology which has the coordinates - example minindn.conf.ucla) and turned on the HR routing then NLSR will no longer use link state information to install the routes in NFD. Each NLSR will get all the other nodes coordinates via sync. Then for each node that
 is not its neighbor it will calculate a distance between its neighbor and the node using the hyperbolic coordinates. This distance will be used as the cost to rank the routes. So you will see different routes and cost in HR as compared to LS.</span></p>
<p><span style="font-family:Calibri,Helvetica,sans-serif,EmojiFont,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols;font-size:16px">(<span style="font-family:Calibri,Helvetica,sans-serif,EmojiFont,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols;font-size:16px">This
 is not always as optimal as Link State, but has enormous benefits in scaling. Its shortcomings of non-optimal routes can be overcome by smart </span></span>strategies</p>
<p><span style="font-family:Calibri,Helvetica,sans-serif,EmojiFont,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols;font-size:16px"><span style="font-family:Calibri,Helvetica,sans-serif,EmojiFont,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols;font-size:16px"></span>See: <a href="https://named-data.net/wp-content/uploads/2016/07/ndn-0042-1-asf.pdf" class="m_-8016192121719619723OWAAutoLink" id="m_-8016192121719619723LPlnk151541" target="_blank">https://named-data.net/<wbr>wp-content/uploads/2016/07/<wbr>ndn-0042-1-asf.pdf</a> for
 more details about HR)</span><br>
</p>
<p><span style="font-family:Calibri,Helvetica,sans-serif,EmojiFont,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols;font-size:16px"><br>
</span></p>
<p><span style="font-family:Calibri,Helvetica,sans-serif,EmojiFont,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols;font-size:16px">3) In your experiment you can use nlsrc advertise, something like:</span></p>
<p><span style="font-family:Calibri,Helvetica,sans-serif,EmojiFont,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols;font-size:16px">for host in self.net.hosts:</span></p>
<p><span style="font-family:Calibri,Helvetica,sans-serif,EmojiFont,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols;font-size:16px">    host.cmd("nlsrc advertise {}".format(<wbr>prefixYouWantToAdvertise))</span></p>
<p><span style="font-family:Calibri,Helvetica,sans-serif,EmojiFont,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols;font-size:16px">(<a href="https://github.com/named-data/mini-ndn/blob/master/docs/EXPERIMENTS.md#creating-custom-experiments" class="m_-8016192121719619723OWAAutoLink" id="m_-8016192121719619723LPlnk96423" target="_blank">https://github.com/named-<wbr>data/mini-ndn/blob/master/<wbr>docs/EXPERIMENTS.md#creating-<wbr>custom-experiments</a>)</span><br>
</p>
<p><span style="font-family:Calibri,Helvetica,sans-serif,EmojiFont,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols;font-size:16px">Or you can also configure the nlsrc command in the topology using
 the app option on each node:</span></p>
<p><span style="font-family:Calibri,Helvetica,sans-serif,EmojiFont,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols;font-size:16px"><a href="https://github.com/named-data/mini-ndn/blob/master/docs/CONFIG.md#example-configuration-file" class="m_-8016192121719619723OWAAutoLink" id="m_-8016192121719619723LPlnk643205" target="_blank">https://github.com/named-data/<wbr>mini-ndn/blob/master/docs/<wbr>CONFIG.md#example-<wbr>configuration-file</a><br>
<br>
</span></p>
<p><span style="font-family:Calibri,Helvetica,sans-serif,EmojiFont,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols;font-size:16px">Just use one of the editors - not all at once. Example:</span></p>
<p><span style="font-family:Calibri,Helvetica,sans-serif,EmojiFont,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols;font-size:16px">sudo gedit minindn.conf</span></p>
<p><span style="font-family:Calibri,Helvetica,sans-serif,EmojiFont,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols;font-size:16px"><br>
</span></p>
<p><span style="font-family:Calibri,Helvetica,sans-serif,EmojiFont,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols;font-size:16px">Ashlesh</span></p>
</div>
<hr style="display:inline-block;width:98%">
<div id="m_-8016192121719619723divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Tanusree Chatterjee <<a href="mailto:tnsr.chatterjee@gmail.com" target="_blank">tnsr.chatterjee@gmail.com</a>><br>
<b>Sent:</b> Wednesday, June 28, 2017 4:58:32 AM<br>
<b>To:</b> <a href="mailto:ndn-interest@lists.cs.ucla.edu" target="_blank">ndn-interest@lists.cs.ucla.edu</a><wbr>; <a href="mailto:mini-ndn@lists.cs.ucla.edu" target="_blank">mini-ndn@lists.cs.ucla.edu</a><br>
<b>Cc:</b> Ashlesh Gawande (agawande)<br>
<b>Subject:</b> Few observations in minindnedit</font>
<div> </div>
</div>
<div>
<div dir="ltr">
<div style="font-size:12.8px">
<div>
<div>
<div>
<div>Hello,<br>
</div>
I have some questions regarding my experiment in minindnedit. I have attached the screenshot of my observation.<br>
<br>
</div>
1) Why the router name and site name are same for all the hosts?<br>
</div>
<div><br>
</div>
2) After changing the hyperbolic state of any node (off to on) what changes should be observed?<br>
</div>
<br>
</div>
<div style="font-size:12.8px">3<span style="font-size:12.8px">) Here if I want to show my own name prefixes in each of the host of this network, w</span><span style="font-size:12.8px">hat should I do?</span></div>
<div style="font-size:12.8px"><br>
</div>
<div style="font-size:12.8px"><span style="font-size:12.8px">If I want to make changes in the config file by accessing it with the following command</span></div>
<div style="font-size:12.8px"><span style="font-size:12.8px"> <b>sudo nano/vi/minindnedit minindn.conf</b></span></div>
<div style="font-size:12.8px"><span style="font-size:12.8px"><br>
</span></div>
<div style="font-size:12.8px"><span style="font-size:12.8px">It is showing command not found. Is there any other way to do it?</span><br>
</div>
<div style="font-size:12.8px"><span style="font-size:12.8px"><br>
</span></div>
<span style="font-size:12.8px">--Thanks and Regards,</span>
<div>
<div>Tanusree Chatterjee</div>
</div>
</div>
</div>
</div>

</blockquote></div>