Merge "adding newton & above release support for nuage"

This commit is contained in:
Zuul 2019-05-24 08:52:35 +00:00 committed by Gerrit Code Review
commit 123f366fc5
2 changed files with 2 additions and 2 deletions

View File

@ -408,7 +408,7 @@ class NeutronCCContext(context.NeutronContext):
ctxt['external_network'] = config('neutron-external-network')
release = os_release('neutron-server')
cmp_release = CompareOpenStackReleases(release)
if config('neutron-plugin') in ['vsp']:
if config('neutron-plugin') == 'vsp' and cmp_release < 'newton':
_config = config()
for k, v in _config.items():
if k.startswith('vsd'):

View File

@ -410,7 +410,7 @@ def determine_packages(source=None):
if release == 'kilo' or cmp_release >= 'mitaka':
packages.append('python-networking-hyperv')
if config('neutron-plugin') == 'vsp':
if config('neutron-plugin') == 'vsp' and cmp_release < 'newton':
nuage_pkgs = config('nuage-packages').split()
packages.extend(nuage_pkgs)