<div dir="ltr">Hi Jinyang<div><br></div><div>In NFD, NextHop::m_cost represents the administrative cost of a FIB nexthop. It directly comes from the administrative cost of a RIB route. It is used in best route strategy.</div><div><br></div><div>As posted inĀ <a href="https://redmine.named-data.net/issues/2010">https://redmine.named-data.net/issues/2010</a> , there isn't a guideline on how to set RIB cost. When NDN testbed was using link state routing, operations personnel was using IP ping round-trip time as the basis of setting RIB cost.</div><div><br></div><div>Yours, Junxiao<br><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Nov 19, 2017 at 7:05 AM, <a href="mailto:jinyangl@mail.ustc.edu.cn">jinyangl@mail.ustc.edu.cn</a> <span dir="ltr"><<a href="mailto:jinyangl@mail.ustc.edu.cn" target="_blank">jinyangl@mail.ustc.edu.cn</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><span></span>hello ,i find a memberĀ <span style="font-size:10.5pt;line-height:1.5;background-color:window">variable m_cost of nfd::fib::NextHop,</span></div><div><span style="font-size:10.5pt;line-height:1.5;background-color:window">but what is it? whether it is the cost when we use the best-route-strategy ?</span></div><div><span style="font-size:10.5pt;line-height:1.5;background-color:window">And how should we calculate is ? do we need/use it in another place ?</span></div>
<div><br></div></div></blockquote></div></div></div></div>