[ndnSIM] ndnSIM link failure scenario issues

Spyridon (Spyros) Mastorakis mastorakis at cs.ucla.edu
Sun May 7 18:58:55 PDT 2017


Hi,

based on the snippet of code that you provided, the link is down for 5 seconds.

What do you mean by “make a solid flow”? For those 5 seconds, the Interests will be forwarded over some other link (if the link that you failed is the one that they were supposed to be forwarded on).

Thanks,

Spyridon (Spyros) Mastorakis
Personal Website: http://cs.ucla.edu/~mastorakis/ <http://cs.ucla.edu/~mastorakis/>
Internet Research Laboratory
Computer Science Department
UCLA


> On May 7, 2017, at 3:30 PM, Anthony Dowling <dowlinah at clarkson.edu> wrote:
> 
> Hello, All,
> 
> My research partner and I are trying to have nodes re-route interests when a link in the network fails, however, when we use the following code to fail the link, the secondary route appears to flash, rather than make a solid flow. Is this how it should appear?
> 
>   Ptr<Node> test = Names::Find<Node>("Node2");
>   Ptr<Node> test2 = Names::Find<Node>("Node1");
> 
>   Simulator::Schedule(Seconds(5.0), ndn::LinkControlHelper::FailLink, test, test2);
>   Simulator::Schedule(Seconds(10.0), ndn::LinkControlHelper::UpLink, test, test2);
> 
> Thanks,
> Anthony Dowling
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20170507/dfab25fd/attachment.html>


More information about the ndnSIM mailing list