Hi,<div><br></div><div>Just a quick comment: since 2.2 we have added a few new states:</div><div><br></div><div><a href="http://dev.opennebula.org/projects/opennebula/repository/revisions/one-3.8/entry/src/oca/ruby/OpenNebula/VirtualMachine.rb">http://dev.opennebula.org/projects/opennebula/repository/revisions/one-3.8/entry/src/oca/ruby/OpenNebula/VirtualMachine.rb</a></div>
<div><a href="http://opennebula.org/doc/3.8/oca/ruby/OpenNebula/VirtualMachine.html">http://opennebula.org/doc/3.8/oca/ruby/OpenNebula/VirtualMachine.html</a></div><div><br></div><div>Regards<br clear="all"><div>--<br>Carlos Martín, MSc<br>
Project Engineer<br>OpenNebula - The Open-source Solution for Data Center Virtualization<div><span style="border-collapse:collapse;color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px"><a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | <a href="mailto:cmartin@opennebula.org" target="_blank">cmartin@opennebula.org</a> | <a href="http://twitter.com/opennebula" target="_blank">@OpenNebula</a></span><span style="border-collapse:collapse;color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px"><a href="mailto:cmartin@opennebula.org" style="color:rgb(42,93,176)" target="_blank"></a></span></div>
</div><br>
<br><br><div class="gmail_quote">On Wed, Nov 28, 2012 at 11:38 PM, Simon Boulet <span dir="ltr"><<a href="mailto:simon@nostalgeek.com" target="_blank">simon@nostalgeek.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Jun,<div class="im"><div><br></div><div class="gmail_extra"><div class="gmail_quote">On Wed, Nov 28, 2012 at 5:28 PM, jd daniel ch <span dir="ltr"><<a href="mailto:junix88@gmail.com" target="_blank">junix88@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Hello,<br><br>Need LCM_STATE and STATE numeric value on the following VM status, thusly;<br>
</blockquote><div><br></div><div></div></div></div></div><div class="gmail_extra">From my experience LCM_STATE don't always match the STATE. They are two different things.</div><div class="gmail_extra"><br></div><div class="gmail_extra">
I've found the following constants reference that are working for me:</div><div class="gmail_extra"><br></div><div class="gmail_extra"><a href="http://opennebula.org/doc/2.2/oca/ruby/classes/OpenNebula/VirtualMachine.html" target="_blank">http://opennebula.org/doc/2.2/oca/ruby/classes/OpenNebula/VirtualMachine.html</a><span class="HOEnZb"><font color="#888888"><br>
</font></span></div><span class="HOEnZb"><font color="#888888"><div class="gmail_extra"><br></div><div class="gmail_extra">Simon</div>
</font></span><br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org">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>
<br></blockquote></div><br></div>