[Engine-devel] about vm in vmpool

ÕâÊÇÒ»·â MIME žñÊœµÄ¶à²¿·ÖÓÊŒþ¡£ ------=_NextPart_000_004D_01CE7BE4.2369CFA0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hi, all: I have using ovirt-sdk 3 monthes, I can use ovirt-sdk get vm's infomations like vm's name, vm's id, vm'ticket etc. but recently, I have a question about vm in vmpool, how could I get vm's information that the vm in vmpool. Especially, when a vm is at stop statuss. For example, when use UserPortal in the web-browser, no matter the vm is in the vmpool, it can be showed in the web-browser, but, I can't get vm' s information which in the vmpool via the ovirt-sdk. Leaboy thanks ------=_NextPart_000_004D_01CE7BE4.2369CFA0 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <html xmlns:v=3D"urn:schemas-microsoft-com:vml" = xmlns:o=3D"urn:schemas-microsoft-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=3DContent-Type content=3D"text/html; = charset=3Dus-ascii"> <meta name=3DGenerator content=3D"Microsoft Word 12 (filtered medium)"> <style> <!-- /* Font Definitions */ @font-face {font-family:SimSun; panose-1:2 1 6 0 3 1 1 1 1 1;} @font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4;} @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4;} @font-face {font-family:SimSun; panose-1:2 1 6 0 3 1 1 1 1 1;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0cm; margin-bottom:.0001pt; text-align:justify; text-justify:inter-ideograph; font-size:10.5pt; font-family:"Calibri","sans-serif";} 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:"\6279\6CE8\6846\6587\672C Char"; margin:0cm; margin-bottom:.0001pt; text-align:justify; text-justify:inter-ideograph; font-size:9.0pt; font-family:"Calibri","sans-serif";} span.EmailStyle17 {mso-style-type:personal-compose; font-family:"Calibri","sans-serif"; color:windowtext;} span.Char {mso-style-name:"\6279\6CE8\6846\6587\672C Char"; mso-style-priority:99; mso-style-link:\6279\6CE8\6846\6587\672C;} .MsoChpDefault {mso-style-type:export-only;} /* Page Definitions */ @page Section1 {size:612.0pt 792.0pt; margin:72.0pt 90.0pt 72.0pt 90.0pt;} div.Section1 {page:Section1;} --> </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=3DZH-CN link=3Dblue vlink=3Dpurple = style=3D'text-justify-trim:punctuation'> <div class=3DSection1> <p class=3DMsoNormal><span lang=3DEN-US>Hi, all:<o:p></o:p></span></p> <p class=3DMsoNormal><span = lang=3DEN-US> I have using ovirt-sdk 3 monthes, I can use ovirt-sdk get vm’s = infomations like<o:p></o:p></span></p> <p class=3DMsoNormal><span lang=3DEN-US>vm’s name, vm’s id, = vm’ticket etc.<o:p></o:p></span></p> <p class=3DMsoNormal><span lang=3DEN-US><o:p> </o:p></span></p> <p class=3DMsoNormal><span = lang=3DEN-US> but recently, I have a question about vm in vmpool, how could I get = vm’s information<o:p></o:p></span></p> <p class=3DMsoNormal><span lang=3DEN-US>that the vm in vmpool. = Especially, when a vm is at stop statuss.<o:p></o:p></span></p> <p class=3DMsoNormal><span lang=3DEN-US><o:p> </o:p></span></p> <p class=3DMsoNormal><span = lang=3DEN-US> For example, when use UserPortal in the web-browser, no matter the vm is in = the vmpool,<o:p></o:p></span></p> <p class=3DMsoNormal><span lang=3DEN-US>it can be showed in the = web-browser, but, I can’t get vm’ s information which in the vmpool = via<o:p></o:p></span></p> <p class=3DMsoNormal><span lang=3DEN-US>the = ovirt-sdk.<o:p></o:p></span></p> <p class=3DMsoNormal><span lang=3DEN-US><o:p> </o:p></span></p> <p class=3DMsoNormal><span = lang=3DEN-US> = &= nbsp; &n= bsp; &nb= sp; &nbs= p;  = ; = &= nbsp; &n= bsp; &nb= sp; = Leaboy<o:p></o:p></span></p> <p class=3DMsoNormal><span = lang=3DEN-US> = &= nbsp; &n= bsp; &nb= sp; &nbs= p;  = ; = &= nbsp; &n= bsp; &nb= sp; &nbs= p; = thanks<o:p></o:p></span></p> <p class=3DMsoNormal><span lang=3DEN-US><o:p> </o:p></span></p> <p class=3DMsoNormal><span lang=3DEN-US><o:p> </o:p></span></p> </div> </body> </html> ------=_NextPart_000_004D_01CE7BE4.2369CFA0--

On 07/08/2013 09:04 AM, wlbleaboy@126 wrote:
Hi, all:
I have using ovirt-sdk 3 monthes, I can use ovirt-sdk get vm’s infomations like
vm’s name, vm’s id, vm’ticket etc.
but recently, I have a question about vm in vmpool, how could I get vm’s information
that the vm in vmpool. Especially, when a vm is at stop statuss.
For example, when use UserPortal in the web-browser, no matter the vm is in the vmpool,
it can be showed in the web-browser, but, I can’t get vm’ s information which in the vmpool via
the ovirt-sdk.
Leaboy
thanks
_______________________________________________ Engine-devel mailing list Engine-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel
I'm pretty sure the user portal is 'mocking' the appearance of the VM, based on user having permission to the pool.

Hi, How can I 'mocking' the appearance of ovirt-engine-sdk, or, could you show me how user portal 'mocking' the appearance. I'm not familiar with java, so It's hardly for me to read user portal's java code. -----Original Message----- From: Itamar Heim [mailto:iheim@redhat.com] Sent: Monday, July 08, 2013 6:25 PM To: wlbleaboy@126 Cc: engine-devel@ovirt.org; Michal Skrivanek; Einav Cohen Subject: Re: [Engine-devel] about vm in vmpool On 07/08/2013 09:04 AM, wlbleaboy@126 wrote:
Hi, all:
I have using ovirt-sdk 3 monthes, I can use ovirt-sdk get vm’s infomations like
vm’s name, vm’s id, vm’ticket etc.
but recently, I have a question about vm in vmpool, how could I get vm’s information
that the vm in vmpool. Especially, when a vm is at stop statuss.
For example, when use UserPortal in the web-browser, no matter the vm is in the vmpool,
it can be showed in the web-browser, but, I can’t get vm’ s information which in the vmpool via
the ovirt-sdk.
Leaboy
thanks
_______________________________________________ Engine-devel mailing list Engine-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel
I'm pretty sure the user portal is 'mocking' the appearance of the VM, based on user having permission to the pool.

On 07/15/2013 08:17 AM, wlbleaboy@126 wrote:
Hi, How can I 'mocking' the appearance of ovirt-engine-sdk, or, could you show me how user portal 'mocking' the appearance. I'm not familiar with java, so It's hardly for me to read user portal's java code.
there are sample user portals, but i don't think they mock the pool's behavior. http://gerrit.ovirt.org/gitweb?p=samples-portals.git;a=tree
-----Original Message----- From: Itamar Heim [mailto:iheim@redhat.com] Sent: Monday, July 08, 2013 6:25 PM To: wlbleaboy@126 Cc: engine-devel@ovirt.org; Michal Skrivanek; Einav Cohen Subject: Re: [Engine-devel] about vm in vmpool
On 07/08/2013 09:04 AM, wlbleaboy@126 wrote:
Hi, all:
I have using ovirt-sdk 3 monthes, I can use ovirt-sdk get vm’s infomations like
vm’s name, vm’s id, vm’ticket etc.
but recently, I have a question about vm in vmpool, how could I get vm’s information
that the vm in vmpool. Especially, when a vm is at stop statuss.
For example, when use UserPortal in the web-browser, no matter the vm is in the vmpool,
it can be showed in the web-browser, but, I can’t get vm’ s information which in the vmpool via
the ovirt-sdk.
Leaboy
thanks
_______________________________________________ Engine-devel mailing list Engine-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel
I'm pretty sure the user portal is 'mocking' the appearance of the VM, based on user having permission to the pool.
participants (2)
-
Itamar Heim
-
wlbleaboy@126