[one-users] gem xmlrpc
Olivier Sallou
olivier.sallou at irisa.fr
Thu Jan 20 07:21:13 PST 2011
answer to myself, found looking at command lien script:
Use value -2 to get them all
Le 1/20/11 4:10 PM, Olivier Sallou a écrit :
> Hi,
> we are using ruby gem, but it seems that commands list only those
> elements of the connected user (or selected user in command)
> A list operation on vnet for example, shows only current user info,
> even if logged as admin
>
> This default is fine for users, but admin should have a way to get
> list of all elements. This is possible with a loop on all users, as
> operations allow to specify a user id, but there should be a way for
> admin user to get them all directly just like for command-line
>
> Is there any way to do so ? We use same as example
> vm_pool = VirtualMachinePool.new(client,-1
>
>
> Thanks
>
> Olivier
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20110120/bf3b7d3e/attachment-0003.htm>
More information about the Users
mailing list