Browse Source

Add "neutron-bgp-dragent" to setup.cfg

neutron-bgp-dragent will be added to "/usr/local/bin" by install
script automatically when it's defined in entry_points section

Change-Id: I7592de868602db8f0c09756246a044cbe73d4800
Implements: blueprint bgp-spinout
Partial-Bug: #1560003
changes/67/319067/3 9.0.0.0b1
steve.ruan 5 years ago
committed by Ryan Tidwell
parent
commit
e0b214a7d4
  1. 2
      devstack/lib/dr
  2. 2
      devstack/plugin.sh
  3. 2
      setup.cfg

2
devstack/lib/dr

@ -35,7 +35,7 @@ function configure_dr_agent_bgp_driver {
#This API will be called for phase "install"
function dr_configure {
function dr_install {
setup_develop $NEUTRON_DYNAMIC_ROUTING_DIR
if is_service_enabled q-dr && is_service_enabled q-svc; then
if is_protocol_enabled BGP; then

2
devstack/plugin.sh

@ -6,7 +6,7 @@ if [[ "$1" == "stack" ]]; then
case "$2" in
install)
echo_summary "Installing neutron-dynamic-routing"
dr_configure
dr_install
;;
post-config)
echo_summary "Configuring neutron-dynamic-routing"

2
setup.cfg

@ -25,6 +25,8 @@ setup-hooks =
pbr.hooks.setup_hook
[entry_points]
console_scripts =
neutron-bgp-dragent = neutron_dynamic_routing.cmd.eventlet.agents.bgp_dragent:main
neutron.db.alembic_migrations =
neutron-dynamic-routing = neutron_dynamic_routing.db.migration:alembic_migrations
oslo.config.opts =

Loading…
Cancel
Save