attachment
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>CIM> How to represent SubUnitStatus in CIM?</TITLE>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.3020" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff><SPAN
class=468314616-12012007>Just spoke with Core leadership about this. The
use of separate status variables seems to be the new direction, rather than the
use of arrays of status enums. There are several new status variables
being added (proposed, anyway) to EnabledLogicalElement in a new CR. I
think this is a reasonable directon for us to take. If someone has a
better partitioning of the items than this traditional one, please
elaborate. </SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff><SPAN
class=468314616-12012007></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff><SPAN
class=468314616-12012007>rick</SPAN></FONT></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma><B>From:</B> owner-wims@pwg.org [mailto:owner-wims@pwg.org]
<B>On Behalf Of </B>Richard_Landau@Dell.com<BR><B>Sent:</B> Thursday, January
11, 2007 15:52<BR><B>To:</B> wims@pwg.org<BR><B>Subject:</B> WIMS> CIM>
How to represent SubUnitStatus in CIM?<BR></FONT><BR></DIV>
<DIV></DIV><!-- Converted from text/rtf format -->
<P><FONT 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 face=Arial>StatusAvailability enum</FONT>
<BR> <FONT
face=Arial>0 idle</FONT>
<BR> <FONT
face=Arial>1 on request, unavailable</FONT>
<BR> <FONT
face=Arial>2 standby</FONT>
<BR> <FONT
face=Arial>3 broken, unavailable</FONT>
<BR> <FONT
face=Arial>4 active</FONT>
<BR> <FONT
face=Arial>5 unknown</FONT>
<BR> <FONT
face=Arial>6 busy</FONT> <BR><FONT
face=Arial>StatusCriticalAlert Boolean</FONT> <BR><FONT
face=Arial>StatusNonCriticalAlert Boolean</FONT> <BR><FONT
face=Arial>StatusOnline Boolean</FONT> <BR><FONT
face=Arial>StatusTransitioning Boolean</FONT> </P>
<P><FONT face=Arial>It's an idea, anyway. Whaddyathink? </FONT></P>
<P><FONT face=Arial>For comparison, here is the section from the MIB intro, from
which I cribbed the text above. </FONT></P>
<P><FONT face=Arial> The PrtSubUnitStatusTC is an integer that is
the sum of 5 distinct</FONT> <BR><FONT face=Arial> values,
Availability, Non-Critical, Critical, On-line, and</FONT> <BR><FONT
face=Arial> Transitioning. These values are:</FONT> </P>
<P><FONT face=Arial>
Availability
value</FONT> </P>
<P><FONT face=Arial>
Available and
Idle
0 000'b</FONT> <BR><FONT
face=Arial>
Available and
Standby
2 010'b</FONT> <BR><FONT
face=Arial>
Available and
Active
4 100'b</FONT> <BR><FONT
face=Arial>
Available and
Busy
6 110'b</FONT> <BR><FONT
face=Arial>
Unavailable and OnRequest
1 001'b</FONT> <BR><FONT
face=Arial>
Unavailable because Broken
3 011'b</FONT> <BR><FONT
face=Arial>
Unknown
5 101'b</FONT> </P>
<P><FONT face=Arial> Non-Critical</FONT> </P>
<P><FONT face=Arial>
No Non-Critical
Alerts 0</FONT>
<BR><FONT
face=Arial>
Non-Critical
Alerts
8</FONT> </P>
<P><FONT face=Arial> Critical</FONT> </P>
<P><FONT face=Arial>
No Critical
Alerts
0</FONT> <BR><FONT
face=Arial> Critical
Alerts
16</FONT> </P>
<P><FONT face=Arial> On-Line</FONT> </P>
<P><FONT face=Arial>
State is
On-Line
0</FONT> <BR><FONT
face=Arial> State is
Off-Line
32</FONT> </P>
<P><FONT face=Arial> Transitioning</FONT> </P>
<P><FONT face=Arial>
At intended
state
0</FONT> <BR><FONT
face=Arial>
Transitioning to intended state 64</FONT> </P><BR>
<P><FONT face=Arial>rick</FONT> <BR><FONT
face=Arial>----------------------</FONT> <BR><FONT
face=Arial>Richard_Landau(at)dell(dot)com, Stds & System Mgt Arch, CTO
Office</FONT> <BR><FONT face=Arial>+1-512-728-9023, One Dell Way, RR5-3, MS
RR5-09, Round Rock, TX 78682</FONT> </P></BODY></HTML>