diff --git a/devstack/lib/dr b/devstack/lib/dr index cb04b367..93633f89 100644 --- a/devstack/lib/dr +++ b/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 diff --git a/devstack/plugin.sh b/devstack/plugin.sh index 554cb7c6..77435558 100644 --- a/devstack/plugin.sh +++ b/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" diff --git a/setup.cfg b/setup.cfg index 08eac267..8a3c058b 100644 --- a/setup.cfg +++ b/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 =