Actions
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. ";" is treated as comment character.All neighbors configured by ndnneighbor is added in AdjacencyList(Adl) with status "inactive"-0
All name to be advertised by ndnname is added in NamePrefixList (Npl)
All other configuration parameter is stored in ConfParameter
Configuration File Format¶
Updated by Ashlesh Gawande about 10 years ago · 9 revisions