Change the quantum-ns-metadata-proxy log file name.
Add a '-' before the router_id/network_id for easier parsing when starting the ns metadata proxy. Fixes bug 1161124 Change-Id: I408111d1343ecac297f6277e8067d3fa34bb8cb7
This commit is contained in:
parent
9143a83dc8
commit
7df07b88b4
@ -318,7 +318,7 @@ class DhcpAgent(manager.Manager):
|
||||
'--state_path=%s' % self.conf.state_path,
|
||||
'--metadata_port=%d' % METADATA_PORT]
|
||||
proxy_cmd.extend(config.get_log_args(
|
||||
cfg.CONF, 'quantum-ns-metadata-proxy%s.log' % network.id))
|
||||
cfg.CONF, 'quantum-ns-metadata-proxy-%s.log' % network.id))
|
||||
return proxy_cmd
|
||||
|
||||
pm = external_process.ProcessManager(
|
||||
|
@ -260,7 +260,7 @@ class L3NATAgent(manager.Manager):
|
||||
'--router_id=%s' % router_info.router_id,
|
||||
'--state_path=%s' % self.conf.state_path]
|
||||
proxy_cmd.extend(config.get_log_args(
|
||||
cfg.CONF, 'quantum-ns-metadata-proxy%s.log' %
|
||||
cfg.CONF, 'quantum-ns-metadata-proxy-%s.log' %
|
||||
router_info.router_id))
|
||||
return proxy_cmd
|
||||
|
||||
|
@ -575,7 +575,7 @@ class TestDhcpAgentEventHandler(base.BaseTestCase):
|
||||
mock.ANY,
|
||||
mock.ANY,
|
||||
'--debug',
|
||||
('--log-file=quantum-ns-metadata-proxy%s.log' %
|
||||
('--log-file=quantum-ns-metadata-proxy-%s.log' %
|
||||
fake_meta_network.id)])
|
||||
])
|
||||
finally:
|
||||
|
Loading…
x
Reference in New Issue
Block a user