[ndnSIM] Shortest paths
Chavoosh Ghasemi
chavoosh.ghasemi.off at gmail.com
Tue Oct 2 20:33:43 PDT 2018
For the future references, the patch for updating face metrics based on
simulated p2p link delay is merged in ndnSIM (find the changes here
<https://github.com/named-data-ndnSIM/ndnSIM/commit/58ef8613aea3a03ce7895f7a92438a45411166bf>
and
the unit test as well as the way to use the patch here
<https://github.com/named-data-ndnSIM/ndnSIM/commit/6028c61c25764311b625eae21153ae7149859720>
).
Bests,
*- Chavoosh*
On Fri, Sep 7, 2018 at 1:46 PM Klaus Schneider <klaus at cs.arizona.edu> wrote:
> Just replying to the part below:
>
> On 07/09/18 11:30, Chavoosh Ghasemi wrote:
> >
> > P.S.
> > > If you use the AnnotatedTopologyReader, you can just set the metric
> > to the same value as the delay.
> > I am not sure you are right on this, cause as I remember the last time I
> > gave it try, it did not work.
> >
>
> I think you need to use the ApplyOspfMetric() *after* installing the NDN
> stack on the nodes (not before).
>
> >
> > AnnotatedTopologyReader topologyReader("");
> > topologyReader.SetFileName("/tmp/topo1.txt");
> > topologyReader.Read();
> >
> > // Install NDN stack on all nodes
> > ndn::StackHelper ndnHelper;
> > ndnHelper.InstallAll();
> >
> > topologyReader.ApplyOspfMetric();
>
>
> I do agree that this is not the most intuitive way.
>
> @Alex: Is it possible to have the link metrics automatically applied
> either in topologyReader.Read() or ndnHelper.Install() ?
>
>
> Best regards,
> Klaus
>
>
--
*Chavoosh Ghasemi*
Ph.D. Student in Computer Networking
University of Arizona - Computer Science Department
*Address: Gould-Simpson 718, *
*1040 E. 4th Street,*
* Tucson, AZ 85721"The quieter you become, the more you can
hear"*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20181002/e1e6041c/attachment.html>
More information about the ndnSIM
mailing list