devstack: source neutron l2 agent script only if q-agt enabled

Sourcing the neutron devstack l2 agent script is only needed
if the q-agt service is enabled.
Sourcing conditionally helps build the devstack fullstack gate jobs
for networking-bagpipe.
Change-Id: I2fed6177eb35749bebd4b75d60b189c2abdb0cdd
Needed-By: I967ba442ef433b7ada5a1a381f1571ec3cf23517
This commit is contained in:
Thomas Morin
2017年04月28日 16:39:48 +02:00
parent b0c3f65b4a
commit a3561dbad6

View File

@@ -4,7 +4,9 @@
_XTRACE_NETWORKING_BGPVPN=$(set +o | grep xtrace)
set -o xtrace
source $NEUTRON_DIR/devstack/lib/l2_agent
if is_service_enabled q-agt; then
source $NEUTRON_DIR/devstack/lib/l2_agent
fi
if [[ "1ドル" == "source" ]]; then
# no-op
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.