
--_000_938D73B1DC08C4459FDF407EDF4F0B3B377C314BUSPRMBP01Apgdsr_ Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Was managed to solve that by using api.vms.list(max=3D200) From: Thakker, Dhawal Sent: 05 June 2013 12:40 To: 'infra@ovirt.org' Subject: RE: ovirt shell : list vms "api.vms.list()" only list first 100 vms. Any idea how can I request to li= st all vms. Dhawal. From: Thakker, Dhawal Sent: 05 June 2013 12:00 To: 'infra@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 real= ised it does not list all the vms. However, if I try to find a vms using list vms --query "name=3Dlhtcash*" it= does find it. Is there a default limit on number of vms can be displayed b= y 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 ma= de 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 (regis= tered in England, number 1397169), whose registered office is at Laurence P= ountney Hill London EC4R OHH, some of whose subsidiaries are regulated by t= he Financial Services Authority. Prudential plc is not affiliated in any ma= nner with Prudential Financial, Inc, a company whose principal place of bus= iness is in the United States of America.<P><P> A list of other Prudential companies together with their registered statuto= ry details can be found in 'About Prudential' on http://www.prudential.co.u= k<P><P> An e-mail reply to this address may be subject to interception or monitorin= g for operational reasons or for lawful business practices.<P><P> --_000_938D73B1DC08C4459FDF407EDF4F0B3B377C314BUSPRMBP01Apgdsr_ Content-Type: text/html; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable <html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr= osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" = xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:= //www.w3.org/TR/REC-html40"> <head> <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"> <meta name=3D"Generator" content=3D"Microsoft Word 14 (filtered medium)"> <style><!-- /* Font Definitions */ @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4;} @font-face {font-family:Tahoma; panose-1:2 11 6 4 3 5 4 4 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0cm; margin-bottom:.0001pt; font-size:11.0pt; font-family:"Calibri","sans-serif"; mso-fareast-language:EN-US;} a:link, span.MsoHyperlink {mso-style-priority:99; color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {mso-style-priority:99; color:purple; text-decoration:underline;} p.MsoAcetate, li.MsoAcetate, div.MsoAcetate {mso-style-priority:99; mso-style-link:"Balloon Text Char"; margin:0cm; margin-bottom:.0001pt; font-size:8.0pt; font-family:"Tahoma","sans-serif"; mso-fareast-language:EN-US;} span.EmailStyle17 {mso-style-type:personal; font-family:"Calibri","sans-serif"; color:windowtext;} span.EmailStyle18 {mso-style-type:personal; font-family:"Calibri","sans-serif"; color:#1F497D;} span.EmailStyle19 {mso-style-type:personal-reply; font-family:"Calibri","sans-serif"; color:#1F497D;} span.BalloonTextChar {mso-style-name:"Balloon Text Char"; mso-style-priority:99; mso-style-link:"Balloon Text"; font-family:"Tahoma","sans-serif"; mso-fareast-language:EN-US;} .MsoChpDefault {mso-style-type:export-only; font-size:10.0pt;} @page WordSection1 {size:612.0pt 792.0pt; margin:72.0pt 72.0pt 72.0pt 72.0pt;} div.WordSection1 {page:WordSection1;} --></style><!--[if gte mso 9]><xml> <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" /> </xml><![endif]--><!--[if gte mso 9]><xml> <o:shapelayout v:ext=3D"edit"> <o:idmap v:ext=3D"edit" data=3D"1" /> </o:shapelayout></xml><![endif]--> </head> <body lang=3D"EN-GB" link=3D"blue" vlink=3D"purple"> <div class=3D"WordSection1"> <p class=3D"MsoNormal"><span style=3D"color:#1F497D">Was managed to solve t= hat by using api.vms.list(max=3D200)<o:p></o:p></span></p> <p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p> </o:p></spa= n></p> <div> <div style=3D"border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm = 0cm 0cm"> <p class=3D"MsoNormal"><b><span lang=3D"EN-US" style=3D"font-size:10.0pt;fo= nt-family:"Tahoma","sans-serif";mso-fareast-language:EN= -GB">From:</span></b><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-fa= mily:"Tahoma","sans-serif";mso-fareast-language:EN-GB">= Thakker, Dhawal <br> <b>Sent:</b> 05 June 2013 12:40<br> <b>To:</b> 'infra@ovirt.org'<br> <b>Subject:</b> RE: ovirt shell : list vms<o:p></o:p></span></p> </div> </div> <p class=3D"MsoNormal"><o:p> </o:p></p> <p class=3D"MsoNormal"><span style=3D"color:#1F497D">“api.vms.list()&= #8221; only list first 100 vms. Any idea how can I request to list al= l vms. <o:p></o:p></span></p> <p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p> </o:p></spa= n></p> <p class=3D"MsoNormal"><span style=3D"color:#1F497D">Dhawal.<o:p></o:p></sp= an></p> <div> <div style=3D"border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm = 0cm 0cm"> <p class=3D"MsoNormal"><b><span lang=3D"EN-US" style=3D"font-size:10.0pt;fo= nt-family:"Tahoma","sans-serif";mso-fareast-language:EN= -GB">From:</span></b><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-fa= mily:"Tahoma","sans-serif";mso-fareast-language:EN-GB">= Thakker, Dhawal <br> <b>Sent:</b> 05 June 2013 12:00<br> <b>To:</b> 'infra@ovirt.org'<br> <b>Subject:</b> ovirt shell : list vms<o:p></o:p></span></p> </div> </div> <p class=3D"MsoNormal"><o:p> </o:p></p> <p class=3D"MsoNormal">Hi ALL,<o:p></o:p></p> <p class=3D"MsoNormal"><o:p> </o:p></p> <p class=3D"MsoNormal">I have a script to list vms on a RHEV/ovirt. This us= ed to work fine. But as the number of vms hosted on the environment has inc= reased I have just realised it does not list all the vms.<o:p></o:p></p> <p class=3D"MsoNormal"><o:p> </o:p></p> <p class=3D"MsoNormal">However, if I try to find a vms using list vms --que= ry "name=3Dlhtcash*" it does find it. Is there a default limit on= number of vms can be displayed by list api ? <o:p></o:p></p> <p class=3D"MsoNormal"><o:p> </o:p></p> <p class=3D"MsoNormal"><o:p> </o:p></p> <p class=3D"MsoNormal">Thanks,<o:p></o:p></p> <p class=3D"MsoNormal">Dhawal.<o:p></o:p></p> </div> <p>This email is confidential and should not be used by anyone who is not t= he original intended recipient. PGDS cannot accept liability for statements= made which are clearly the sender's own and not made on behalf of the comp= any. In addition no statement should be construed as giving investment advi= ce within or outside the United Kingdom.<P><P></p> <p>PGDS (UK ONE) LIMITED, Laurence Pountney Hill, London, EC4R 0HH.<P>= ;<br> Incorporated and registered in England and Wales. Registered Office as<br> above. Registered number 1967719.<P><P></p> <p>"PGDS" is the trading name of certain subsidiaries of Prudential plc (re= gistered in England, number 1397169), whose registered office is at Laurenc= e Pountney Hill London EC4R OHH, some of whose subsidiaries are regulated b= y 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></p> <p>A list of other Prudential companies together with their registered stat= utory details can be found in 'About Prudential' on http://www.prudential.c= o.uk<P><P></p> <p>An e-mail reply to this address may be subject to interception or monito= ring for operational reasons or for lawful business practices.<P><= P></p></body> </html> --_000_938D73B1DC08C4459FDF407EDF4F0B3B377C314BUSPRMBP01Apgdsr_--

Hello, For future reference, I think users@ovirt.org is a better list for this since this list is meant for the ovirt infra team. We manage the infra for the ovirt project itself. On Wed, Jun 05, 2013 at 02:02:35PM +0000, Thakker, Dhawal wrote:
Was managed to solve that by using api.vms.list(max=200)
From: Thakker, Dhawal Sent: 05 June 2013 12:40 To: 'infra@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@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>
_______________________________________________ Infra mailing list Infra@ovirt.org http://lists.ovirt.org/mailman/listinfo/infra
participants (2)
-
Ewoud Kohl van Wijngaarden
-
Thakker, Dhawal