Project

General

Profile

Actions

Task #3082

open

Allow configuration file to be reloaded while NLSR is running

Added by Vince Lehman over 8 years ago. Updated about 3 years ago.

Status:
Code review
Priority:
Normal
Assignee:
Target version:
Start date:
08/07/2015
Due date:
% Done:

90%

Estimated time:

Description

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.

Necessary changes:

  • main.cpp - listen for SIGHUP signal to trigger configuration reload; on signal, reload configuration file and notify NLSR
  • nlsr.cpp - An Nlsr::onConfigReload method should be added where clean up or application of newly loaded configuration options can be handled

This task should provide the ability for parameters to be reloaded but should not implement the logic for each parameter. The logic for certain parameters should be added as necessary in separate tasks.


Related issues 1 (0 open1 closed)

Blocked by NLSR - Task #3091: Implement NlsrRunner class in main.cppClosedVince Lehman08/10/2015

Actions
Actions

Also available in: Atom PDF