Adding Designate UI to horizon role.
Change-Id: I754c07c2b963b5a4f105ba2144a44f7caaa5f155
This commit is contained in:
parent
6e23b3b2f0
commit
262140d646
@ -32,10 +32,15 @@ horizon_git_install_branch: master
|
|||||||
magnum_dashboard_git_repo: https://git.openstack.org/openstack/magnum-ui
|
magnum_dashboard_git_repo: https://git.openstack.org/openstack/magnum-ui
|
||||||
magnum_dashboard_git_install_branch: master
|
magnum_dashboard_git_install_branch: master
|
||||||
|
|
||||||
|
## The git source/branch for the Designate UI plugin
|
||||||
|
designate_dashboard_git_repo: https://git.openstack.org/openstack/designate-dashboard
|
||||||
|
designate_dashboard_git_install_branch: master
|
||||||
|
|
||||||
## The packages to build from source (used in developer mode)
|
## The packages to build from source (used in developer mode)
|
||||||
horizon_developer_constraints:
|
horizon_developer_constraints:
|
||||||
- "git+{{ horizon_git_repo }}@{{ horizon_git_install_branch }}#egg=horizon"
|
- "git+{{ horizon_git_repo }}@{{ horizon_git_install_branch }}#egg=horizon"
|
||||||
- "git+{{ magnum_dashboard_git_repo }}@{{ magnum_dashboard_git_install_branch }}#egg=magnum-ui"
|
- "git+{{ magnum_dashboard_git_repo }}@{{ magnum_dashboard_git_install_branch }}#egg=magnum-ui"
|
||||||
|
- "git+{{ designate_dashboard_git_repo }}@{{ designate_dashboard_git_install_branch }}#egg=designatedashboard"
|
||||||
|
|
||||||
# Name of the virtual env to deploy into
|
# Name of the virtual env to deploy into
|
||||||
horizon_venv_tag: untagged
|
horizon_venv_tag: untagged
|
||||||
@ -166,6 +171,9 @@ horizon_enable_sahara_ui: False
|
|||||||
## Trove UI Panel
|
## Trove UI Panel
|
||||||
horizon_enable_trove_ui: False
|
horizon_enable_trove_ui: False
|
||||||
|
|
||||||
|
## Designate UI Panel
|
||||||
|
horizon_enable_designate_ui: False
|
||||||
|
|
||||||
## Neutron features to enable
|
## Neutron features to enable
|
||||||
horizon_enable_neutron_lbaas: False
|
horizon_enable_neutron_lbaas: False
|
||||||
horizon_enable_neutron_fwaas: False
|
horizon_enable_neutron_fwaas: False
|
||||||
@ -255,6 +263,7 @@ horizon_pip_packages:
|
|||||||
- python-keystoneclient
|
- python-keystoneclient
|
||||||
- sahara_dashboard
|
- sahara_dashboard
|
||||||
- trove_dashboard
|
- trove_dashboard
|
||||||
|
- designatedashboard
|
||||||
|
|
||||||
# This variable is used to install additional pip packages
|
# This variable is used to install additional pip packages
|
||||||
# that could be needed for additional dashboards
|
# that could be needed for additional dashboards
|
||||||
|
@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
features:
|
||||||
|
- The os_horizon role now has support for the horizon designate-ui dashboard. The
|
||||||
|
dashboard may be enabled by setting ``horizon_enable_designate_ui`` to ``True``
|
||||||
|
in ``/etc/openstack_deploy/user_variables.yml``.
|
@ -32,6 +32,24 @@
|
|||||||
dest: "{{ horizon_lib_dir }}/openstack_dashboard/static/dashboard/{{ item.value.dest }}"
|
dest: "{{ horizon_lib_dir }}/openstack_dashboard/static/dashboard/{{ item.value.dest }}"
|
||||||
with_dict: "{{ horizon_custom_uploads | default({}) }}"
|
with_dict: "{{ horizon_custom_uploads | default({}) }}"
|
||||||
|
|
||||||
|
- name: Enable the designate-ui-dashboard Horizon panel
|
||||||
|
file:
|
||||||
|
src: "{{ item.src }}"
|
||||||
|
path: "{{ item.path }}"
|
||||||
|
state: "{{ horizon_enable_designate_ui | ternary('link', 'absent') }}"
|
||||||
|
with_items:
|
||||||
|
- src: "{{ horizon_lib_dir }}/designatedashboard/enabled/_1710_project_dns_panel_group.py"
|
||||||
|
path: "{{ horizon_lib_dir }}/openstack_dashboard/local/enabled/_1710_project_dns_panel_group.py"
|
||||||
|
- src: "{{ horizon_lib_dir }}/designatedashboard/enabled/_1720_project_dns_panel.py"
|
||||||
|
path: "{{ horizon_lib_dir }}/openstack_dashboard/local/enabled/_1720_project_dns_panel.py"
|
||||||
|
- src: "{{ horizon_lib_dir }}/designatedashboard/enabled/_1721_dns_zones_panel.py"
|
||||||
|
path: "{{ horizon_lib_dir }}/openstack_dashboard/local/enabled/_1721_dns_zones_panel.py"
|
||||||
|
- src: "{{ horizon_lib_dir }}/designatedashboard/enabled/_1722_dns_reversedns_panel.py"
|
||||||
|
path: "{{ horizon_lib_dir }}/openstack_dashboard/local/enabled/_1722_dns_reversedns_panel.py"
|
||||||
|
notify: Restart apache2
|
||||||
|
tags:
|
||||||
|
- horizon-configs
|
||||||
|
|
||||||
- name: Enable the ironic-ui-dashboard Horizon panel
|
- name: Enable the ironic-ui-dashboard Horizon panel
|
||||||
file:
|
file:
|
||||||
src: "{{ horizon_lib_dir }}/ironic_ui/enabled/_2200_ironic.py"
|
src: "{{ horizon_lib_dir }}/ironic_ui/enabled/_2200_ironic.py"
|
||||||
|
Loading…
Reference in New Issue
Block a user