attachment
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7651.11">
<TITLE>CIM> How to represent SubUnitStatus in CIM?</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->
<P><FONT SIZE=2 FACE="Arial">Ira, regarding our discussion on SubUnitStatus today, I think that there are (at least) two choices: either a vector of enum values or several separate variables. It might not be thoroughly unreasonable to break it into five variables representing the five sections that were or-ed together in the first place. </FONT></P>
<P><FONT SIZE=2 FACE="Arial">StatusAvailability enum</FONT>
<BR> <FONT SIZE=2 FACE="Arial">0 idle</FONT>
<BR> <FONT SIZE=2 FACE="Arial">1 on request, unavailable</FONT>
<BR> <FONT SIZE=2 FACE="Arial">2 standby</FONT>
<BR> <FONT SIZE=2 FACE="Arial">3 broken, unavailable</FONT>
<BR> <FONT SIZE=2 FACE="Arial">4 active</FONT>
<BR> <FONT SIZE=2 FACE="Arial">5 unknown</FONT>
<BR> <FONT SIZE=2 FACE="Arial">6 busy</FONT>
<BR><FONT SIZE=2 FACE="Arial">StatusCriticalAlert Boolean</FONT>
<BR><FONT SIZE=2 FACE="Arial">StatusNonCriticalAlert Boolean</FONT>
<BR><FONT SIZE=2 FACE="Arial">StatusOnline Boolean</FONT>
<BR><FONT SIZE=2 FACE="Arial">StatusTransitioning Boolean</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">It's an idea, anyway. Whaddyathink? </FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">For comparison, here is the section from the MIB intro, from which I cribbed the text above. </FONT>
</P>
<P><FONT SIZE=2 FACE="Arial"> The PrtSubUnitStatusTC is an integer that is the sum of 5 distinct</FONT>
<BR><FONT SIZE=2 FACE="Arial"> values, Availability, Non-Critical, Critical, On-line, and</FONT>
<BR><FONT SIZE=2 FACE="Arial"> Transitioning. These values are:</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial"> Availability value</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial"> Available and Idle 0 000'b</FONT>
<BR><FONT SIZE=2 FACE="Arial"> Available and Standby 2 010'b</FONT>
<BR><FONT SIZE=2 FACE="Arial"> Available and Active 4 100'b</FONT>
<BR><FONT SIZE=2 FACE="Arial"> Available and Busy 6 110'b</FONT>
<BR><FONT SIZE=2 FACE="Arial"> Unavailable and OnRequest 1 001'b</FONT>
<BR><FONT SIZE=2 FACE="Arial"> Unavailable because Broken 3 011'b</FONT>
<BR><FONT SIZE=2 FACE="Arial"> Unknown 5 101'b</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial"> Non-Critical</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial"> No Non-Critical Alerts 0</FONT>
<BR><FONT SIZE=2 FACE="Arial"> Non-Critical Alerts 8</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial"> Critical</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial"> No Critical Alerts 0</FONT>
<BR><FONT SIZE=2 FACE="Arial"> Critical Alerts 16</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial"> On-Line</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial"> State is On-Line 0</FONT>
<BR><FONT SIZE=2 FACE="Arial"> State is Off-Line 32</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial"> Transitioning</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial"> At intended state 0</FONT>
<BR><FONT SIZE=2 FACE="Arial"> Transitioning to intended state 64</FONT>
</P>
<BR>
<P><FONT SIZE=2 FACE="Arial">rick</FONT>
<BR><FONT SIZE=2 FACE="Arial">----------------------</FONT>
<BR><FONT SIZE=2 FACE="Arial">Richard_Landau(at)dell(dot)com, Stds & System Mgt Arch, CTO Office</FONT>
<BR><FONT SIZE=2 FACE="Arial">+1-512-728-9023, One Dell Way, RR5-3, MS RR5-09, Round Rock, TX 78682</FONT>
</P>
</BODY>
</HTML>