Hi Nikolay, The core looks for those meaningful attributes and updates them only if they are present and not equal to '-1', but they are not mandatory. If any of them is not found, the previous value persist.
I would say that your driver should return all values that can be retrieved from the hypervisor. Regards. -- Carlos Martín, MSc Project Major Contributor OpenNebula - The Open Source Toolkit for Cloud Computing www.OpenNebula.org <http://www.opennebula.org/> | cmar...@opennebula.org On Mon, May 16, 2011 at 8:04 PM, <kna...@gmail.com> wrote: > Hi! > > I wonder what $ONE_LOCATION/var/remotes/vmm/<hypervisor>/poll script has to > return if polling VM is not running (but it can be in one of a,p,d,e state)? > Should it be just STATE='<vm status>' or script has to return all > meaningful for OpenNebula variables (USEDCPU, USEDMEMORY, NETRX and NETTX)? > If all variables listed above are mandatory then which values has to be > assigned to them (0, -, something else or variables shouldn't have any value > assigned) since they can't be retrieved? > > I couldn't find such info in [1]. > > Thanks! > Nikolay. > > [1] http://opennebula.org/documentation:rel2.2:devel-vmm > _______________________________________________ > Users mailing list > Users@lists.opennebula.org > http://lists.opennebula.org/listinfo.cgi/users-opennebula.org >
_______________________________________________ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org