<div dir="ltr">Hi Mahyuddin,<br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Nov 30, 2017 at 8:32 AM, Mahyuddin Husairi <span dir="ltr"><<a href="mailto:mahyuddin@gmail.com" target="_blank">mahyuddin@gmail.com</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 dir="ltr">Hi Teng. Thanks for the advice. I'll try to use face manager to create face inside my forwarding strategy.</div></blockquote><div>Btw, a forwarding strategy needs to know the necessary parameters to create a face. You can attach these information to an Interest or Data using NDNLP field and tag.</div><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="ltr"><div>Can you share your current design of <span style="font-size:12.8px"> </span><a href="https://redmine.named-data.net/issues/4283" style="font-size:12.8px" target="_blank">#4283</a>? Honestly i understand the concept but i have no idea how to implement it.</div></div></blockquote><div> We are not taking <span style="font-size:12.8px">this design. The current NFD supports both Ethernet multicast and unicast with separate faces. You don't need to implement</span><span style="font-size:12.8px"> </span><a href="https://redmine.named-data.net/issues/4283" target="_blank" style="font-size:12.8px">#4283</a> if you just want to create a unicast face in a forwarding strategy.</div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">Teng</span></div><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 class="gmail-HOEnZb"><div class="gmail-h5"><div class="gmail_extra"><div class="gmail_quote">On Wed, Nov 29, 2017 at 2:01 AM, Teng Liang <span dir="ltr"><<a href="mailto:philoliang@email.arizona.edu" target="_blank">philoliang@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 dir="ltr">Hi Mahyuddin,<br><div class="gmail_extra"> <br><div class="gmail_quote"><span>On Sat, Nov 25, 2017 at 10:25 PM, Mahyuddin Husairi <span dir="ltr"><<a href="mailto:mahyuddin@gmail.com" target="_blank">mahyuddin@gmail.com</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 dir="ltr">Hello everybody.<div><br></div><div><div style="font-size:12.8px">I need your opinion about enabling forwarding strategy to create face. At least unicast face (raw ethernet or udp) for dynamic unicast face features in my NDN based MANET solution.</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">1. What is the possible dirty hack way to enable it? AFAIK, to create face, it is part of NFD management protocol API. Is that possible to access that API just like face-module.cpp in NFD tools?</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">2. Or is there any better way to implement it?</div></div></div></blockquote><div><br></div></span><div>There should be two possible ways to create a face in a forwarding strategy: utilizing face manager or directly manipulating face system. To use face manager for face creation, you can take a look on tests/daemon/mgmt/face-manager<wbr>-create-face.t.cpp. The face manager is designed to allow a different party to alter NFD forwarder states. However, a forwarding strategy is part of a forwarder, I see no reason why it cannot manipulate the face system directly. Thus, you could take a look on how face manager uses face system on face creation, and do similar stuff.<span class="gmail-m_-1288154993547433185HOEnZb"><font color="#888888"><br></font></span></div><span class="gmail-m_-1288154993547433185HOEnZb"><font color="#888888"><div><br></div><div>Teng</div><div> </div></font></span><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span><div dir="ltr"><div><span class="gmail-m_-1288154993547433185m_-1044734216850393854gmail-HOEnZb"><font color="#888888"><div><br></div>-- <br><div class="gmail-m_-1288154993547433185m_-1044734216850393854gmail-m_6401624846646053315gmail_signature">Human knowledge Belongs to The World</div>
</font></span></div></div>
<br></span><span>______________________________<wbr>_________________<br>
Nfd-dev mailing list<br>
<a href="mailto:Nfd-dev@lists.cs.ucla.edu" target="_blank">Nfd-dev@lists.cs.ucla.edu</a><br>
<a href="http://www.lists.cs.ucla.edu/mailman/listinfo/nfd-dev" rel="noreferrer" target="_blank">http://www.lists.cs.ucla.edu/m<wbr>ailman/listinfo/nfd-dev</a><br>
<br></span></blockquote></div><br></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail-m_-1288154993547433185gmail_signature">Human knowledge Belongs to The World</div>
</div>
</div></div></blockquote></div><br></div></div>