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:
Sławek Kapłoński 2018-04-06 13:10:45 +02:00
parent 008517ea02
commit dcba0d29c4
1 changed files with 1 additions and 1 deletions

View File

@ -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()