Hello, OpenNebula id is incremented with every object added, this works for any object (vm, host, vnet..). The easiest way to get the id of a vm just created is using -v parameter:
$ onevm create -v machine.one This will return the id of the vm in case of success. Bye On Thu, Oct 14, 2010 at 12:15 AM, Travis Hunter <[email protected]> wrote: > Hello, > I was wondering if there was a reliable way, upon creating a VM (using, > let's say, "onevm create temp.one"), to retrieve the ID of the VM? How does > open nebula assign VMs? It seems to be just an increasing integer? It would > be helpful to know both how open nebula assigns these ID numbers as well as > a good way to retrieve one. Thanks for any and all help! > -Travis > _______________________________________________ > Users mailing list > [email protected] > http://lists.opennebula.org/listinfo.cgi/users-opennebula.org > -- Javier Fontan, Grid & Virtualization Technology Engineer/Researcher DSA Research Group: http://dsa-research.org Globus GridWay Metascheduler: http://www.GridWay.org OpenNebula Virtual Infrastructure Engine: http://www.OpenNebula.org _______________________________________________ Users mailing list [email protected] http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
