Enable use of use_neutron flag

For mitaka onwards, use of the 'use_neutron' flag should be made
instead of setting the network API class.

For newton, this is required as the network_api_class is ignored.

Change-Id: I843d82eb0518a0c27858816becf0f8b392bdb5eb
This commit is contained in:
James Page 2016-07-20 13:31:02 +01:00
parent 3e0520aef7
commit 920deeaf61

@ -92,6 +92,7 @@ firewall_driver = nova.virt.firewall.NoopFirewallDriver
{% if network_manager and network_manager == 'neutron' -%}
network_api_class = nova.network.neutronv2.api.API
use_neutron = True
{% else -%}
network_manager = nova.network.manager.FlatDHCPManager
{% endif -%}