From 388f2b20600c97ee0c9ed0df66f55d2a10d7d967 Mon Sep 17 00:00:00 2001 From: zhaojingjing0067370 Date: Thu, 25 Jan 2018 14:40:37 +0800 Subject: [PATCH] Adding neutron.service_plugins for "entry_points" in file "setup.cfg" Adding neutron.service_plugins for "entry_points" in file "setup.cfg" After Installing neutron-dynamic-routing,we need to set service_plugins for "neutron_dynamic_routing.services.bgp.bgp_plugin.BgpPlugin" in neutron.conf. It is more reasonable to add neutron.service_plugins for "entry_points" in file "setup.cfg",and set "bgp" for "neutron_dynamic_routing.services.bgp.bgp_plugin:BgpPlugin". Change-Id: Icea1e085102e78c8bdf0e61d0b4f3f7b5ea209e2 --- setup.cfg | 2 ++ 1 file changed, 2 insertions(+) diff --git a/setup.cfg b/setup.cfg index 52832b2a..02e68610 100644 --- a/setup.cfg +++ b/setup.cfg @@ -39,6 +39,8 @@ oslo.config.opts = bgp.agent = neutron_dynamic_routing.services.bgp.common.opts:list_bgp_agent_opts tempest.test_plugins = neutron_dynamic_routing = neutron_dynamic_routing.tests.tempest.plugin:NeutronDynamicRoutingTempestPlugin +neutron.service_plugins = + bgp = neutron_dynamic_routing.services.bgp.bgp_plugin:BgpPlugin [build_sphinx] all-files = 1