From af5355a42d282f4221ef220d75871809e472c1fe Mon Sep 17 00:00:00 2001 From: Dmitriy Rabotyagov Date: Wed, 6 Mar 2024 11:27:25 +0100 Subject: [PATCH] Detect OVN VPNaaS installation Since plugin name has changed for OVN, we need to count for it when deciding if panel should be enabled or not. Change-Id: Id0923a497e751350c9308726ccbb85b6aa6c36c4 --- defaults/main.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/defaults/main.yml b/defaults/main.yml index 3bb22b89..1b974806 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -349,7 +349,8 @@ horizon_enable_mistral_ui: "{{ (groups['mistral_all'] is defined) and (groups['m horizon_enable_murano_ui: "{{ (groups['murano_all'] is defined) and (groups['murano_all'] | length > 0) }}" ## Neutron features to enable -horizon_enable_neutron_vpnaas: "{{ neutron_plugin_base is defined and 'vpnaas' in neutron_plugin_base }}" +horizon_enable_neutron_vpnaas: >- + {{ neutron_plugin_base is defined and ('vpnaas' in neutron_plugin_base or 'ovn-vpnaas' in neutron_plugin_base) }} ## Octavia UI Panel horizon_enable_octavia_ui: "{{ (groups['octavia_all'] is defined) and (groups['octavia_all'] | length > 0) }}"