Building a display from bit-mapped data (from UPS-MIB)

Tom Brennan <tom@dante.exide.com> Thu, 15 July 1993 17:50 UTC

Received: from ietf.nri.reston.va.us by IETF.CNRI.Reston.VA.US id aa05026; 15 Jul 93 13:50 EDT
Received: from CNRI.RESTON.VA.US by IETF.CNRI.Reston.VA.US id aa05022; 15 Jul 93 13:50 EDT
Received: from CS.UTK.EDU by CNRI.Reston.VA.US id aa14902; 15 Jul 93 13:50 EDT
Received: from localhost by CS.UTK.EDU with SMTP (5.61+IDA+UTK-930125/2.8s-UTK) id AA03641; Thu, 15 Jul 93 13:35:11 -0400
X-Resent-To: ups-mib@CS.UTK.EDU ; Thu, 15 Jul 1993 13:35:10 EDT
Errors-To: owner-ups-mib@CS.UTK.EDU
Received: from dante.exide.com by CS.UTK.EDU with SMTP (5.61+IDA+UTK-930125/2.8s-UTK) id AA03627; Thu, 15 Jul 93 13:35:06 -0400
Received: by dante.exide.com (5.0/1.34) id AA09287; Thu, 15 Jul 93 13:35:14 EDT
Date: Thu, 15 Jul 93 13:35:14 EDT
Sender: ietf-archive-request@IETF.CNRI.Reston.VA.US
From: Tom Brennan <tom@dante.exide.com>
Message-Id: <9307151735.AA09287@dante.exide.com>
To: winsnmp@microdyne.com
Cc: ups-mib@cs.utk.edu
Subject: Building a display from bit-mapped data (from UPS-MIB)
Content-Length: 2529

We in the UPS Vendor MIB effort are trying to determine the
 usefulness of a proposed variable, which would allow what
 we call a mimic screen to be drawn which shows the power 
 flow through the UPS, depending upon what the architecture
 of the UPS is (based on a bit-mapped definition variable) and what
 the current status of the UPS is (based on a similarly bit-mapped
 status variable).

The question to the windows SNMP API group, particularly to 
 those developing network managers, is:
 -- If we had such a bit-mapped variable, could your software
 allow us to produce a mimic screen whose layout and coloring
 or shading varied depending on which bits were set?
     
A sample mimic screen (drawn with dazzling e-mail graphics) 
and the variable definition are shown below.

Your response to ups-mib@cs.utk.edu is appreciated.


Bypass  Bypass                                          UPS
Feed    Breaker    +---------------+                   Output
---------| |-------| Static Switch |===========================
                   +---------------+               ||
                                                   ||
Input   Input                                      ||
Feed    Breaker+---------+     +----------+        ||
========|=|====| Charger |=====| Inverter |========//
               +---||----+     +----------+
                   ||
                   == Battery 
                   || Breaker
                   || 
               +---------+
               | Battery |
               +---------+

upsConfigMimicServices OBJECT-TYPE
    SYNTAX INTEGER (0..65535)
    ACCESS read-only
    STATUS mandatory
    DESCRIPTION
		"Indication of what services are available from
		the ups, so that a mimic screen may be drawn to
		show power flow in the ups.  This variable is a
		bit-map of which elements should be present in
		the mimic screen (corresponding bit is set if the
		element is provided), while identically mapped 
		variable ups???MimicStatus reports the status of 
		each element (bit set if on/hot/closed).
		Bits are (bit 1 is LSBit):
			Bit #	Description
				1	Generator on Input
				2	Separate Bypass Feed
				3	Bypass Breaker
				4	Static Switch
				5	Boost Transformer
				6	Input Feed
				7	Input Breaker
				8	Rectifier/Charger
				9	Battery Breaker
			       10	Battery
			       11	Inverter
			       12	Inverter Output Breaker
			       13	Output/Load Breaker
			       14	Output/Load Supply
			       15	Parallel UPS
			       16	Logic Power"


Tom Brennan,
Exide Electronics