Use bagpipe l2 agent extension when bagpipe is activated

Since bgpvpn might be run with the neutron l2 agent but without
bagpipe, we should only enable the bagpipe l2 agent extension
when devstack is told to use bagpipe.
Change-Id: I4e085f489ed99b72f09e03cffcd2814a1721dfe8
Closes-bug: 1559149
This commit is contained in:
Mathieu Rohon
2016年03月21日 08:38:11 +00:00
parent feaa8ef5f0
commit 0169f686e9

View File

@@ -30,7 +30,7 @@ elif [[ "1ドル" == "stack" && "2ドル" == "post-config" ]]; then
inicomment $NETWORKING_BGPVPN_CONF service_providers service_provider
iniadd $NETWORKING_BGPVPN_CONF service_providers service_provider $NETWORKING_BGPVPN_DRIVER
fi
if is_service_enabled q-agt -a [[ "$Q_AGENT" == "openvswitch" ]]; then
if is_service_enabled q-agt && is_service_enabled b-bgp && [[ "$Q_AGENT" == "openvswitch" ]]; then
echo_summary "Configuring OVS agent for bagpipe"
iniadd /$Q_PLUGIN_CONF_FILE agent extensions bagpipe_bgpvpn
fi
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.