diff --git a/devstack/plugin.sh b/devstack/plugin.sh index fa41404d..4d1ef830 100644 --- a/devstack/plugin.sh +++ b/devstack/plugin.sh @@ -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