[Mini-NDN] Disabling/Enabling Links

Saurab Dulal (sdulal) sdulal at memphis.edu
Thu Apr 28 12:15:06 PDT 2022


Hello Brianna,

net.configLinkStatus('node1', 'node2', 'down'), I haven't tried it myself, but I guess it should work.

https://github.com/mininet/mininet/blob/9edbb3b4a3a37eae1036817440c6a3a4e3cf4b80/mininet/net.py#L898

Saurab

________________________________
From: Mini-NDN <mini-ndn-bounces at lists.cs.ucla.edu> on behalf of Brianna Morales via Mini-NDN <mini-ndn at lists.cs.ucla.edu>
Sent: Thursday, April 28, 2022 2:04 PM
To: mini-ndn at lists.cs.ucla.edu <mini-ndn at lists.cs.ucla.edu>
Subject: [Mini-NDN] Disabling/Enabling Links

CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and trust the content is safe.

Hi Mini-NDN teams,

Say we have two nodes that are linked, a and b. Is there any way to disable the link temporarily in a python file. I am aware of the "link h1 s1 up/down" command through the Mini-NDN CLI, but is there a way to do this through the python file our program is written on?

Thank you,
Brianna
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/mini-ndn/attachments/20220428/d9509c4c/attachment.html>


More information about the Mini-NDN mailing list