Fix remaining usage of [neutron] endpoint_type
This option was deprecated in favor of the valid_interfaces option. Change-Id: Icf607cc9b00926b437c51c426ab5c994d79b6e45
This commit is contained in:
parent
e2bc07222f
commit
8b33b52115
@ -103,7 +103,8 @@ class NeutronAuth(object):
|
|||||||
neutron_endpoint = CONF.neutron.endpoint_override
|
neutron_endpoint = CONF.neutron.endpoint_override
|
||||||
if neutron_endpoint is None:
|
if neutron_endpoint is None:
|
||||||
endpoint_data = sess.get_endpoint_data(
|
endpoint_data = sess.get_endpoint_data(
|
||||||
service_type='network', interface=CONF.neutron.endpoint_type,
|
service_type='network',
|
||||||
|
interface=CONF.neutron.valid_interfaces,
|
||||||
region_name=CONF.neutron.region_name)
|
region_name=CONF.neutron.region_name)
|
||||||
neutron_endpoint = endpoint_data.catalog_url
|
neutron_endpoint = endpoint_data.catalog_url
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user