<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<base href="x-msg://3022/">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
Yes, the nfdc command will create an additional face at the NFD level, but I'm not sure how NLSR will treat the two faces since they are between the same two routers (at least it's not something we handle by design).  Vince can clarify.
<div><br>
</div>
<div>By the way, just want to clarify that, for the original configuration mininet does create two links between the nodes.  See below.</div>
<div><br>
</div>
<div>Lan</div>
<div><br>
</div>
<div>Begin forwarded message:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">
<div style="margin: 0px; "><b>From: </b>"Ashlesh Gawande (agawande)" <<a href="mailto:agawande@memphis.edu">agawande@memphis.edu</a>><br>
</div>
<div style="margin: 0px; "><b>Subject: </b><b>Re: [Nfd-dev] Doubts regarding face creation</b><br>
</div>
<div style="margin: 0px; "><b>Date: </b>August 12, 2015 12:47:03 PM CDT<br>
</div>
<div style="margin: 0px; "><b>To: </b>"Lan Wang (lanwang)" <<a href="mailto:lanwang@memphis.edu">lanwang@memphis.edu</a>>, "Vince Lehman (vslehman)" <<a href="mailto:vslehman@memphis.edu">vslehman@memphis.edu</a>><br>
</div>
<br>
<div dir="ltr">
<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; ">So I checked and Mininet does make the two interfaces.</div>
<div style="margin-top: 0px; margin-bottom: 0px; "><br>
</div>
<div style="margin-top: 0px; margin-bottom: 0px; ">Then I made a small subset of the topology with h2 having two links to g1 each having a different cost (5 and 0).</div>
<div style="margin-top: 0px; margin-bottom: 0px; ">(h2===g1)</div>
<div style="margin-top: 0px; margin-bottom: 0px; ">So h2 has two interfaces connecting to two interfaces on g1.</div>
Now Mini-NDN starts up and writes NLSR configuration file for h2 and g1. Their neighbor sections are:
<div><br>
</div>
<div>h1:</div>
<div>
<div>neighbor</div>
<div>{</div>
<div>  name /ndn/edu/%C1.Router/cs/g1</div>
<div>  face-uri <a href="udp://1.0.0.2">udp://1.0.0.2</a></div>
<div>  link-cost 5</div>
<div>}</div>
<div>neighbor</div>
<div>{</div>
<div>  name /ndn/edu/%C1.Router/cs/g1</div>
<div>  face-uri <a href="udp://1.0.0.6">udp://1.0.0.6</a></div>
<div>  link-cost 0</div>
<div>}</div>
<div><br>
</div>
<div>g1:</div>
<div>neighbor</div>
<div>{</div>
<div>  name /ndn/edu/%C1.Router/cs/h2</div>
<div>  face-uri <a href="udp://1.0.0.1">udp://1.0.0.1</a></div>
<div>  link-cost 5</div>
<div>}</div>
<div>neighbor</div>
<div>{</div>
<div>  name /ndn/edu/%C1.Router/cs/h2</div>
<div>  face-uri <a href="udp://1.0.0.5">udp://1.0.0.5</a></div>
<div>  link-cost 0</div>
<div>}</div>
<div><br>
</div>
<div>But NLSR only advertises the first neighbor (maybe since the router names are same).</div>
<div>So I am not sure whether this is the correct behavior of NLSR or should I file a bug?</div>
<div><br>
</div>
<div>Note that Junxaio's point may not apply here since the the IPs are different. And that's why Navdeep is able to create the route himself via nfdc.</div>
<div><br>
</div>
</div>
</div>
</div>
</blockquote>
<div><span style="background-color: rgb(255, 255, 255); font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; ">Ashlesh</span> <br>
<div apple-content-edited="true">
<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-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
<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-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
<span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px; ">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
<br class="Apple-interchange-newline">
Lan</div>
</span></div>
</div>
</div>
<br>
<div>
<div>On Aug 12, 2015, at 2:33 PM, "Ashlesh Gawande (agawande)" <<a href="mailto:agawande@memphis.edu">agawande@memphis.edu</a>></div>
<div> 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-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 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; ">Maybe he just wants a static entry. I am not sure but he mentions using nfdc register to get the desired face list.</div>
<div><br>
</div>
<div>Ashlesh</div>
<div style="">
<hr tabindex="-1" style="display: inline-block; width: 667px; ">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size: 11pt; "><b>From:</b><span class="Apple-converted-space"> </span>Mini-NDN <<a href="mailto:mini-ndn-bounces@lists.cs.ucla.edu">mini-ndn-bounces@lists.cs.ucla.edu</a>> on behalf
 of Lan Wang (lanwang) <<a href="mailto:lanwang@memphis.edu">lanwang@memphis.edu</a>><br>
<b>Sent:</b><span class="Apple-converted-space"> </span>Wednesday, August 12, 2015 2:22 PM<br>
<b>To:</b><span class="Apple-converted-space"> </span><a href="mailto:mini-ndn@lists.cs.ucla.edu">mini-ndn@lists.cs.ucla.edu</a><br>
<b>Subject:</b><span class="Apple-converted-space"> </span>[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="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="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; 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>
<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>
</div>
<br class="Apple-interchange-newline">
</blockquote>
</div>
<br>
</div>
</body>
</html>