Replace network_api_class with use_neutron

network_api_class config has been deprecated in favor of
use_neutron

Prior to this change, the nova-compute.log would complain with:

"Config mismatch. The network_api_class specifies
nova.network.neutronv2.api.API, however use_neutron is not set to True. Using
Neutron networking for now, however please set use_neutron to True in your
configuration as network_api_class is deprecated and will be removed."

Change-Id: I2933565deec42172c9cdc836c5a4b88b44214d07
This commit is contained in:
Travis Truman 2016-06-21 13:25:02 -04:00
parent 842a5b4b9d
commit bf12ab4253

View File

@ -96,7 +96,7 @@ use_forwarded_for = {{ nova_network_services[nova_network_type]['use_forwarded_f
my_ip = {{ nova_management_address }}
default_floating_pool = public
security_group_api = neutron
network_api_class = nova.network.neutronv2.api.API
use_neutron = True
# Authentication
auth_strategy = keystone