[ndnSIM] how to disable a link

Alex Afanasyev alexander.afanasyev at ucla.edu
Tue Jul 9 23:09:59 PDT 2013

With point to point links you cannot remove any of them, but you can "fail" them.  You can try to make something base on this example: http://ndnsim.net/faq.html#code-questions

To get Ptr<Node> from string (defined in the topology file), just use something like this: Names::Find<Node> ("node1")

On Jul 9, 2013, at 10:40 PM, Xiaoke Jiang <shock.jiang at gmail.com> wrote:

> Dear all,
> 	I read a topology with AnnotatedTopologyReader, now I am trying to disable a link, say link between node1 and node2, anyone can give me any hint?
> thanks
> My Regards,
> Xiaoke (Shock) Jiang (蒋小可)
> Ph.D. Candidate,
> Department of Computer Science and Technology,
> Tsinghua University, Beijing, P.R.China. 100084
> _______________________________________________
> ndnSIM mailing list
> ndnSIM at lists.cs.ucla.edu
> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20130709/a356bed1/attachment.html>

More information about the ndnSIM mailing list