From 0843f0ab05a7f477cfc83a70f7711f438e7e8cbd Mon Sep 17 00:00:00 2001 From: Akihiro Motoki Date: Wed, 24 Sep 2014 04:48:14 +0900 Subject: [PATCH] Update Horizon Neutron-related settings - Horizon no longer has "enable_security_group" setting so we need to remove it. - There is no need to set enable_lb/firewall/vpn to True when q-lbaas/q-fwaas/q-vpn is enabled because Horizon now checks if Neutron ext-list and enables corresponding dashboards accordingly. Change-Id: I37073d73e4cba0103ab1a3d935302f1cd0ef73c5 --- lib/horizon | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/lib/horizon b/lib/horizon index c0c3f821e4..07cf31b79f 100644 --- a/lib/horizon +++ b/lib/horizon @@ -92,24 +92,6 @@ function init_horizon { local local_settings=$HORIZON_DIR/openstack_dashboard/local/local_settings.py cp $HORIZON_SETTINGS $local_settings - if is_service_enabled neutron; then - _horizon_config_set $local_settings OPENSTACK_NEUTRON_NETWORK enable_security_group $Q_USE_SECGROUP - fi - # enable loadbalancer dashboard in case service is enabled - if is_service_enabled q-lbaas; then - _horizon_config_set $local_settings OPENSTACK_NEUTRON_NETWORK enable_lb True - fi - - # enable firewall dashboard in case service is enabled - if is_service_enabled q-fwaas; then - _horizon_config_set $local_settings OPENSTACK_NEUTRON_NETWORK enable_firewall True - fi - - # enable VPN dashboard in case service is enabled - if is_service_enabled q-vpn; then - _horizon_config_set $local_settings OPENSTACK_NEUTRON_NETWORK enable_vpn True - fi - _horizon_config_set $local_settings "" OPENSTACK_HOST \"${KEYSTONE_SERVICE_HOST}\" _horizon_config_set $local_settings "" OPENSTACK_KEYSTONE_URL "\"${KEYSTONE_SERVICE_PROTOCOL}://${KEYSTONE_SERVICE_HOST}:${KEYSTONE_SERVICE_PORT}/v2.0\"" if [[ -n "$KEYSTONE_TOKEN_HASH_ALGORITHM" ]]; then