adding newton & above release support for nuage
Nuage Networks Integration doesn't need to run nuage specific code within neutron-api starting from newton and above release. Change-Id: I34948e59ed27499d51933934263d1a42b015e5aa
This commit is contained in:
parent
088ae637c9
commit
b6013977cc
@ -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'):
|
||||||
|
@ -409,7 +409,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…
x
Reference in New Issue
Block a user