Don't set a network manager if charms turned off managing neutron

This commit is contained in:
James Page 2015-07-14 11:46:12 +01:00
parent 8cc6963340
commit ece6aa7b92

View File

@ -423,6 +423,8 @@ def network_manager():
Obtain the network manager advertised by nova-c-c, renaming to Quantum
if required
'''
manager = None
if neutron_plugin_legacy_mode():
manager = _network_config().get('network_manager')
if manager:
manager = manager.lower()