<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif;" dir="ltr">
<p>For some reason this message got discarded by the mailing list. Did you get a Welcome message from Mini-NDN mailing list stating you can post (I don't remember if you have to confirm your subscription)?</p>
<br>
To modify NLSR conf file, look at the methods here:
<div><a href="https://github.com/named-data/mini-ndn/blob/master/ndn/nlsr.py#L166" class="OWAAutoLink" id="LPlnk187572" previewremoved="true">https://github.com/named-data/mini-ndn/blob/master/ndn/nlsr.py#L166</a><br>
<br>
Now if you want to change the LSA refresh time:</div>
<div><a href="https://github.com/named-data/NLSR/blob/master/nlsr.conf#L22" class="OWAAutoLink" id="LPlnk745137" previewremoved="true"></a><a href="https://github.com/named-data/NLSR/blob/master/nlsr.conf#L12" class="OWAAutoLink" id="LPlnk22237" previewremoved="true">https://github.com/named-data/NLSR/blob/master/nlsr.conf#L12</a><br>
</div>
<div><br>
</div>
<div>You can add this:</div>
<div><span style="color: rgb(36, 41, 46); font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, Courier, monospace; font-size: 12px; white-space: pre;">general
</span><span class="pl-k" style="box-sizing: border-box; color: rgb(167, 29, 93); font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, Courier, monospace; font-size: 12px; white-space: pre;">+=</span><span style="color: rgb(36, 41, 46); font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, Courier, monospace; font-size: 12px; white-space: pre;">
</span><span class="pl-s" style="box-sizing: border-box; color: rgb(24, 54, 145); font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, Courier, monospace; font-size: 12px; white-space: pre;"><span class="pl-pds" style="box-sizing: border-box;">"</span>
 lsa-refresh-time 1080</span><span class="pl-s" style="box-sizing: border-box; color: rgb(24, 54, 145); font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, Courier, monospace; font-size: 12px; white-space: pre;"><span class="pl-cce" style="box-sizing: border-box;">\n</span><span class="pl-pds" style="box-sizing: border-box;">"</span></span><br>
</div>
<div>before line 187:</div>
<div><a href="https://github.com/named-data/mini-ndn/blob/master/ndn/nlsr.py#L187" class="OWAAutoLink" id="LPlnk225477" style="font-size: 12pt;" previewremoved="true">https://github.com/named-data/mini-ndn/blob/master/ndn/nlsr.py#L187</a><br>
</div>
<div>Note that \n is important.</div>
<div><br>
If you want to change parameters in any other sections go that section method and add them in a similar way.</div>
<div>Once you have made the changes you would have to re-install Mini-NDN.</div>
<div>This would make the change in nlsr.conf of all the nodes.</div>
<div><br>
</div>
<div>In /tmp/<nodename>, if you make the changes there they would be overwritten by Mini-NDN.</div>
<div><br>
</div>
<div>Ashlesh<br>
<div style="color: rgb(0, 0, 0);">
<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> Ilane Karise <kariseilane@gmail.com><br>
<b>Sent:</b> Thursday, April 6, 2017 5:57 PM<br>
<b>To:</b> mini-ndn@lists.cs.ucla.edu<br>
<b>Subject:</b> NLSR Configuration File</font>
<div> </div>
</div>
<div>
<div dir="ltr">Dear all,
<div><br>
</div>
<div>
<div>I am beginner in using Mini-NDN emulator and have encountered problem in</div>
<div>configuration of NLSR. </div>
</div>
<div><br>
</div>
<div>
<div>I know that Mini-NDN creates for me NFD and NLSR configuration files for each node, and they are located in the /tmp/<node-name> directory. However, I need to modify some NLSR configuration parameters and I'm not sure exactly where I can do this. I tried
 to edit the configuration file created in the /tmp directory, without success. I tried using the GUI to make modifications like site name or max-faces-per-prefix but none of that worked.</div>
<div><br>
</div>
<div>If anyone could help me with my problem I would be immensely grateful.</div>
</div>
<div><br>
</div>
<div>Best regards,</div>
<div><br>
</div>
<div>Ilane Karise</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>