Change sourcing neutron l2 agent script for devstack

Source the l2 agent script only in case and in place where functions
from this are going to be used.
Change-Id: If99776166aebf432a6da3b77aa265fec01a64a37
This commit is contained in:
Pawel Rusak
2018年05月09日 19:19:45 +02:00
parent 11b337c23d
commit 7bd7f451bc

View File

@@ -4,10 +4,6 @@
_XTRACE_NETWORKING_BGPVPN=$(set +o | grep xtrace)
set -o xtrace
if is_service_enabled q-agt; then
source $NEUTRON_DIR/devstack/lib/l2_agent
fi
if [[ "1ドル" == "source" ]]; then
# no-op
:
@@ -36,6 +32,7 @@ elif [[ "1ドル" == "stack" && "2ドル" == "post-config" ]]; then
fi
if is_service_enabled q-agt && is_service_enabled b-bgp ; then
echo_summary "Configuring agent for bagpipe bgpvpn"
source $NEUTRON_DIR/devstack/lib/l2_agent
plugin_agent_add_l2_agent_extension bagpipe_bgpvpn
configure_l2_agent
Reference in New Issue
openstack/networking-bgpvpn
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.

The note is not visible to the blocked user.