Hi Paulo, try: vmpool=VirtualMachinePool.new(@one_client) vmpool.info vm['TEMPLATE/MEMORY'] vm['TEMPLATE/CPU']
There's also some documentation on this somewhere in the OpenNebula API pagesÅ Cheers, Florian Von: Paulo A L Rego <[email protected]> Datum: Mon, 20 Jun 2011 11:37:14 -0300 An: <[email protected]> Betreff: [one-users] Get VM info with Ruby OCA API Hello, I'm trying to get informations about ip, memory and cpu from Virtual Machine. I was using the method VirtualMachine.info, but i saw at documentation that it returns nil in case of success. The info method is just for error check? Is there any method that get this informations ou should i use xmlrpc/client and implement my own? Thanks _______________________________________________ Users mailing list [email protected]http://lists.opennebula.org/listinfo.cgi/users-op ennebula.org _______________________________________________ Users mailing list [email protected] http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
