[Mini-NDN] NLSR Configuration File

Ashlesh Gawande (agawande) agawande at memphis.edu
Fri Apr 7 07:41:26 PDT 2017


For some reason this message got discarded by the mailing list. Did you get a Welcome message from Mini-NDN mailing list stating you can post (I don't remember if you have to confirm your subscription)?

To modify NLSR conf file, look at the methods here:
https://github.com/named-data/mini-ndn/blob/master/ndn/nlsr.py#L166

Now if you want to change the LSA refresh time:
<https://github.com/named-data/NLSR/blob/master/nlsr.conf#L22>https://github.com/named-data/NLSR/blob/master/nlsr.conf#L12

You can add this:
general += " lsa-refresh-time 1080\n"
before line 187:
https://github.com/named-data/mini-ndn/blob/master/ndn/nlsr.py#L187
Note that \n is important.

If you want to change parameters in any other sections go that section method and add them in a similar way.
Once you have made the changes you would have to re-install Mini-NDN.
This would make the change in nlsr.conf of all the nodes.

In /tmp/<nodename>, if you make the changes there they would be overwritten by Mini-NDN.

Ashlesh
________________________________
From: Ilane Karise <kariseilane at gmail.com>
Sent: Thursday, April 6, 2017 5:57 PM
To: mini-ndn at lists.cs.ucla.edu
Subject: NLSR Configuration File

Dear all,

I am beginner in using Mini-NDN emulator and have encountered problem in
configuration of NLSR.

I know that Mini-NDN creates for me NFD and NLSR configuration files for each node, and they are located in the /tmp/<node-name> directory. However, I need to modify some NLSR configuration parameters and I'm not sure exactly where I can do this. I tried to edit the configuration file created in the /tmp directory, without success. I tried using the GUI to make modifications like site name or max-faces-per-prefix but none of that worked.

If anyone could help me with my problem I would be immensely grateful.

Best regards,

Ilane Karise
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/mini-ndn/attachments/20170407/1562c9aa/attachment.html>


More information about the Mini-NDN mailing list