<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;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>Maybe he just wants a static entry. I am not sure but he mentions using nfdc register to get the desired face list.</p>
<div><br>
</div>
<div>Ashlesh</div>
<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> Mini-NDN <mini-ndn-bounces@lists.cs.ucla.edu> on behalf of Lan Wang (lanwang) <lanwang@memphis.edu><br>
<b>Sent:</b> Wednesday, August 12, 2015 2:22 PM<br>
<b>To:</b> mini-ndn@lists.cs.ucla.edu<br>
<b>Subject:</b> [SPAM:###68] [SPAM:###68] Re: [Mini-NDN] [Nfd-dev] Doubts regarding face creation</font>
<div> </div>
</div>
<div>Ashlesh,
<div><br>
</div>
<div>I don't see how nfdc register is going to help if NLSR does not support parallel links (I may have misunderstood something).  But since Navdeep has joined the mini-ndn mailing list, let's move the discussion there.  <br>
<div>
<div style="color:rgb(0,0,0); font-family:Helvetica; font-size:medium; font-style:normal; font-variant:normal; font-weight:normal; letter-spacing:normal; line-height:normal; orphans:2; text-indent:0px; text-transform:none; white-space:normal; widows:2; word-spacing:0px; word-wrap:break-word">
<div style="color:rgb(0,0,0); font-family:Helvetica; font-size:medium; font-style:normal; font-variant:normal; font-weight:normal; letter-spacing:normal; line-height:normal; orphans:2; text-indent:0px; text-transform:none; white-space:normal; widows:2; word-spacing:0px; word-wrap:break-word">
<span class="Apple-style-span" style="border-collapse:separate; color:rgb(0,0,0); font-family:Helvetica; font-style:normal; font-variant:normal; font-weight:normal; letter-spacing:normal; line-height:normal; orphans:2; text-indent:0px; text-transform:none; white-space:normal; widows:2; word-spacing:0px; border-spacing:0px; font-size:medium">
<div style="word-wrap:break-word"><br class="Apple-interchange-newline">
Lan</div>
</span></div>
</div>
</div>
<br>
<div>
<div>On Aug 12, 2015, at 1:09 PM, Ashlesh Gawande (agawande) <<a href="mailto:agawande@memphis.edu">agawande@memphis.edu</a>> wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">
<div dir="ltr" style="font-family:Helvetica; font-size:medium; font-style:normal; font-variant:normal; font-weight:normal; letter-spacing:normal; line-height:normal; orphans:2; text-indent:0px; text-transform:none; white-space:normal; widows:2; word-spacing:0px">
<div id="divtagdefaultwrapper" style="font-size:12pt; background-color:rgb(255,255,255); font-family:Calibri,Arial,Helvetica,sans-serif">
<div style="margin-top:0px; margin-bottom:0px">Hi</div>
<div style="margin-top:0px; margin-bottom:0px"><br>
</div>
<div style="margin-top:0px; margin-bottom:0px">So this is happening because NLSR does not support parallel links as of now. It will simply ignore the second neighbor in the configuration file. I have filed a feature request:</div>
<div style="margin-top:0px; margin-bottom:0px"><a href="http://redmine.named-data.net/issues/3097" id="LPlnk33548" title="http://redmine.named-data.net/issues/3097
Ctrl+Click or tap to follow the link">http://redmine.named-data.net/issues/3097</a></div>
<div style="margin-top:0px; margin-bottom:0px">But it will not be in the near future as it requires some design and implementation work.</div>
<div style="margin-top:0px; margin-bottom:0px"><br>
</div>
<div style="margin-top:0px; margin-bottom:0px">Right now you will have to do that manually. If your topology is fixed you can do it within the code<br>
</div>
<div style="margin-top:0px; margin-bottom:0px">so you don't have to do it manually every time the topology comes up.</div>
<div style="margin-top:0px; margin-bottom:0px"><br>
</div>
<div style="margin-top:0px; margin-bottom:0px">Example: In bin/minindn you can do something like net.hosts['g1'].cmd("nfdc register ....")</div>
<p style="margin-top:0px; margin-bottom:0px"></p>
<br>
Ashlesh<br>
<div style="">
<hr tabindex="-1" style="display:inline-block; width:529px">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt"><b>From:</b><span class="Apple-converted-space"> </span>Nfd-dev <<a href="mailto:nfd-dev-bounces@lists.cs.ucla.edu">nfd-dev-bounces@lists.cs.ucla.edu</a>> on behalf of
 Navdeep Uniyal <<a href="mailto:navdeep.uniyal@neclab.eu">navdeep.uniyal@neclab.eu</a>><br>
<b>Sent:</b><span class="Apple-converted-space"> </span>Wednesday, August 12, 2015 3:51 AM<br>
<b>To:</b><span class="Apple-converted-space"> </span><a href="mailto:nfd-dev@lists.cs.ucla.edu">nfd-dev@lists.cs.ucla.edu</a><br>
<b>Subject:</b><span class="Apple-converted-space"> </span>[Nfd-dev] Doubts regarding face creation</font>
<div> </div>
</div>
<div>
<div style="margin:0cm 0cm 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span lang="EN-US">Hello All,</span></div>
<p style="margin:0cm 0cm 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span lang="EN-US"> </span></p>
<div style="margin:0cm 0cm 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span lang="EN-US">I am working on minindn. While creating the topology I am using the following configuration file:</span></div>
<div style="margin:0cm 0cm 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span lang="EN-US">[nodes]</span></div>
<div style="margin:0cm 0cm 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span lang="EN-US">h1: _</span></div>
<div style="margin:0cm 0cm 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span lang="EN-US">h2: _</span></div>
<div style="margin:0cm 0cm 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span lang="EN-US">h3: _</span></div>
<div style="margin:0cm 0cm 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span lang="EN-US">h4: _</span></div>
<div style="margin:0cm 0cm 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span lang="EN-US">g1: _</span></div>
<div style="margin:0cm 0cm 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span lang="EN-US">[links]</span></div>
<div style="margin:0cm 0cm 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span lang="EN-US">h1:g1 delay=10ms bw=10</span></div>
<div style="margin:0cm 0cm 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span lang="EN-US">h2:g1 delay=5ms bw=1</span></div>
<div style="margin:0cm 0cm 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span lang="EN-US">h2:g1 delay=0ms bw=2</span></div>
<div style="margin:0cm 0cm 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span lang="EN-US">h3:g1 delay=0ms bw=1</span></div>
<div style="margin:0cm 0cm 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span lang="EN-US">h4:g1 delay=0ms bw=3</span></div>
<p style="margin:0cm 0cm 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span lang="EN-US"> </span></p>
<p style="margin:0cm 0cm 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span lang="EN-US"> </span></p>
<div style="margin:0cm 0cm 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span lang="EN-US">As per my understanding, between h2 and g1 there should be 2 faces created but I am finding only one face created for this, and the other connection I have to make explicitly. Please confirm if this is expected behavior,  if I am doing anything
 wrong  or my understanding is wrong.</span></div>
<p style="margin:0cm 0cm 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span lang="EN-US"> </span></p>
<div style="margin:0cm 0cm 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span lang="EN-US">For g1, faces are :</span></div>
<div style="margin:0cm 0cm 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span lang="EN-US">Faces:</span></div>
<div style="margin:0cm 0cm 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span lang="EN-US">  faceid=1 remote=internal:// local=internal:// counters={in={0i 81d 0B} out={132i 0d 0B}} local persistent point-to-point</span></div>
<div style="margin:0cm 0cm 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span lang="EN-US">  faceid=254 remote=contentstore:// local=contentstore:// counters={in={0i 0d 0B} out={0i 0d 0B}} local persistent point-to-point</span></div>
<div style="margin:0cm 0cm 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span lang="EN-US">  faceid=255 remote=null:// local=null:// counters={in={0i 0d 0B} out={0i 0d 0B}} local persistent point-to-point</span></div>
<div style="margin:0cm 0cm 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span lang="EN-US">  faceid=256 remote=<a href="">fd://18</a><span class="Apple-converted-space"> </span>local=<a href="">unix:///run/g1.sock</a><span class="Apple-converted-space"> </span>counters={in={92i 27d 36942B} out={27i 43d 45212B}} local on-demand
 point-to-point</span></div>
<div style="margin:0cm 0cm 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span lang="EN-US">  faceid=257 remote=<a href="">fd://20</a><span class="Apple-converted-space"> </span>local=<a href="">unix:///run/g1.sock</a><span class="Apple-converted-space"> </span>counters={in={1022i 223d 208468B} out={912i 288d 231943B}} local on-demand
 point-to-point</span></div>
<div style="margin:0cm 0cm 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span lang="EN-US">  faceid=258 remote=<a href="">udp4://1.0.0.1:6363</a><span class="Apple-converted-space"> </span>local=<a href="">udp4://0.0.0.0:6363</a><span class="Apple-converted-space"> </span>counters={in={766i 74d 106769B} out={784i 89d 115716B}}
 non-local persistent point-to-point</span></div>
<div style="margin:0cm 0cm 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span lang="EN-US">  faceid=259 remote=<a href="">udp4://1.0.0.5:6363</a><span class="Apple-converted-space"> </span>local=<a href="">udp4://0.0.0.0:6363</a><span class="Apple-converted-space"> </span>counters={in={767i 65d 102476B} out={779i 89d 115339B}}
 non-local persistent point-to-point</span></div>
<div style="margin:0cm 0cm 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span lang="EN-US">  faceid=260 remote=<a href="">udp4://1.0.0.13:6363</a><span class="Apple-converted-space"> </span>local=<a href="">udp4://0.0.0.0:6363</a><span class="Apple-converted-space"> </span>counters={in={767i 67d 103289B} out={779i 89d 115605B}}
 non-local persistent point-to-point</span></div>
<div style="margin:0cm 0cm 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span lang="EN-US">  faceid=261 remote=<a href="">udp4://1.0.0.17:6363</a><span class="Apple-converted-space"> </span>local=<a href="">udp4://0.0.0.0:6363</a><span class="Apple-converted-space"> </span>counters={in={768i 68d 104006B} out={782i 89d 115879B}}
 non-local persistent point-to-point</span></div>
<div style="margin:0cm 0cm 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span lang="EN-US"> <span class="Apple-converted-space"> </span><span style="background-color:yellow">faceid=265 remote=<a href="">udp4://1.0.0.9:6363</a><span class="Apple-converted-space"> </span>local=<a href="">udp4://0.0.0.0:6363</a><span class="Apple-converted-space"> </span>counters={in={0i
 0d 0B} out={0i 0d 0B}} non-local persistent point-to-point</span></span></div>
<div style="margin:0cm 0cm 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span lang="EN-US">  faceid=266 remote=<a href="">fd://25</a><span class="Apple-converted-space"> </span>local=<a href="">unix:///run/g1.sock</a><span class="Apple-converted-space"> </span>counters={in={3i 0d 137B} out={0i 2d 903B}} local on-demand point-to-point</span></div>
<p style="margin:0cm 0cm 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span lang="EN-US"> </span></p>
<div style="margin:0cm 0cm 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span lang="EN-US">Highlighted one I created explicitly using nfdc register.</span></div>
<div style="margin:0cm 0cm 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span lang="EN-US">Also, please explain the significance of the counters [counters={in={0i 0d 0B} out={0i 0d 0B}}]</span></div>
<p style="margin:0cm 0cm 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span lang="EN-US"> </span></p>
<p style="margin:0cm 0cm 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span lang="EN-US"> </span></p>
<p style="margin:0cm 0cm 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span lang="EN-US"> </span></p>
<div style="margin:0cm 0cm 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span lang="EN-US">Best Regards,</span></div>
<div style="margin:0cm 0cm 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span lang="EN-US" style="font-size:10.5pt; font-family:Consolas">Navdeep Uniyal</span></div>
<p style="margin:0cm 0cm 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span lang="EN-US"> </span></p>
</div>
</div>
</div>
_______________________________________________<br>
Nfd-dev mailing list<br>
<a href="mailto:Nfd-dev@lists.cs.ucla.edu">Nfd-dev@lists.cs.ucla.edu</a><br>
<a href="http://www.lists.cs.ucla.edu/mailman/listinfo/nfd-dev">http://www.lists.cs.ucla.edu/mailman/listinfo/nfd-dev</a><br>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</div>
</body>
</html>