Merge "Make use of the utility method `get_neutron_api_service_name`"

This commit is contained in:
Zuul 2024-09-16 17:39:48 +00:00 committed by Gerrit Code Review
commit 8b4555492a

View File

@ -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