

def _do_server_reboot(self, server, reboottype):
    server.reboot(reboot_type=reboottype)
    time.sleep(CONF.benchmark.nova_server_reboot_prepoll_delay)
    utils.wait_for(server, ready_statuses=['ACTIVE'], update_resource=utils.get_from_manager(), timeout=CONF.benchmark.nova_server_reboot_timeout, check_interval=CONF.benchmark.nova_server_reboot_poll_interval)

dataset/ETHPy150Open openstack/rally/rally/plugins/openstack/scenarios/nova/utils.py NovaScenario._do_server_reboot/original