From 65d500392488d1dc987a021760e01f89a6235b0a Mon Sep 17 00:00:00 2001 From: David Ames Date: Wed, 24 May 2017 17:39:27 +0000 Subject: [PATCH] Enable LBaaS2 in Horizon Install the python-neutron-lbaas-dashboard package if Ocata or greater to enable LBaas2 in Horizon. Change-Id: I89260ed4edf2b200be462ab05946ff88f21e429c Closes-Bug: #1658105 --- hooks/horizon_utils.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hooks/horizon_utils.py b/hooks/horizon_utils.py index c3d5d2d5..86cf32e9 100644 --- a/hooks/horizon_utils.py +++ b/hooks/horizon_utils.py @@ -279,6 +279,8 @@ def determine_packages(): # Really should be handled as a dep in the openstack-dashboard package if CompareOpenStackReleases(release) >= 'mitaka': packages.append('python-pymysql') + if CompareOpenStackReleases(release) >= 'ocata': + packages.append('python-neutron-lbaas-dashboard') return list(set(packages))