Config privsep in the metering agent

Enable privsep to execute ip netns or other commands.

Change-Id: I4e20a1e92c0d154b76615437efe5eced4e0cc6bd
Closes-Bug: #1786213
This commit is contained in:
Dongcan Ye 2018-08-09 10:05:36 +00:00
parent 8e66c4ef48
commit 40d92d40ec
1 changed files with 1 additions and 0 deletions

View File

@ -290,6 +290,7 @@ def main():
config.register_agent_state_opts_helper(conf)
common_config.init(sys.argv[1:])
config.setup_logging()
config.setup_privsep()
server = neutron_service.Service.create(
binary='neutron-metering-agent',
topic=topics.METERING_AGENT,