Only install packages and create bridges if operating in legacy mode
This commit is contained in:
parent
0a07dbb856
commit
829347056a
@ -891,8 +891,6 @@ class NeutronContext(OSContextGenerator):
|
|||||||
return ctxt
|
return ctxt
|
||||||
|
|
||||||
def __call__(self):
|
def __call__(self):
|
||||||
self._ensure_packages()
|
|
||||||
|
|
||||||
if self.network_manager not in ['quantum', 'neutron']:
|
if self.network_manager not in ['quantum', 'neutron']:
|
||||||
return {}
|
return {}
|
||||||
|
|
||||||
|
@ -444,7 +444,9 @@ class NeutronComputeContext(context.NeutronContext):
|
|||||||
if not ovs_ctxt:
|
if not ovs_ctxt:
|
||||||
return {}
|
return {}
|
||||||
|
|
||||||
self._ensure_bridge()
|
if config('manage-neutron-plugin-legacy-mode'):
|
||||||
|
self._ensure_packages()
|
||||||
|
self._ensure_bridge()
|
||||||
|
|
||||||
ovs_ctxt['local_ip'] = \
|
ovs_ctxt['local_ip'] = \
|
||||||
get_address_in_network(config('os-data-network'),
|
get_address_in_network(config('os-data-network'),
|
||||||
|
Loading…
Reference in New Issue
Block a user