<div dir="ltr"><div class="gmail_extra"><div><div class="gmail_signature"><div dir="ltr"><br></div></div></div>
<br><div class="gmail_quote">On Fri, Aug 18, 2017 at 6:10 AM, Junxiao Shi <span dir="ltr"><<a href="mailto:shijunxiao@email.arizona.edu" target="_blank">shijunxiao@email.arizona.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div dir="auto">Hi Haitao</div><div dir="auto"><br></div><div dir="auto">Link object in Interest has been replaced by forwarding hint. However, your question still applies when forwarding hint is used.</div><span class="gmail-"><div dir="auto"><br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div><br></div><div>I tried to send an Interest with link object to the testbed, but the producer didn't receive the interest. Could you help to see what is wrong with my link object?</div></div></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div></div><div><br></div><div>Here is what I did:</div><div>(1) The producer registers prefix <font color="#ff0000">/org/openmhealth/<user-id></font> on ucla router (<a href="http://spurs.cs.ucla.edu" target="_blank">spurs.cs.ucla.edu</a>)</div><div>(2) A consumer connecting to remap router (128.97.98.7) sends an interest with prefix <span style="color:rgb(255,0,0)">/org/openmhealth/<user-<wbr>id></span>, and with link object. The link object has name  <span style="color:rgb(255,0,0)">/org/openmhealth/<user-id></span><font color="#000000">, and a delegation </font><font color="#0000ff">/ndn/edu/ucla(it is ucla router's routable prefix)</font><font color="#000000">, and it is signed by a cert </font><span style="color:rgb(255,0,0)">/org/openmhealth</span><font color="#000000">/KEY</font><span style="color:rgb(255,0,0)">/<<wbr>user-id>/....</span><font color="#000000">, which is signed by ndnfit trust anchor, a second trust anchor on the testbed.</font></div><div><font color="#000000"><br></font></div><div></div></div></blockquote></div></span></div><div dir="auto"><br></div><div dir="auto">REMAP router is configured <<a href="https://github.com/WU-ARL/NDN_Ansible/blob/138020756db384222e62802baeaca0b6a090c6d7/host_vars/REMAP" target="_blank">https://github.com/WU-ARL/<wbr>NDN_Ansible/blob/<wbr>138020756db384222e62802baeaca0<wbr>b6a090c6d7/host_vars/REMAP</a>> to have network region name /ndn/edu/ucla/remap. Since the delegation name /ndn/edu/ucla carried in the forwarding hint is a prefix of this network region name, forwarding hint (or Link object) is removed when it arrives at REMAP, and forwarding follows the FIB entry for /org/openmhealth/<user-id>.</div><div dir="auto"><br></div><div dir="auto">REMAP has a static route for /org/openmhealth toward udp4<span style="font-family:Helvetica;font-size:12pt">://<a href="http://128.97.98.8:6363" target="_blank">128.97.98.8:6363</a> at cost 0 with child inherit enabled (as observed on the node right now, but no evidence in Ansible). </span></div></blockquote><br>I asked John to configure this. We need /org/openmhealth to be routed to 128.97.98.8 by default, as ndnfit users produce data and "upload" their data to DSU residing on 128.97.98.8, when users are offline, consumers could still fetch those data from DSU.<div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto"><span style="font-family:Helvetica;font-size:12pt">If I can assume you are working on the same app as </span><a href="http://www.lists.cs.ucla.edu/pipermail/nfd-dev/2017-August/002601.html" target="_blank">http://www.lists.cs.ucla.<wbr>edu/pipermail/nfd-dev/2017-<wbr>August/002601.html</a> , your prefix registration on UCLA sets route origin to "app", which does not trigger readvertising to global routing system. Therefore, NFD at REMAP forwards the Interest to udp4://<a href="http://128.97.98.8:6363" target="_blank">128.97.98.8:6363</a> and it does reach your end host.</div></blockquote><br>I intentionally didn't set route origin to "client", as<br>(1) I want to show broadcasting prefixes is not necessarily needed for apps to work on testbed<br>(2) If I understand correctly, setting route origin to "client" will disable the route I asked John to add (i.e., route all /org/openmhealth traffic to 128.97.o98.8) partially:  /org/openmhealth/<user-id> will be all routed to my app<br>(3) The app may connect any router, but not only ucla cs router. I don't think it's a good practice to broadcast /org/openmhealth/<user-id> on the entire testbed every time the app connects a different router and every time the app uses a different user-id.<div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto"><span style="font-family:Helvetica;font-size:12pt"><br></span></div><div dir="auto"><span style="font-family:Helvetica;font-size:12pt">Should you set route origin to "client" when you register /org/openmhealth/<user-id> on UCLA, the route would be readvertised into the global routing system, and show up at REMAP (and every other router) as a route with capture flag so that a FIB lookup would not match the udp4://<a href="http://128.97.98.8:6363" target="_blank">128.97.98.8:6363</a> route, and therefore the Interest would go to your end host. In this case, it would be unnecessary to place a forwarding hint on the Interest given the route for /org/openmhealth/<user-id> is already announced globally.</span></div></blockquote><br>Please correct me if I am wrong. Thanks!<br><br>Best,<br>Haitao<br><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto"><span style="font-family:Helvetica;font-size:12pt"></span></div><div dir="auto"><span style="font-family:Helvetica;font-size:12pt">Yours, Junxiao</span></div>
</blockquote></div><br></div></div>