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
This commit is contained in:
David Ames 2017-05-24 17:39:27 +00:00
parent 3b31754af5
commit 65d5003924
1 changed files with 2 additions and 0 deletions

View File

@ -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))