Merge "Set horizon configuration for security groups"

This commit is contained in:
Jenkins 2013-07-31 03:57:30 +00:00 committed by Gerrit Code Review
commit af46dabbec

@ -104,6 +104,9 @@ function init_horizon() {
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