

@atomic.action_timer('nova.suspend_server')
def _suspend_server(self, server):
    'Suspends the given server.\n\n        Returns when the server is actually suspended and is in the "Suspended"\n        state.\n\n        :param server: Server object\n        '
    server.suspend()
    time.sleep(CONF.benchmark.nova_server_suspend_prepoll_delay)
    utils.wait_for(self, ready_statuses=['SUSPENDED'], update_resource=utils.get_from_manager(), timeout=CONF.benchmark.nova_server_suspend_timeout, check_interval=CONF.benchmark.nova_server_suspend_poll_interval)

dataset/ETHPy150Open openstack/rally/rally/plugins/openstack/scenarios/nova/utils.py NovaScenario._suspend_server/VarMisuse@43/125 `server`->`self`