From c5140903baa7773e7f41e0d00a90bcbf256fd183 Mon Sep 17 00:00:00 2001 From: Jonathan Rosser Date: Mon, 23 Apr 2018 10:05:15 +0100 Subject: [PATCH] Enable horizon fwaas panels when firewall_v2 driver is enabled Change-Id: I928d7eda5abe5c88246323ded971d312284c2c2b --- inventory/group_vars/horizon_all.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inventory/group_vars/horizon_all.yml b/inventory/group_vars/horizon_all.yml index a408537872..a3bae62e42 100644 --- a/inventory/group_vars/horizon_all.yml +++ b/inventory/group_vars/horizon_all.yml @@ -24,7 +24,7 @@ horizon_enable_octavia_ui: "{{ (groups['octavia-infra_all'] is defined) and (gro # NOTE(mhayden): neutron-lbaas is a separate plugin and requires the full # namespace to be specified. Also, LBaaS v1 was removed in Newton. horizon_enable_neutron_lbaas: "{{ neutron_plugin_base is defined and 'neutron_lbaas.services.loadbalancer.plugin.LoadBalancerPluginv2' in neutron_plugin_base }}" -horizon_enable_neutron_fwaas: "{{ neutron_plugin_base is defined and 'firewall' in neutron_plugin_base }}" +horizon_enable_neutron_fwaas: "{{ neutron_plugin_base is defined and (neutron_plugin_base | intersect(['firewall', 'firewall_v2']) | length > 0) }}" horizon_enable_neutron_vpnaas: "{{ neutron_plugin_base is defined and 'vpnaas' in neutron_plugin_base }}" horizon_enable_ha_router: "{{ neutron_plugin_type.split('.')[0] == 'ml2' and (groups['neutron_l3_agent'] | length >= 2) }}" horizon_rabbitmq_userid: horizon