Hi Nikolay,<br><br>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.<br>If any of them is not found, the previous value persist.<br>

<br>I would say that your driver should return all values that can be retrieved from the hypervisor.<br><br><br>Regards.<br><br clear="all">
<span style="border-collapse:collapse;color:rgb(136, 136, 136);font-family:arial, sans-serif;font-size:13px">--<br>Carlos Martín, MSc<br>Project Major Contributor<br><span style="background-color:rgb(255, 255, 204);color:rgb(34, 34, 34);background-repeat:initial initial">OpenNebula</span> - The Open Source Toolkit for Cloud Computing<br>


<a href="http://www.opennebula.org/" style="color:rgb(42, 93, 176)" target="_blank">www.<span style="background-color:rgb(255, 255, 204);color:rgb(34, 34, 34);background-repeat:initial initial">OpenNebula</span>.org</a> | <a href="mailto:cmartin@opennebula.org" style="color:rgb(42, 93, 176)" target="_blank">cmartin@<span style="background-color:rgb(255, 255, 204);color:rgb(34, 34, 34);background-repeat:initial initial">opennebula</span>.org</a></span><br>



<br><br><div class="gmail_quote">On Mon, May 16, 2011 at 8:04 PM,  <span dir="ltr"><<a href="mailto:knawnd@gmail.com" target="_blank">knawnd@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


Hi!<br>
<br>
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)?<br>
Should it be just STATE='<vm status>' or script has to return all meaningful for OpenNebula variables (USEDCPU, USEDMEMORY, NETRX and NETTX)?<br>
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?<br>
<br>
I couldn't find such info in [1].<br>
<br>
Thanks!<br>
Nikolay.<br>
<br>
[1] <a href="http://opennebula.org/documentation:rel2.2:devel-vmm" target="_blank">http://opennebula.org/documentation:rel2.2:devel-vmm</a><br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org" target="_blank">Users@lists.opennebula.org</a><br>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
</blockquote></div><br>