From eaa9e1e3e0af74ac66cd934bde6762a63d14d1a8 Mon Sep 17 00:00:00 2001 From: Akihiro MOTOKI Date: Tue, 10 Sep 2013 05:22:37 +0900 Subject: [PATCH] Configure VPNaaS Horizon panel if q-vpn is enabled Change-Id: I062fd31cb1de50f356c2c549a783d9c597b129fa Closes-Bug: #1223012 --- lib/horizon | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/horizon b/lib/horizon index f6bb9f55e0..e55bc152f6 100644 --- a/lib/horizon +++ b/lib/horizon @@ -101,6 +101,11 @@ function init_horizon() { _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 + # Initialize the horizon database (it stores sessions and notices shown to # users). The user system is external (keystone). cd $HORIZON_DIR