<html>
 <body>
  <div style="font-family: Verdana, Arial, Helvetica, Sans-Serif;">
   <table bgcolor="#f9f3c9" width="100%" cellpadding="8" style="border: 1px #c9c399 solid;">
    <tr>
     <td>
      This is an automatically generated e-mail. To reply, visit:
      <a href="http://reviewboard-openlmi.rhcloud.com/r/568/">http://reviewboard-openlmi.rhcloud.com/r/568/</a>
     </td>
    </tr>
   </table>
   <br />



<table bgcolor="#e0e0e0" width="100%" cellpadding="8" style="border: 1px gray solid;">
 <tr>
  <td>
   <h1 style="margin-right: 0.2em; padding: 0; font-size: 10pt;">This change has been marked as submitted.</h1>
  </td>
 </tr>
</table>
<br />


<table bgcolor="#fefadf" width="100%" cellspacing="0" cellpadding="8" style="background-image: url('http://reviewboard-openlmi.rhcloud.com/static/rb/images/review_request_box_top_bg.ab6f3b1072c9.png'); background-position: left top; background-repeat: repeat-x; border: 1px black solid;">
 <tr>
  <td>

<div>Review request for OpenLMI Developers.</div>
<div>By Peter Hatina.</div>


<p style="color: grey;"><i>Updated Sept. 19, 2013, 1:13 p.m.</i></p>









<div style="margin-top: 1.5em;">
 <b style="color: #575012; font-size: 10pt;">Repository: </b>
openlmi-tools
</div>


<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Description </h1>
 <table width="100%" bgcolor="#ffffff" cellspacing="0" cellpadding="10" style="border: 1px solid #b8b5a0">
 <tr>
  <td>
   <pre style="margin: 0; padding: 0; white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">This patch introduces the access to contant values present either in the CIMClass or in the CIMMethod.

To access desired contant, do following (eg. storage provider):
&gt; conf_class = c.root.cimv2.LMI_FileSystemConfigurationService
&gt; conf_class.OperatingStatusValues.Completed
8

For quick list, just type following:
&gt; conf_class.OperatingStatusValues
Dormant = 7
Immigrating = 11
Unknown = 0
Completed = 8
InService = 16
ShuttingDown = 13
InTest = 14
Stopping = 4
Stopped = 5
Servicing = 2
Aborted = 6
NotAvailable = 1
Snapshotting = 12
Transitioning = 15
Migrating = 9
Starting = 3
Emigrating = 10
&gt; 

Similar action can be performed within method:
&gt; conf_service = conf_class.first_instance()
&gt; conf_service.RequestStateChange.RequestedStateValues.Enabled
2
&gt;</pre>
  </td>
 </tr>
</table>



<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Diffs</b> </h1>
<ul style="margin-left: 3em; padding-left: 0;">

 <li>cli-tools/lmi/lmi_client_shell.py <span style="color: grey">(8c25cece6c0782f77b47d1888f9f031691b27a4b)</span></li>

 <li>cli-tools/lmishell <span style="color: grey">(bbbe0df89844320c84c8445699046c656d058fd9)</span></li>

</ul>

<p><a href="http://reviewboard-openlmi.rhcloud.com/r/568/diff/" style="margin-left: 3em;">View Diff</a></p>







  </td>
 </tr>
</table>




  </div>
 </body>
</html>