ovirt shell : list vms

Thakker, Dhawal dhawal.thakker at uk.pgds.com
Wed Jun 5 14:02:35 UTC 2013


Was managed to solve that by using api.vms.list(max=200)

From: Thakker, Dhawal
Sent: 05 June 2013 12:40
To: 'infra at ovirt.org'
Subject: RE: ovirt shell : list vms

"api.vms.list()"  only list first 100 vms. Any idea how can I request to list all vms.

Dhawal.
From: Thakker, Dhawal
Sent: 05 June 2013 12:00
To: 'infra at ovirt.org'
Subject: ovirt shell : list vms

Hi ALL,

I have a script to list vms on a RHEV/ovirt. This used to work fine. But as the number of vms hosted on the environment has increased I have just realised it does not list all the vms.

However, if I try to find a vms using list vms --query "name=lhtcash*" it does find it. Is there a default limit on number of vms can be displayed by  list api ?


Thanks,
Dhawal.
This email is confidential and should not be used by anyone who is not the original intended recipient. PGDS cannot accept liability for statements made which are clearly the sender's own and not made on behalf of the company. In addition no statement should be construed as giving investment advice within or outside the United Kingdom.<P><P>

PGDS (UK ONE) LIMITED, Laurence Pountney Hill, London, EC4R 0HH.<P>
Incorporated and registered in England and Wales. Registered Office as
above. Registered number 1967719.<P><P>

"PGDS" is the trading name of certain subsidiaries of Prudential plc (registered in England, number 1397169), whose registered office is at Laurence Pountney Hill London EC4R OHH, some of whose subsidiaries are regulated by the Financial Services Authority. Prudential plc is not affiliated in any manner with Prudential Financial, Inc, a company whose principal place of business is in the United States of America.<P><P>

A list of other Prudential companies together with their registered statutory details can be found in 'About Prudential' on http://www.prudential.co.uk<P><P>

An e-mail reply to this address may be subject to interception or monitoring for operational reasons or for lawful business practices.<P><P>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/infra/attachments/20130605/0a498c1b/attachment.html>


More information about the Infra mailing list