Merge "Add cloudkitty dashboard"

This commit is contained in:
Zuul 2018-10-07 00:08:26 +00:00 committed by Gerrit Code Review
commit 89ed3ea27d
3 changed files with 20 additions and 0 deletions

View File

@ -40,6 +40,10 @@ horizon_git_install_branch: master
blazar_dashboard_git_repo: https://git.openstack.org/openstack/blazar-dashboard
blazar_dashboard_git_install_branch: master
## The git source/branch for Cloudkitty UI plugin
cloudkitty_dashboard_git_repo: https://git.openstack.org/openstack/cloudkitty-dashboard
cloudkitty_dashboard_git_install_branch: master
## The git source/branch for the Magnum UI plugin
magnum_dashboard_git_repo: https://git.openstack.org/openstack/magnum-ui
magnum_dashboard_git_install_branch: master
@ -72,6 +76,7 @@ zun_dashboard_git_install_branch: master
horizon_developer_constraints:
- "git+{{ horizon_git_repo }}@{{ horizon_git_install_branch }}#egg=horizon"
- "git+{{ blazar_dashboard_git_repo }}@{{ blazar_dashboard_git_install_branch }}#egg=blazar-dashboard"
- "git+{{ cloudkitty_dashboard_git_repo }}@{{ cloudkitty_dashboard_git_install_branch }}#egg=cloudkitty_dashboard"
- "git+{{ magnum_dashboard_git_repo }}@{{ magnum_dashboard_git_install_branch }}#egg=magnum-ui"
- "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"
@ -245,6 +250,9 @@ horizon_launch_instance_defaults:
## Blazar UI Panel
horizon_enable_blazar_ui: False
## Cloudkitty UI Panel
horizon_enable_cloudkitty_ui: False
## Ironic UI Panel
horizon_enable_ironic_ui: False
@ -357,6 +365,8 @@ horizon_pip_packages:
# Simplify this when we are no longer using the py_pkgs plugin
horizon_blazar_optional_pip_packages:
- blazar_dashboard
horizon_cloudkitty_optional_pip_packages:
- cloudkitty_dashboard
horizon_designate_optional_pip_packages:
- designate_dashboard
horizon_heat_optional_pip_packages:

View File

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

View File

@ -70,6 +70,7 @@
venv_pip_packages: >-
{{ horizon_pip_packages + horizon_optional_pip_packages +
(horizon_enable_blazar_ui | bool) | ternary(horizon_blazar_optional_pip_packages, []) +
(horizon_enable_cloudkitty_ui | bool) | ternary(horizon_cloudkitty_optional_pip_packages, []) +
(horizon_enable_designate_ui | bool) | ternary(horizon_designate_optional_pip_packages, []) +
(horizon_enable_heat_ui | bool) | ternary(horizon_heat_optional_pip_packages, []) +
(horizon_enable_ironic_ui | bool) | ternary(horizon_ironic_optional_pip_packages, []) +