<div dir="ltr"><div dir="ltr">For the future references, the patch for updating face metrics based on simulated p2p link delay is merged in ndnSIM (find the changes <a href="https://github.com/named-data-ndnSIM/ndnSIM/commit/58ef8613aea3a03ce7895f7a92438a45411166bf">here</a> and the unit test as well as the way to use the patch <a href="https://github.com/named-data-ndnSIM/ndnSIM/commit/6028c61c25764311b625eae21153ae7149859720">here</a>).</div><div dir="ltr"><br></div><div>Bests,</div><div><i>- Chavoosh</i></div></div><br><div class="gmail_quote"><div dir="ltr">On Fri, Sep 7, 2018 at 1:46 PM Klaus Schneider <<a href="mailto:klaus@cs.arizona.edu">klaus@cs.arizona.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Just replying to the part below:<br>
<br>
On 07/09/18 11:30, Chavoosh Ghasemi wrote:<br>
> <br>
> P.S.<br>
>  > If you use the AnnotatedTopologyReader, you can just set the metric <br>
> to the same value as the delay.<br>
> I am not sure you are right on this, cause as I remember the last time I <br>
> gave it try, it did not work.<br>
> <br>
<br>
I think you need to use the ApplyOspfMetric() *after* installing the NDN <br>
stack on the nodes (not before).<br>
<br>
> <br>
>   AnnotatedTopologyReader topologyReader("");<br>
>   topologyReader.SetFileName("/tmp/topo1.txt");<br>
>   topologyReader.Read();<br>
> <br>
>   // Install NDN stack on all nodes<br>
>   ndn::StackHelper ndnHelper;<br>
>   ndnHelper.InstallAll();<br>
> <br>
>   topologyReader.ApplyOspfMetric();<br>
<br>
<br>
I do agree that this is not the most intuitive way.<br>
<br>
@Alex: Is it possible to have the link metrics automatically applied <br>
either in topologyReader.Read() or ndnHelper.Install() ?<br>
<br>
<br>
Best regards,<br>
Klaus<br>
<br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><span><font color="#888888"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr" style="color:rgb(34,34,34)"><font color="#888888"><span style="color:rgb(0,0,153);font-family:georgia,serif"><i style="color:rgb(0,0,0)"><b>Chavoosh Ghasemi</b></i><br><span style="color:rgb(153,153,0)"><br><span style="color:rgb(153,0,0)">Ph.D. Student in Computer Networking</span></span></span></font><span style="color:rgb(153,0,0)"><span style="font-family:georgia,serif"> </span><span style="font-family:georgia,serif"><br>University of Arizona - Computer Science Department</span><font size="1"><b><i><br></i></b></font></span></div><div style="color:rgb(34,34,34)"><span style="color:rgb(204,0,0)"><font size="1"><b><i>Address: Gould-Simpson 718, </i></b></font><font size="1"><b><i>1040 E. 4th Street,<br></i></b></font></span></div><div dir="ltr" style="color:rgb(34,34,34)"><span style="color:rgb(153,0,0)"><font size="1"><b><i><span style="color:rgb(204,0,0)">                 Tucson, AZ 85721</span><br><br>"The <i>quieter</i> you become, the <i>more you can hear"</i></i></b></font></span></div></div></div></div></div>
</font></span>
</div></div></div></div></div></div>