Add Trove Dashboard to Horizon
Change-Id: Ia0c32e9bc86a28471a9909e2ee43a2c36e26973b
This commit is contained in:
parent
1f682b09ef
commit
174c69d0af
@ -159,6 +159,9 @@ horizon_enable_magnum_ui: False
|
||||
## Sahara UI Panel
|
||||
horizon_enable_sahara_ui: False
|
||||
|
||||
## Trove UI Panel
|
||||
horizon_enable_trove_ui: False
|
||||
|
||||
## Neutron features to enable
|
||||
horizon_enable_neutron_lbaas: False
|
||||
horizon_enable_neutron_fwaas: False
|
||||
@ -247,6 +250,7 @@ horizon_pip_packages:
|
||||
- python-memcached
|
||||
- python-keystoneclient
|
||||
- sahara_dashboard
|
||||
- trove_dashboard
|
||||
|
||||
# This variable is used by the repo_build process to determine
|
||||
# which host group to check for members of before building the
|
||||
|
@ -0,0 +1,9 @@
|
||||
---
|
||||
features:
|
||||
- |
|
||||
The Trove dashboard is available in Horizon. Deployers can enable
|
||||
the panel by setting the following Ansible variable:
|
||||
|
||||
.. code-block:: yaml
|
||||
|
||||
horizon_enable_trove_ui: True
|
@ -73,6 +73,28 @@
|
||||
tags:
|
||||
- horizon-configs
|
||||
|
||||
- name: Enable the trove-dashboard Horizon panel
|
||||
file:
|
||||
src: "{{ item.src }}"
|
||||
path: "{{ item.path }}"
|
||||
state: "{{ horizon_enable_trove_ui | ternary('link', 'absent') }}"
|
||||
notify: Restart apache2
|
||||
with_items:
|
||||
- src: "{{ horizon_lib_dir }}/trove_dashboard/enabled/_1710_database_panel_group.py"
|
||||
path: "{{ horizon_lib_dir }}/openstack_dashboard/enabled/_1710_database_panel_group.py"
|
||||
- src: "{{ horizon_lib_dir }}/trove_dashboard/enabled/_1720_project_databases_panel.py"
|
||||
path: "{{ horizon_lib_dir }}/openstack_dashboard/enabled/_1720_project_databases_panel.py"
|
||||
- src: "{{ horizon_lib_dir }}/trove_dashboard/enabled/_1730_project_database_backups_panel.py"
|
||||
path: "{{ horizon_lib_dir }}/openstack_dashboard/enabled/_1730_project_database_backups_panel.py"
|
||||
- src: "{{ horizon_lib_dir }}/trove_dashboard/enabled/_1731_project_database_backups_panel.py"
|
||||
path: "{{ horizon_lib_dir }}/openstack_dashboard/enabled/_1731_project_database_backups_panel.py"
|
||||
- src: "{{ horizon_lib_dir }}/trove_dashboard/enabled/_1740_project_database_clusters_panel.py"
|
||||
path: "{{ horizon_lib_dir }}/openstack_dashboard/enabled/_1740_project_database_clusters_panel.py"
|
||||
- src: "{{ horizon_lib_dir }}/trove_dashboard/enabled/_1760_project_database_configurations_panel.py"
|
||||
path: "{{ horizon_lib_dir }}/openstack_dashboard/enabled/_1760_project_database_configurations_panel.py"
|
||||
tags:
|
||||
- horizon-configs
|
||||
|
||||
- name: Enable the neutron-lbaas-dashboard Horizon panel
|
||||
file:
|
||||
src: "{{ horizon_lib_dir }}/neutron_lbaas_dashboard/enabled/_1481_project_ng_loadbalancersv2_panel.py"
|
||||
|
Loading…
Reference in New Issue
Block a user