Add zun dashboard into horizon

Change-Id: Iba816088a8babb6f2f1975021ded84eefdfe2eee
Closes-Bug: #1792951
This commit is contained in:
jacky06 2018-09-17 07:47:38 -04:00 committed by caoyuan
parent 28bba661a1
commit f40fdfd01f
3 changed files with 21 additions and 1 deletions

View File

@ -64,6 +64,10 @@ trove_dashboard_git_install_branch: master
heat_dashboard_git_repo: https://git.openstack.org/openstack/heat-dashboard
heat_dashboard_git_install_branch: master
## The git source/branch for the Zun UI plugin
zun_dashboard_git_repo: https://git.openstack.org/openstack/zun-ui
zun_dashboard_git_install_branch: master
## The packages to build from source (used in developer mode)
horizon_developer_constraints:
- "git+{{ horizon_git_repo }}@{{ horizon_git_install_branch }}#egg=horizon"
@ -73,6 +77,7 @@ horizon_developer_constraints:
- "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"
- "git+{{ heat_dashboard_git_repo }}@{{ heat_dashboard_git_install_branch }}#egg=heat_dashboard"
- "git+{{ zun_dashboard_git_repo }}@{{ zun_dashboard_git_install_branch }}#egg=zun_ui"
# TODO(odyssey4me):
# This can be simplified once all the roles are using
@ -268,6 +273,9 @@ horizon_enable_heat_ui: False
horizon_enable_neutron_lbaas: False
horizon_enable_neutron_fwaas: False
## Zun UI Panel
horizon_enable_zun_ui: False
## Swift
horizon_swift_file_transfer_chunk_size: 524288
@ -369,6 +377,8 @@ horizon_tacker_optional_pip_packages:
- tacker_horizon
horizon_trove_optional_pip_packages:
- trove_dashboard
horizon_zun_optional_pip_packages:
- zun_ui
# This variable is used to install additional pip packages
# that could be needed for additional dashboards required

View File

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

View File

@ -79,7 +79,8 @@
(horizon_enable_octavia_ui | bool) | ternary(horizon_octavia_optional_pip_packages, []) +
(horizon_enable_sahara_ui | bool) | ternary(horizon_sahara_optional_pip_packages, []) +
(horizon_enable_tacker_ui | bool) | ternary(horizon_tacker_optional_pip_packages, []) +
(horizon_enable_trove_ui | bool) | ternary(horizon_trove_optional_pip_packages, []) }}
(horizon_enable_trove_ui | bool) | ternary(horizon_trove_optional_pip_packages, []) +
(horizon_enable_zun_ui | bool) | ternary(horizon_zun_optional_pip_packages, []) }}
venv_facts_when_changed:
- section: "horizon"
option: "venv_tag"