Read and parse configuration file » History » Revision 1
Revision 1/9
| Next »
A K M Mahmudul Hoque, 04/17/2014 05:06 AM
Read and parse configuration file¶
NLSR takes command line argument "-f configFileName" for configuration file
If command line argument is not provided look into current directory for nlsr.confIf file is not found nlsr exits. Else nlsr reads the configuration file
one by one line and process. ! or # is treated as comment characters.All neighbors configured by ndnneighbor is added in AdjacencyList(Adl)
All name to be advertised by ndnname is added in NamePrefixList (Npl)
All other configuration parameter is stored in ConfParameter
List of configuration command:
network /network/name
site-prefix /site/name
router-name /router/name
ndnneighbor /neighbor/name connectingFace
ndnname /name/to/be/advertised
lsa-refresh-time seconds
router-dead-interval seconds
interest-retry
interest-resend-time seconds
max-faces-per-prefix
debug
logdir
tunnel-type
hyperbolic-cordinate
root-key-prefix
Updated by A K M Mahmudul Hoque over 10 years ago · 9 revisions