Config privsep in the linuxbridge agent

In order to enable arp_responder code, the agent must have
privsep configured or calls to add fdb entries will fail.

This is a one-file cherry pick of the master change referenced
below as the rest does not apply.

Closes-bug: 1754563

(cherry picked from commit e0223edf88)

Change-Id: I80b8c02da5d769dcb7bbf6f9e4659889c7c92650
This commit is contained in:
Brian Haley 2018-03-12 14:29:48 -04:00
parent 43df2709ac
commit 61aa1fe951
1 changed files with 2 additions and 0 deletions

View File

@ -39,6 +39,7 @@ from neutron.common import exceptions
from neutron.common import profiler as setup_profiler
from neutron.common import topics
from neutron.common import utils
from neutron.conf.agent import common as agent_config
from neutron.plugins.common import utils as p_utils
from neutron.plugins.ml2.drivers.agent import _agent_manager_base as amb
from neutron.plugins.ml2.drivers.agent import _common_agent as ca
@ -985,6 +986,7 @@ def main():
common_config.init(sys.argv[1:])
common_config.setup_logging()
agent_config.setup_privsep()
try:
interface_mappings = helpers.parse_mappings(
cfg.CONF.LINUX_BRIDGE.physical_interface_mappings)