

@atomic.action_timer('nova.stop_server')
def _stop_server(self, server):
    'Stop the given server.\n\n        Issues a stop on the given server and waits for the server\n        to become SHUTOFF.\n\n        :param server: The server to stop.\n        '
    server.stop()
    utils.wait_for(self, ready_statuses=['SHUTOFF'], update_resource=utils.get_from_manager(), timeout=CONF.benchmark.nova_server_stop_timeout, check_interval=CONF.benchmark.nova_server_stop_poll_interval)

dataset/ETHPy150Open openstack/rally/rally/plugins/openstack/scenarios/nova/utils.py NovaScenario._stop_server/VarMisuse@32/112 `server`->`self`