Browse code

Merge "Set horizon configuration for security groups"

Jenkins authored on 2013/07/31 12:57:30
Showing 1 changed files
... ...
@@ -104,6 +104,9 @@ function init_horizon() {
104 104
     local_settings=$HORIZON_DIR/openstack_dashboard/local/local_settings.py
105 105
     cp $HORIZON_SETTINGS $local_settings
106 106
 
107
+    if is_service_enabled neutron; then
108
+        _horizon_config_set $local_settings OPENSTACK_NEUTRON_NETWORK enable_security_group $Q_USE_SECGROUP
109
+    fi
107 110
     # enable loadbalancer dashboard in case service is enabled
108 111
     if is_service_enabled q-lbaas; then
109 112
         _horizon_config_set $local_settings OPENSTACK_NEUTRON_NETWORK enable_lb True