Enable mutable config in Neutron-dynamic-routing
New releases of oslo.config support a 'mutable' parameter to Opts. This is only respected when the new method mutate_config_files is called instead of reload_config_files. Neutron-dynamic-routing delegates making this call to oslo.service. This was provided in patchset Icec3e664f3fe72614e373b2938e8dee53cf8bc5e Further patches will be needed to make select config options be marked as mutable. This change enables support for oslo provided config options to be updated via SIGHUP such as log level. Change-Id: Icb405ae7197af7507469593e8555b833186c0e68 Task: 12505 Story: 2001545
This commit is contained in:
parent
008517ea02
commit
dcba0d29c4
@ -44,4 +44,4 @@ def main():
|
||||
report_interval=cfg.CONF.AGENT.report_interval,
|
||||
manager='neutron_dynamic_routing.services.bgp.agent.bgp_dragent.'
|
||||
'BgpDrAgentWithStateReport')
|
||||
service.launch(cfg.CONF, server).wait()
|
||||
service.launch(cfg.CONF, server, restart_method='mutate').wait()
|
||||
|
Loading…
Reference in New Issue
Block a user