Add murano-dashboard

This patch adds deployement of murano-dashboard to horizon,
once `horizon_enable_murano_ui` variable is set to True.

Depends-On: https://review.opendev.org/710773
Change-Id: I9a2f1920611ca8ad2b2f2cdb625281132b968ec2
This commit is contained in:
Dmitriy Rabotyagov 2020-03-02 15:46:14 +02:00 committed by Dmitriy Rabotyagov (noonedeadpunk)
parent b7a579b41e
commit 61caabf325
4 changed files with 24 additions and 0 deletions

View File

@ -62,6 +62,10 @@ masakari_dashboard_git_install_branch: "{{ horizon_git_track_branch }}"
mistral_dashboard_git_repo: https://opendev.org/openstack/mistral-dashboard.git
mistral_dashboard_git_install_branch: "{{ horizon_git_track_branch }}"
## The git source/branch for the Murano UI plugin
murano_dashboard_git_repo: https://opendev.org/openstack/murano-dashboard
murano_dashboard_git_install_branch: "{{ horizon_git_track_branch }}"
## The git source/branch for the Octavia UI plugin
octavia_dashboard_git_repo: https://opendev.org/openstack/octavia-dashboard
octavia_dashboard_git_install_branch: "{{ horizon_git_track_branch }}"
@ -103,6 +107,7 @@ horizon_git_constraints:
- "git+{{ manila_dashboard_git_repo }}@{{ manila_dashboard_git_install_branch }}#egg=manila-ui"
- "git+{{ masakari_dashboard_git_repo }}@{{ masakari_dashboard_git_install_branch }}#egg=masakari_dashboard"
- "git+{{ mistral_dashboard_git_repo }}@{{ mistral_dashboard_git_install_branch }}#egg=mistral-dashboard"
- "git+{{ murano_dashboard_git_repo }}@{{ murano_dashboard_git_install_branch }}#egg=murano-dashboard"
- "git+{{ designate_dashboard_git_repo }}@{{ designate_dashboard_git_install_branch }}#egg=designate_dashboard"
- "git+{{ tacker_dashboard_git_repo }}@{{ tacker_dashboard_git_install_branch }}#egg=tacker_horizon"
- "git+{{ trove_dashboard_git_repo }}@{{ trove_dashboard_git_install_branch }}#egg=trove_dashboard"
@ -295,6 +300,9 @@ horizon_enable_manila_ui: False
## Masakari UI Panel
horizon_enable_masakari_ui: False
## Murano UI Panel
horizon_enable_murano_ui: False
## Octavia UI Panel
horizon_enable_octavia_ui: False
@ -416,6 +424,8 @@ horizon_masakari_optional_pip_packages:
- masakari-dashboard
horizon_mistral_optional_pip_packages:
- mistral-dashboard
horizon_murano_optional_pip_packages:
- murano-dashboard
horizon_neutron_fwaas_optional_pip_packages:
- neutron-fwaas-dashboard
horizon_neutron_vpnaas_optional_pip_packages:

View File

@ -0,0 +1,9 @@
---
features:
- |
The murano dashboard is available in Horizon. Deployers can enable
the panel by setting the following Ansible variable:
.. code-block:: yaml
horizon_enable_murano_ui: True

View File

@ -55,6 +55,7 @@
(horizon_enable_mistral_ui | bool) | ternary(horizon_mistral_optional_pip_packages, []) +
(horizon_enable_manila_ui | bool) | ternary(horizon_manila_optional_pip_packages, []) +
(horizon_enable_masakari_ui | bool) | ternary(horizon_masakari_optional_pip_packages, []) +
(horizon_enable_murano_ui | bool) | ternary(horizon_murano_optional_pip_packages, []) +
(horizon_enable_neutron_fwaas | bool) | ternary(horizon_neutron_fwaas_optional_pip_packages, []) +
(horizon_enable_neutron_vpnaas | bool) | ternary(horizon_neutron_vpnaas_optional_pip_packages, []) +
(horizon_enable_octavia_ui | bool) | ternary(horizon_octavia_optional_pip_packages, []) +

View File

@ -37,6 +37,10 @@ _horizon_translations_pull:
branch: "{{ horizon_translations_project_version }}"
enabled: True
module: magnum_ui
- project: "murano-dashboard"
branch: "{{ horizon_translations_project_version }}"
enabled: True
module: murano_dashboard
- project: "trove-dashboard"
branch: "{{ horizon_translations_project_version }}"
enabled: True