Make use of the utility method `get_neutron_api_service_name
`
Change-Id: Ibfd04fef4c9182614256bec52c349c28f5cd4e49
This commit is contained in:
parent
e8aa6da10a
commit
8233036bcd
@ -462,10 +462,7 @@ class BaseSecGroupLoggingTest(
|
|||||||
value=rate_val)
|
value=rate_val)
|
||||||
# 5) restart neutron api on all controllers simultaneously
|
# 5) restart neutron api on all controllers simultaneously
|
||||||
if not WB_CONF.openstack_type == 'podified':
|
if not WB_CONF.openstack_type == 'podified':
|
||||||
if WB_CONF.openstack_type == 'devstack':
|
service_ptn = utils.get_neutron_api_service_name()
|
||||||
service_ptn = 'q svc'
|
|
||||||
else:
|
|
||||||
service_ptn = 'neutron api'
|
|
||||||
for node in self.nodes:
|
for node in self.nodes:
|
||||||
if node['is_controller']:
|
if node['is_controller']:
|
||||||
# NOTE(mblue): if reset fails on multinode, consider
|
# NOTE(mblue): if reset fails on multinode, consider
|
||||||
|
Loading…
x
Reference in New Issue
Block a user