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
This commit is contained in:
Dmitriy Rabotyagov 2024-03-06 11:27:25 +01:00 committed by Dmitriy Rabotyagov
parent a57aeff938
commit d6da9a947f
1 changed files with 2 additions and 1 deletions

View File

@ -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) }}"