Merge "Enable Horizon Ironic dashboard plugin"

This commit is contained in:
Jenkins 2016-07-26 13:40:58 +00:00 committed by Gerrit Code Review
commit cc5a0c2c54
3 changed files with 18 additions and 0 deletions

View File

@ -134,6 +134,9 @@ horizon_default_role_name: _member_
horizon_launch_instance_legacy: False
horizon_launch_instance_ng: True
## Ironic UI Panel
horizon_enable_ironic_ui: False
## Neutron features to enable
horizon_enable_neutron_lbaas: False
horizon_enable_neutron_fwaas: False
@ -210,6 +213,7 @@ horizon_pip_packages:
- django-openstack-auth
- greenlet
- horizon
- ironic-ui
- keystonemiddleware
- MySQL-python
- PyMySQL

View File

@ -0,0 +1,5 @@
---
features:
- The os_horizon role now has support for the horizon ironic-ui dashboard. The
dashboard may be enabled by setting ``horizon_enable_ironic_ui`` to ``True``
in ``/etc/openstack_deploy/user_variables.yml``.

View File

@ -32,6 +32,15 @@
dest: "{{ horizon_lib_dir }}/openstack_dashboard/static/dashboard/{{ item.value.dest }}"
with_dict: "{{ horizon_custom_uploads | default({}) }}"
- name: Enable the ironic-ui-dashboard Horizon panel
file:
src: "{{ horizon_lib_dir }}/ironic_ui/enabled/_2200_ironic.py"
path: "{{ horizon_lib_dir }}/openstack_dashboard/local/enabled/_2200_ironic.py"
state: "{{ horizon_enable_ironic_ui | ternary('link', 'absent') }}"
notify: Restart apache2
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"