Add Neutron VPNaaS Dashboard to Horizon

This patch brings back VPNaaS Dashboard after its split out
into a separate project.

Change-Id: Iefa92fdb348df6d07bc557749e1f96dd47c68e30
This commit is contained in:
Damian Cikowski 2018-11-14 00:02:37 +01:00
parent 3940a1602d
commit 09b8a7d9e1
4 changed files with 19 additions and 0 deletions

View File

@ -72,6 +72,10 @@ heat_dashboard_git_install_branch: master
zun_dashboard_git_repo: https://git.openstack.org/openstack/zun-ui
zun_dashboard_git_install_branch: master
# The git source/branch for the Neutron VPNaaS UI plugin
neutron_vpnaas_dashboard_git_repo: https://git.openstack.org/cgit/openstack/neutron-vpnaas-dashboard
neutron_vpnaas_dashboard_git_install_branch: master
## The packages to build from source (used in developer mode)
horizon_developer_constraints:
- "git+{{ horizon_git_repo }}@{{ horizon_git_install_branch }}#egg=horizon"
@ -83,6 +87,7 @@ horizon_developer_constraints:
- "git+{{ trove_dashboard_git_repo }}@{{ trove_dashboard_git_install_branch }}#egg=trove_dashboard"
- "git+{{ heat_dashboard_git_repo }}@{{ heat_dashboard_git_install_branch }}#egg=heat_dashboard"
- "git+{{ zun_dashboard_git_repo }}@{{ zun_dashboard_git_install_branch }}#egg=zun_ui"
- "git+{{ neutron_vpnaas_dashboard_git_repo }}@{{ neutron_vpnaas_dashboard_git_install_branch }}#egg=neutron_vpnaas_dashboard"
# TODO(odyssey4me):
# This can be simplified once all the roles are using
@ -290,6 +295,7 @@ horizon_enable_heat_ui: False
## Neutron features to enable
horizon_enable_neutron_lbaas: False
horizon_enable_neutron_fwaas: False
horizon_enable_neutron_vpnaas: False
## Zun UI Panel
horizon_enable_zun_ui: False
@ -389,6 +395,8 @@ horizon_neutron_fwaas_optional_pip_packages:
- neutron-fwaas-dashboard
horizon_neutron_lbaas_optional_pip_packages:
- neutron-lbaas-dashboard
horizon_neutron_vpnaas_optional_pip_packages:
- neutron-vpnaas-dashboard
horizon_octavia_optional_pip_packages:
- octavia_dashboard
horizon_sahara_optional_pip_packages:

View File

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

View File

@ -76,6 +76,7 @@
(horizon_enable_magnum_ui | bool) | ternary(horizon_magnum_optional_pip_packages, []) +
(horizon_enable_neutron_fwaas | bool) | ternary(horizon_neutron_fwaas_optional_pip_packages, []) +
(horizon_enable_neutron_lbaas | bool) | ternary(horizon_neutron_lbaas_optional_pip_packages, []) +
(horizon_enable_neutron_vpnaas | bool) | ternary(horizon_neutron_vpnaas_optional_pip_packages, []) +
(horizon_enable_octavia_ui | bool) | ternary(horizon_octavia_optional_pip_packages, []) +
(horizon_enable_sahara_ui | bool) | ternary(horizon_sahara_optional_pip_packages, []) +
(horizon_enable_tacker_ui | bool) | ternary(horizon_tacker_optional_pip_packages, []) +

View File

@ -294,6 +294,7 @@ OPENSTACK_NEUTRON_NETWORK = {
'enable_ipv6': {{ horizon_enable_ipv6 | bool }},
'enable_distributed_router': False,
'enable_lb': {{ horizon_enable_neutron_lbaas | bool }},
'enable_vpn': {{ horizon_enable_neutron_vpnaas | bool }},
'enable_ha_router': {{ horizon_enable_ha_router | bool }},
'enable_fip_topology_check': True,