diff --git a/hooks/neutron_api_context.py b/hooks/neutron_api_context.py index 33558fea..536f88ed 100644 --- a/hooks/neutron_api_context.py +++ b/hooks/neutron_api_context.py @@ -542,6 +542,11 @@ class NeutronCCContext(context.NeutronContext): 'LoadBalancerPluginv2'), ('neutron_dynamic_routing.' 'services.bgp.bgp_plugin.BgpPlugin')], + 'queens': ['router', 'firewall', 'metering', 'segments', + ('neutron_lbaas.services.loadbalancer.plugin.' + 'LoadBalancerPluginv2'), + ('neutron_dynamic_routing.' + 'services.bgp.bgp_plugin.BgpPlugin')], 'rocky': ['router', 'firewall', 'metering', 'segments', ('neutron_dynamic_routing.' 'services.bgp.bgp_plugin.BgpPlugin')], diff --git a/unit_tests/test_neutron_api_context.py b/unit_tests/test_neutron_api_context.py index d4e4ae51..836bd79c 100644 --- a/unit_tests/test_neutron_api_context.py +++ b/unit_tests/test_neutron_api_context.py @@ -913,6 +913,14 @@ class NeutronCCContextTest(CharmTestCase): service_plugins) # pike self.os_release.return_value = 'pike' + service_plugins = ( + 'router,firewall,metering,segments,' + 'neutron_lbaas.services.loadbalancer.plugin.LoadBalancerPluginv2,' + 'neutron_dynamic_routing.services.bgp.bgp_plugin.BgpPlugin') + self.assertEqual(context.NeutronCCContext()()['service_plugins'], + service_plugins) + # queens + self.os_release.return_value = 'pike' service_plugins = ( 'router,firewall,metering,segments,' 'neutron_lbaas.services.loadbalancer.plugin.LoadBalancerPluginv2,'