Add support for Horizon Octavia Dashboard

Octavia dashboard will be enabled if any octavia hosts are defined

Change-Id: I893cc59cc27c24ce39fb7ec0bc90b95c75c567be
Depends-On: I65c9d117f8e74d9a2e1e5b3cfad34a4dbb06ca60
This commit is contained in:
ArchiFleKs 2018-02-13 17:49:25 +01:00 committed by Kevin Lefevre
parent e0f1fc7a59
commit 65f09e114b
3 changed files with 14 additions and 2 deletions

View File

@ -20,6 +20,7 @@ horizon_enable_heat_ui: "{{ (groups['heat_all'] is defined) and (groups['heat_al
horizon_enable_ironic_ui: "{{ (groups['ironic_all'] is defined) and (groups['ironic_all'] | length > 0) }}"
horizon_enable_magnum_ui: "{{ (groups['magnum_all'] is defined) and (groups['magnum_all'] | length > 0) }}"
horizon_enable_designate_ui: "{{ (groups['designate_all'] is defined) and (groups['designate_all'] | length > 0) }}"
horizon_enable_octavia_ui: "{{ (groups['octavia-infra_all'] is defined) and (groups['octavia-infra_all'] | length > 0) }}"
# NOTE(mhayden): neutron-lbaas is a separate plugin and requires the full
# namespace to be specified. Also, LBaaS v1 was removed in Newton.
horizon_enable_neutron_lbaas: "{{ neutron_plugin_base is defined and 'neutron_lbaas.services.loadbalancer.plugin.LoadBalancerPluginv2' in neutron_plugin_base }}"

View File

@ -239,8 +239,12 @@ tacker_git_repo: https://git.openstack.org/openstack/tacker
tacker_git_install_branch: 1df345f8dc984d84df362980703616d78a3465b6 # HEAD of "master" as of 16.02.2018
tacker_git_project_group: tacker_all
## Congress service
congress_git_repo: https://git.openstack.org/openstack/congress
congress_git_install_branch: d3abc388515ba6456944093a6accde003dfea33f # HEAD of "master" as of 16.02.2018
congress_git_project_group: congress_all
congress_git_project_group: congress_all
## Horizon Octavia dashboard plugin
octavia_dashboard_git_repo: https://git.openstack.org/openstack/octavia-dashboard
octavia_dashboard_git_install_branch: 1ba875ac378215c9f0fe8d8bcd1eae42c0d7274d # HEAD of "master" as of 16.02.2018
octavia_dashboard_git_project_group: horizon_all

View File

@ -0,0 +1,7 @@
---
features:
- Adds support for the horizon octavia-ui dashboard. The
dashboard will be automatically enabled if any octavia
hosts are defined. If both Neutron LBaaSv2 and Octavia
are enabled, two Load Balancer panels will be visible
in Horizon.