From fb94891b80e5bfa19acf8b261d68db108a147042 Mon Sep 17 00:00:00 2001 From: Thomas Bechtold Date: Sun, 27 Mar 2016 08:59:42 +0200 Subject: [PATCH] Use configure_auth_token_middleware for neutron auch configuration in the nova section in neutron.conf was still setup manually. Just reuse the function configure_auth_token_middleware() for configuration to simplify the code. Change-Id: Ib5a7e9212e2d1242bdbec75cf3fac13d5c42a2e2 --- lib/neutron-legacy | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/lib/neutron-legacy b/lib/neutron-legacy index e06a020f43..f38f14223b 100644 --- a/lib/neutron-legacy +++ b/lib/neutron-legacy @@ -1189,14 +1189,7 @@ function _configure_neutron_service { iniset $NEUTRON_CONF DEFAULT notify_nova_on_port_status_changes $Q_NOTIFY_NOVA_PORT_STATUS_CHANGES iniset $NEUTRON_CONF DEFAULT notify_nova_on_port_data_changes $Q_NOTIFY_NOVA_PORT_DATA_CHANGES - iniset $NEUTRON_CONF nova auth_type password - iniset $NEUTRON_CONF nova auth_url $KEYSTONE_AUTH_URI - iniset $NEUTRON_CONF nova username nova - iniset $NEUTRON_CONF nova password $SERVICE_PASSWORD - iniset $NEUTRON_CONF nova user_domain_id default - iniset $NEUTRON_CONF nova project_name $SERVICE_PROJECT_NAME - iniset $NEUTRON_CONF nova project_domain_id default - iniset $NEUTRON_CONF nova region_name $REGION_NAME + configure_auth_token_middleware $NEUTRON_CONF nova $NEUTRON_AUTH_CACHE_DIR nova # Configure plugin neutron_plugin_configure_service