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
f5e7420da5
commit
0f46559557
|
@ -32,6 +32,7 @@ from oslo_utils import excutils
|
|||
from six import moves
|
||||
|
||||
from neutron._i18n import _LE, _LI, _LW
|
||||
from neutron.agent.common import config as agent_config
|
||||
from neutron.agent.linux import bridge_lib
|
||||
from neutron.agent.linux import ip_lib
|
||||
from neutron.api.rpc.handlers import securitygroups_rpc as sg_rpc
|
||||
|
@ -943,6 +944,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