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(a)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(a)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.