Merge "adding newton & above release support for nuage"
This commit is contained in:
commit
123f366fc5
@ -408,7 +408,7 @@ class NeutronCCContext(context.NeutronContext):
|
|||||||
ctxt['external_network'] = config('neutron-external-network')
|
ctxt['external_network'] = config('neutron-external-network')
|
||||||
release = os_release('neutron-server')
|
release = os_release('neutron-server')
|
||||||
cmp_release = CompareOpenStackReleases(release)
|
cmp_release = CompareOpenStackReleases(release)
|
||||||
if config('neutron-plugin') in ['vsp']:
|
if config('neutron-plugin') == 'vsp' and cmp_release < 'newton':
|
||||||
_config = config()
|
_config = config()
|
||||||
for k, v in _config.items():
|
for k, v in _config.items():
|
||||||
if k.startswith('vsd'):
|
if k.startswith('vsd'):
|
||||||
|
@ -410,7 +410,7 @@ def determine_packages(source=None):
|
|||||||
if release == 'kilo' or cmp_release >= 'mitaka':
|
if release == 'kilo' or cmp_release >= 'mitaka':
|
||||||
packages.append('python-networking-hyperv')
|
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()
|
nuage_pkgs = config('nuage-packages').split()
|
||||||
packages.extend(nuage_pkgs)
|
packages.extend(nuage_pkgs)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user