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.
Conflicts:
neutron/plugins/ml2/drivers/linuxbridge/agent/linuxbridge_neutron_agent.py
Closes-bug: 1754563
(cherry picked from commit e0223edf88
)
Change-Id: I80b8c02da5d769dcb7bbf6f9e4659889c7c92650
This commit is contained in:
parent
7cb197fb9b
commit
40ac93b806
|
@ -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 constants as p_const
|
||||
from neutron.plugins.common import utils as p_utils
|
||||
from neutron.plugins.ml2.drivers.agent import _agent_manager_base as amb
|
||||
|
@ -981,6 +982,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)
|
||||
|
|
Loading…
Reference in New Issue