Project

General

Profile

Task #3082

Updated by Vince Lehman over 8 years ago

Currently, any changes to the parameters in the NLSR configuration file require NLSR to be restarted to take effect. 

 Instead, NLSR should subscribe to a signal and reload the configuration file in a manner similar to NFD. This will allow a user to change link-costs without restarting the NLSR daemon. 

 Necessary changes: 

 * main.cpp - listen for SIGHUP signal to trigger configuration reload; on signal, reload configuration file and NLSR 
 * conf-file-processor.cpp - clear m\_nlsr.getAdjacencyList() and m\_nlsr.getNamePrefixList() before processing respective sections; this will allow for a reload to replace the previously loaded configuration 
 * nlsr.cpp - An Nlsr::reload method should be added to handle clean up or application of newly loaded configuration options

Back