From 7c007fffa1e1195661eb0707018e3ff35c4a0678 Mon Sep 17 00:00:00 2001 From: ZhijunWei Date: Mon, 17 Sep 2018 13:56:33 -0400 Subject: [PATCH] Add tacker dashboard into horizon Co-Authored-By: jacky06 Change-Id: I4f5fb39f1e7f9ba9dc3ca989317d2870d487ca2d Closes-Bug: #1792951 --- defaults/main.yml | 10 ++++++++++ .../notes/tacker-horizon-panel-c3x916273c21d70a.yaml | 9 +++++++++ tasks/horizon_install_source.yml | 1 + 3 files changed, 20 insertions(+) create mode 100644 releasenotes/notes/tacker-horizon-panel-c3x916273c21d70a.yaml diff --git a/defaults/main.yml b/defaults/main.yml index 5c1f5ac0..1fe96adb 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -52,6 +52,10 @@ octavia_dashboard_git_install_branch: master designate_dashboard_git_repo: https://git.openstack.org/openstack/designate-dashboard designate_dashboard_git_install_branch: master +## The git source/branch for the Tacker UI plugin +tacker_dashboard_git_repo: https://git.openstack.org/openstack/tacker-horizon +tacker_dashboard_git_install_branch: master + ## The git source/branch for the Trove UI plugin trove_dashboard_git_repo: https://git.openstack.org/openstack/trove-dashboard trove_dashboard_git_install_branch: master @@ -66,6 +70,7 @@ horizon_developer_constraints: - "git+{{ blazar_dashboard_git_repo }}@{{ blazar_dashboard_git_install_branch }}#egg=blazar-dashboard" - "git+{{ magnum_dashboard_git_repo }}@{{ magnum_dashboard_git_install_branch }}#egg=magnum-ui" - "git+{{ designate_dashboard_git_repo }}@{{ designate_dashboard_git_install_branch }}#egg=designate_dashboard" + - "git+{{ tacker_dashboard_git_repo }}@{{ tacker_dashboard_git_install_branch }}#egg=tacker_horizon" - "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" @@ -247,6 +252,9 @@ horizon_enable_octavia_ui: False ## Sahara UI Panel horizon_enable_sahara_ui: False +## Tacker UI Panel +horizon_enable_tacker_ui: False + ## Trove UI Panel horizon_enable_trove_ui: False @@ -357,6 +365,8 @@ horizon_octavia_optional_pip_packages: - octavia_dashboard horizon_sahara_optional_pip_packages: - sahara_dashboard +horizon_tacker_optional_pip_packages: + - tacker_horizon horizon_trove_optional_pip_packages: - trove_dashboard diff --git a/releasenotes/notes/tacker-horizon-panel-c3x916273c21d70a.yaml b/releasenotes/notes/tacker-horizon-panel-c3x916273c21d70a.yaml new file mode 100644 index 00000000..28ad5356 --- /dev/null +++ b/releasenotes/notes/tacker-horizon-panel-c3x916273c21d70a.yaml @@ -0,0 +1,9 @@ +--- +features: + - | + The tacker dashboard is available in Horizon. Deployers can enable + the panel by setting the following Ansible variable: + + .. code-block:: yaml + + horizon_enable_tacker_ui: True diff --git a/tasks/horizon_install_source.yml b/tasks/horizon_install_source.yml index 3e0f74a8..4872ff93 100644 --- a/tasks/horizon_install_source.yml +++ b/tasks/horizon_install_source.yml @@ -78,6 +78,7 @@ (horizon_enable_neutron_lbaas | bool) | ternary(horizon_neutron_lbaas_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, []) + (horizon_enable_trove_ui | bool) | ternary(horizon_trove_optional_pip_packages, []) }} venv_facts_when_changed: - section: "horizon"