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
This commit is contained in:
steve.ruan 2016-05-19 22:55:32 -07:00 committed by Ryan Tidwell
parent ca19229a7f
commit e0b214a7d4
3 changed files with 4 additions and 2 deletions

View File

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

View File

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

View File

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