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:
Takashi Kajinami 2023-09-07 17:15:44 +09:00
parent e2bc07222f
commit 8b33b52115

View File

@ -103,7 +103,8 @@ class NeutronAuth(object):
neutron_endpoint = CONF.neutron.endpoint_override
if neutron_endpoint is None:
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)
neutron_endpoint = endpoint_data.catalog_url