Config privsep in the macvtap agent

The commands executed under a privsep context,
privsep should be initialized first.

Change-Id: I82d67847c71d276184026e5af5787235228035c0
This commit is contained in:
Minmin Ren 2020-06-30 21:32:33 +08:00
parent 9867baa86f
commit 4c04e60d45
1 changed files with 2 additions and 0 deletions

View File

@ -28,6 +28,7 @@ from oslo_service import service
from neutron.agent.linux import ip_lib
from neutron.api.rpc.handlers import securitygroups_rpc as sg_rpc
from neutron.common import config as common_config
from neutron.conf.agent import common as agent_config
from neutron.conf.plugins.ml2.drivers import macvtap as config
from neutron.plugins.ml2.drivers.agent import _agent_manager_base as amb
from neutron.plugins.ml2.drivers.agent import _common_agent as ca
@ -209,6 +210,7 @@ def main():
interface_mappings = parse_interface_mappings()