From 000191eba886c7c77be013c9a800634691053324 Mon Sep 17 00:00:00 2001 From: Sebastian Lohff Date: 2025年5月16日 18:59:17 +0200 Subject: [PATCH] Set service type when registering provider config When registering the provider configuration with the service type manager we need to specify a service type for ProviderConfiguration(), as described in the Neutron Contributors documentation[0]. If this is not done it might lead to duplicate service providers configuration, as the ProviderConfiguration no longer filters out other services. [0] https://docs.openstack.org/neutron/latest/contributor/contribute.html#service-providers Change-Id: I90deb35bb6ed843aa132171907c9efe2a09fee99 --- networking_bgpvpn/neutron/services/plugin.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/networking_bgpvpn/neutron/services/plugin.py b/networking_bgpvpn/neutron/services/plugin.py index 8f790548..d3864cd2 100644 --- a/networking_bgpvpn/neutron/services/plugin.py +++ b/networking_bgpvpn/neutron/services/plugin.py @@ -56,7 +56,8 @@ class BGPVPNPlugin(bgpvpn.BGPVPNPluginBase, service_type_manager = st_db.ServiceTypeManager.get_instance() service_type_manager.add_provider_configuration( SERVICE_PROVIDER_TYPE, - pconf.ProviderConfiguration('networking_bgpvpn')) + pconf.ProviderConfiguration('networking_bgpvpn', + SERVICE_PROVIDER_TYPE)) # Load the default driver drivers, default_provider = service_base.load_drivers(

AltStyle によって変換されたページ (->オリジナル) /