<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body>
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>Hi</p>
<p><br>
</p>
<p>Some new information may have come to light, if nfd-status is not working outside Mini-NDN can you try the following patch:</p>
<p><a href="https://github.com/named-data/NFD/commit/ace83ac9384da037a36695888e829d7337ce36b0" class="OWAAutoLink" id="LPlnk631680" title="https://github.com/named-data/NFD/commit/ace83ac9384da037a36695888e829d7337ce36b0
Ctrl+Click or tap to follow the link">https://github.com/named-data/NFD/commit/ace83ac9384da037a36695888e829d7337ce36b0</a><br>
</p>
<p><br>
</p>
<p>To do so go to your NFD folder and do</p>
<p>git checkout <span style="font-size: 12pt;">ace83ac9384da037a36695888e829d7337ce36b0</span></p>
<p>./waf distclean</p>
<p>./waf configure --without-websocket</p>
<p>./waf</p>
<p>sudo ./waf install</p>
<p><br>
</p>
<p>Then try to run Mini-NDN experiment again.</p>
<p><br>
</p>
<p>And is your OS, Ubuntu 14.04?</p>
<p><br>
</p>
<p>Thanks</p>
<p>Ashlesh</p>
<p><span style="font-size: 12pt;"></span></p>
<div><br>
</div>
<p></p>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Mini-NDN <mini-ndn-bounces@lists.cs.ucla.edu> on behalf of Ashlesh Gawande (agawande) <agawande@memphis.edu><br>
<b>Sent:</b> Tuesday, June 14, 2016 11:29:50 AM<br>
<b>To:</b> Rajendran Jeeva<br>
<b>Cc:</b> mini-ndn@lists.cs.ucla.edu<br>
<b>Subject:</b> Re: [Mini-NDN] NLSR has not converged - Issue while running minindn</font>
<div> </div>
</div>
<div><style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>Can you check whether nfd-status works outside of mini-ndn?</p>
<p>Just do nfd-start and then do nfd-status.</p>
<p><br>
</p>
<p>Convergence depends on nfd-status as mini-ndn checks whether prefixes and routers have been installed.</p>
<p><br>
</p>
<p>> a nfd does not work because we use the a.conf file, if you do" a nfd -f a.conf &" it should work.</p>
<p>But the problem seems to be that nfd-status is not working (even outside of mini-ndn).</p>
<p><br>
</p>
<p>Ashlesh</p>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Rajendran Jeeva <rajendrj@tcd.ie><br>
<b>Sent:</b> Tuesday, June 14, 2016 9:32:55 AM<br>
<b>To:</b> Ashlesh Gawande (agawande)<br>
<b>Cc:</b> mini-ndn@lists.cs.ucla.edu<br>
<b>Subject:</b> Re: [Mini-NDN] NLSR has not converged - Issue while running minindn</font>
<div> </div>
</div>
<div>
<div dir="ltr">
<div>
<div>
<div>
<div>
<div>
<div>Hi Ashlesh,<br>
<br>
</div>
Thanks for the response.<br>
<br>
</div>
I tried running the command 'a nfd-status -b' for node 'a' and for other nodes as well. It is not displaying anything .
<br>
<br>
</div>
1. NFD status:<br>
<br>
<span style="color:rgb(255,0,0)">mininet> a nfd-status -b<br>
mininet><br>
<br>
</span><br>
NLSR status is displaying as follow<br>
<br>
</div>
2. NLSR status:<br>
<br>
mininet> a nlsrc status<br>
NLSR Status<br>
LSDB:<br>
  OriginRouter: /ndn/edu/%C1.Router/cs/a<br>
<br>
    Coordinate LSA:<br>
      info=LsaInfo(OriginRouter: /ndn/edu/%C1.Router/cs/a, SequenceNumber: 90, ExpirationPeriod: 3591936 milliseconds)<br>
      angle=0<br>
      radius=0<br>
<br>
    Name LSA:<br>
      info=LsaInfo(OriginRouter: /ndn/edu/%C1.Router/cs/a, SequenceNumber: 90, ExpirationPeriod: 3591932 milliseconds)<br>
      name=/ndn/edu/a<br>
<br>
  OriginRouter: /ndn/edu/%C1.Router/cs/b<br>
<br>
</div>
3. I just tried running 'nfd' command for a node and it displayed 'Failed to read configuration file: /usr/local/etc/ndn/nfd.conf'<br>
<br>
mininet> a nfd<br>
1465913606.293515 FATAL: [NFD] <span style="color:rgb(255,0,0)">Failed to read configuration file: /usr/local/etc/ndn/nfd.conf [from ../core/config-file.cpp:94 in void nfd::ConfigFile::parse</span>(const string&, bool)]<br>
mininet><br>
<br>
</div>
I ensured again that NFD is installed when mini-ndn is installed and the configuration is run.
<br>
<div>
<div><br>
</div>
<div>Not sure whether the convergence is not happening because the conf file is missing.<br>
<br>
</div>
<div>Any help would be appreciated<br>
<br>
</div>
<div>Thanks in advance<br>
<br>
</div>
<div>~Jeeva<br>
</div>
<div>
<div><br>
</div>
</div>
</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On 13 June 2016 at 16:56, Ashlesh Gawande (agawande) <span dir="ltr">
<<a href="mailto:agawande@memphis.edu" target="_blank">agawande@memphis.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<div style="font-size:12pt;color:#000000;background-color:#ffffff;font-family:Calibri,Arial,Helvetica,sans-serif">
<p>Try to run just:</p>
<p>sudo minindn</p>
<p><br>
</p>
<p>And when the command line comes up, wait for some time and check the FIB of each node:</p>
<p><br>
</p>
<p>a nfd-status -b</p>
<p>b nfd-status -b</p>
<p>c nfd-status -b</p>
<p>d nfd-status -b</p>
<p><br>
</p>
<p>They should all have each other prefixes (i.e. /ndn/edu/<node>) and routers (/ndn/edu/<span>%C1.Router/<node></span>).</p>
<p>If not you will get the error you got - NLSR could not converge (only if an experiment was run).</p>
<p><br>
</p>
<p>If they do have each other's prefixes then you can try to increase the convergence time:</p>
<p>sudo minindn --experiment=pingall --ctime 100</p>
<p><br>
</p>
<p>Ashlesh</p>
</div>
<hr style="display:inline-block;width:98%">
<div dir="ltr"><font style="font-size:11pt" color="#000000" face="Calibri, sans-serif"><b>From:</b> Mini-NDN <<a href="mailto:mini-ndn-bounces@lists.cs.ucla.edu" target="_blank">mini-ndn-bounces@lists.cs.ucla.edu</a>> on behalf of Rajendran Jeeva <<a href="mailto:rajendrj@tcd.ie" target="_blank">rajendrj@tcd.ie</a>><br>
<b>Sent:</b> Sunday, June 12, 2016 10:33:05 AM<br>
<b>To:</b> <a href="mailto:mini-ndn@lists.cs.ucla.edu" target="_blank">mini-ndn@lists.cs.ucla.edu</a><br>
<b>Subject:</b> [Mini-NDN] NLSR has not converged - Issue while running minindn</font>
<div> </div>
</div>
<div>
<div class="h5">
<div>
<div dir="ltr">
<div>
<div>
<div>
<div>Hi All,<br>
<br>
</div>
I have installed mini-ndn as follows:<br>
<br>
</div>
1. Cloned 'mini-ndn' from github<br>
</div>
2. $ cd mini-ndn<br>
</div>
3. Installed it using the command <br>
<pre><code>sudo ./install.sh -mrfti<br></code></pre>
<pre><code>4. When the above command got executed , NFD, NLSR, ndn, and <br>mininet got installed in the 'mini-ndn' directory(not in the home directory<br></code></pre>
<pre><code>as I ran install.sh from inside mini-ndn directory )<br></code></pre>
<pre><code>5. Once the installation is completed I tried running the --Pingall experiment with<br></code></pre>
<pre><code>default topology<br></code></pre>
<pre><code>6. There was an error stating 'mininet.topo module not found'(Rectified this<br></code></pre>
<pre><code>problem by installing 'mininet' in the home directory)<br></code></pre>
<pre><code>7. When I ran the minindn command again, I got the following output<br><br></code><code>rajendrj@Jeeva:~$ sudo minindn --experiment=pingall<br>No results folder specified; experiment results will remain in the working directory<br>Parse of /usr/local/etc/mini-ndn/default-topology.conf done.<br>*** Creating network<br>*** Adding controller<br>*** Adding hosts:<br>a b c d <br>*** Adding switches:<br><br>*** Adding links:<br>(10ms delay) (10ms delay) (a, b) (10ms delay) (10ms delay) (a, c) (10ms delay) (10ms delay) (b, d) <br>*** Configuring hosts<br>a b c d <br>Setup time: 8<br>*** Starting controller<br>c0 <br>*** Starting 0 switches<br><br>Loading experiment: pingall<br>Using 1.000000 traffic<br><b>Waiting 60 seconds for convergence...</b><br>...done<br><span style="color:rgb(204,0,0)"><b>NLSR has not converged. Exiting...</b></span><br>rajendrj@Jeeva:~$<br><br></code></pre>
<pre><code>As shown in the last line, the execution exited with 'NLSR has not converged'<br></code></pre>
<pre><code>' message<br><br></code></pre>
<pre><code>Am I missing something here ? Is this because 'mininet' is running from home directory<br></code></pre>
<pre><code>but NLSR , NFD and ndn run from 'mini-ndn' directory ? Is there a way to see <br></code></pre>
<pre><code>the error output?<br><br></code></pre>
<pre><code>Please advise and help me here<br><br></code></pre>
<pre><code>Thanks in advance,<br></code></pre>
<pre><code>~Jeeva<br></code></pre>
<pre><code><br><br></code></pre>
<pre><code><br><br></code></pre>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</body>
</html>