diff --git a/whitebox_neutron_tempest_plugin/tests/scenario/test_security_group_logging.py b/whitebox_neutron_tempest_plugin/tests/scenario/test_security_group_logging.py index 2a6a24d..29c16c4 100644 --- a/whitebox_neutron_tempest_plugin/tests/scenario/test_security_group_logging.py +++ b/whitebox_neutron_tempest_plugin/tests/scenario/test_security_group_logging.py @@ -462,10 +462,7 @@ class BaseSecGroupLoggingTest( value=rate_val) # 5) restart neutron api on all controllers simultaneously if not WB_CONF.openstack_type == 'podified': - if WB_CONF.openstack_type == 'devstack': - service_ptn = 'q svc' - else: - service_ptn = 'neutron api' + service_ptn = utils.get_neutron_api_service_name() for node in self.nodes: if node['is_controller']: # NOTE(mblue): if reset fails on multinode, consider