From f21074337f7ec704cf4a3323f1a8360c53209647 Mon Sep 17 00:00:00 2001 From: Kevin Carter Date: Wed, 13 Apr 2016 12:48:15 -0500 Subject: [PATCH] Add option to enable from VPNaaS in Horizon This change simple provides an option to enable vpnaas panels within horizon. Change-Id: I2343f91e5ae1664fc8ab9ba1fbc3196b4d92078c Signed-off-by: Kevin Carter --- defaults/main.yml | 1 + templates/horizon_local_settings.py.j2 | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/defaults/main.yml b/defaults/main.yml index 41102bc3..9b69d5fa 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -144,6 +144,7 @@ horizon_launch_instance_ng: False ## Neutron features to enable horizon_enable_neutron_lbaas: False horizon_enable_neutron_fwaas: False +horizon_enable_neutron_vpnaas: False ## Swift horizon_swift_file_transfer_chunk_size: 524288 diff --git a/templates/horizon_local_settings.py.j2 b/templates/horizon_local_settings.py.j2 index d6495661..771b3d8c 100644 --- a/templates/horizon_local_settings.py.j2 +++ b/templates/horizon_local_settings.py.j2 @@ -271,7 +271,7 @@ OPENSTACK_NEUTRON_NETWORK = { 'enable_ha_router': False, 'enable_lb': {{ horizon_enable_neutron_lbaas | bool }}, 'enable_firewall': {{ horizon_enable_neutron_fwaas | bool }}, - 'enable_vpn': False, + 'enable_vpn': {{ horizon_enable_neutron_vpnaas | bool }}, 'enable_fip_topology_check': True, # Neutron can be configured with a default Subnet Pool to be used for IPv4