devstack: Adapt to lib/neutron
Depends-On: I9068fd608e82e70db8d725f92269a26920efebcb Change-Id: I1bf8f68d7505a4f60938d04a32394b8bbe89736e
This commit is contained in:
parent
fd236b9ba9
commit
91d8cde828
@ -23,12 +23,9 @@ function install_taas {
|
||||
}
|
||||
|
||||
function configure_taas_plugin {
|
||||
if [ ! -d $NEUTRON_CONF_DIR ]; then
|
||||
_create_neutron_conf_dir
|
||||
fi
|
||||
cp $TAAS_PLUGIN_PATH/etc/taas_plugin.ini $TAAS_PLUGIN_CONF_FILE
|
||||
neutron_server_config_add $TAAS_PLUGIN_CONF_FILE
|
||||
_neutron_service_plugin_class_add taas
|
||||
neutron_service_plugin_class_add taas
|
||||
}
|
||||
|
||||
function configure_taas_openvswitch_agent {
|
||||
@ -51,8 +48,8 @@ if is_service_enabled taas; then
|
||||
:
|
||||
elif [[ "$2" == "install" ]]; then
|
||||
install_taas
|
||||
configure_taas_plugin
|
||||
elif [[ "$2" == "post-config" ]]; then
|
||||
configure_taas_plugin
|
||||
neutron-db-manage --subproject tap-as-a-service upgrade head
|
||||
echo "Configuring taas"
|
||||
if [ "$TAAS_SERVICE_DRIVER" ]; then
|
||||
|
Loading…
x
Reference in New Issue
Block a user