devstack fixes for linuxbridge

Fixes required so that the devstack plugin behaves nicely
when used in a setup with linuxbridge, and do not assume that the agent
is OVS when its not needed.
Change-Id: I2e7bc4303485ea6a0dd0215c624ee3b0883a6589
This commit is contained in:
Thomas Morin
2017年10月06日 14:57:05 +02:00
parent 02d5fdd0a7
commit f6d7d61508

View File

@@ -35,14 +35,16 @@ elif [[ "1ドル" == "stack" && "2ドル" == "post-config" ]]; then
iniadd $NETWORKING_BGPVPN_CONF service_providers service_provider $NETWORKING_BGPVPN_DRIVER
neutron_server_config_add $NETWORKING_BGPVPN_CONF
fi
if is_service_enabled q-agt && is_service_enabled b-bgp && [[ "$Q_AGENT" == "openvswitch" ]]; then
echo_summary "Configuring OVS agent for bagpipe"
if is_service_enabled q-agt && is_service_enabled b-bgp ; then
echo_summary "Configuring agent for bagpipe bgpvpn"
plugin_agent_add_l2_agent_extension bagpipe_bgpvpn
configure_l2_agent
# l2pop and arp_responder are required for bagpipe driver
iniset /$Q_PLUGIN_CONF_FILE agent l2_population True
iniset /$Q_PLUGIN_CONF_FILE agent arp_responder True
if [[ "$Q_AGENT" == "openvswitch" ]]; then
# l2pop and arp_responder are required for bagpipe driver
iniset /$Q_PLUGIN_CONF_FILE agent arp_responder True
fi
fi
if is_service_enabled h-eng;then
echo_summary "Enabling bgpvpn in $HEAT_CONF"
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.