Read and parse configuration file » History » Version 9
  Ashlesh  Gawande, 08/13/2014 10:21 AM 
  
| 1 | 1 | A K M Mahmudul Hoque | Read and parse configuration file  | 
|---|---|---|---|
| 2 | =================================  | 
||
| 3 | 4 | A K M Mahmudul Hoque | 1. NLSR takes command line argument "-f configFileName" for configuration file.  | 
| 4 | 1 | A K M Mahmudul Hoque | If command line argument is not provided look into current directory for nlsr.conf  | 
| 5 | |||
| 6 | 2. If file is not found nlsr exits. Else nlsr reads the configuration file  | 
||
| 7 | 9 | Ashlesh Gawande | one by one line and process. ";" is treated as comment character.  | 
| 8 | 1 | A K M Mahmudul Hoque | |
| 9 | 5 | A K M Mahmudul Hoque | 3. All neighbors configured by ndnneighbor is added in AdjacencyList(Adl) with status "inactive"-0  | 
| 10 | 1 | A K M Mahmudul Hoque | |
| 11 | 4. All name to be advertised by ndnname is added in NamePrefixList (Npl)  | 
||
| 12 | |||
| 13 | 5. All other configuration parameter is stored in ConfParameter  | 
||
| 14 | |||
| 15 | 2 | A K M Mahmudul Hoque | |
| 16 | 6 | A K M Mahmudul Hoque | |
| 17 | 8 | A K M Mahmudul Hoque | ### [[Configuration File Format]]  |