

def get_random_server(self):
    server_id = random.choice(self.context['tenant']['servers'])
    return self.clients('nova').servers.get(server_id)

dataset/ETHPy150Open openstack/rally/rally/plugins/openstack/scenarios/cinder/utils.py CinderScenario.get_random_server/original