Our Chassis MIB

nob@dowtyns.dk (Niels Ole Brunsgaard) Wed, 01 April 1992 12:23 UTC

Return-Path: <owner-chassismib>
Received: by CS.UTK.EDU (5.65/2.8s-UTK) id AA28440; Wed, 1 Apr 92 07:23:31 -0500
Received: from dkuug.dk by CS.UTK.EDU with SMTP (5.65/2.8s-UTK) id AA28368; Wed, 1 Apr 92 07:16:38 -0500
Received: from dowtyns.dk by dkuug.dk via EUnet with UUCP (5.64+/8+bit/IDA-1.2.8) id AA17963; Wed, 1 Apr 92 14:15:57 +0200
Received: by dowtyns.dk (4.0/SMI-4.0) id AA08737; Wed, 1 Apr 92 12:46:39 +0100
Date: Wed, 1 Apr 92 12:46:39 +0100
From: nob@dowtyns.dk (Niels Ole Brunsgaard)
Message-Id: <9204011146.AA08737@dowtyns.dk>
To: chassismib@cs.utk.edu
Subject: Our Chassis MIB
X-Charset: ASCII
X-Char-Esc: 29


These are the object currently defined in our chassis mib. To summarize the
MIB contains objects for the following characteristics of the chassis:

	- LED's
	- Power supply
	- Fan tray
	- Chassis size
	- Identification of the boards in each slot.
	- MAC address of the boards in each slot.
	- IP address of the boards in each slot.
	- NSAP of the boards in each slot.
	- Board characteristics, i.e. RAM, ROM etc.

In addition we have recognized a need to be able to retreive the contents of a
LCD display and read the key pad. This is not reflected in the objects below.

          ram  OBJECT-TYPE
	       SYNTAX INTEGER
               ACCESS  read-only
               STATUS  mandatory
               ::= { system 2 }

          led  OBJECT-TYPE		-- Leds at front panel
               SYNTAX  OCTET STRING -- (SIZE (0..255))
               ACCESS  read-only
               STATUS  mandatory
               DESCRIPTION 
                 "ts-xxxx  0 : red      off(0),red(1)
                           1 : green    off(0),green(2)
                  cs-xxxx  0 : fault    off(0),red(1)
                           1 : master   off(0),green(2)
                           2 : test1    off(0),yellow(4)
                           3 : test2    off(0),yellow(4)
                           4 : test3    off(0),yellow(4)
                           5 : test4    off(0),yellow(4)
                           6 : rx/tx    off(0),green(2)
                  en-xxxx  0 : fault    off(0),red(1)
                           1 : power    off(0),green(2)
                           2 : status1  off(0),red(1),green(2),yellow(4)
                           3 : status2  off(0),red(1),green(2),yellow(4)
                           4 : status3  off(0),red(1),green(2),yellow(4)
                           5 : status4  off(0),red(1),green(2),yellow(4)
                           6 : status5  off(0),red(1),green(2),yellow(4)

                  Note. Lower 3 bits indicates off/color (off(0),red(1),
                        green(2),yellow(4)), Higher 5 bits reserved for
                        flash frequency."
               ::= { system 3 }

          fan  OBJECT-TYPE
	       SYNTAX INTEGER {		-- FanFailureBits
                          ok(0),
                          Fan1Failure(1)
                          }
               ACCESS  read-only
               STATUS  mandatory
               ::= { system 4 }

          power  OBJECT-TYPE
	       SYNTAX INTEGER {		-- PowerFailureBits
                          ok(0),
                          Power1Failure(1),
                          Power2Failure(2),
                          Power3Failure(4),
                          Power4Failure(8),
                          Power5Failure(16),
                          Power6Failure(32)
                          }
               ACCESS  read-only
               STATUS  mandatory
               ::= { system 5 }


          slots OBJECT-TYPE
               SYNTAX INTEGER {
                          none(0),		-- ts-xxxx, pc-xxxx, cs-xxxx
                          slot-5(5),		-- se-05xx or cs-xxxx(brdInfoTable)
                          slot-17(17)		-- se-17xx
                          }
               ACCESS  read-only
               STATUS  mandatory		-- mandatory for se-xxxx
               ::= { boards 1 }

          brdInfoTable OBJECT-TYPE
               SYNTAX  SEQUENCE OF brdInfoEntry
               ACCESS  read-only
               STATUS  mandatory		-- mandatory for se-xxxx
               ::= { boards 2 }

               brdInfoEntry OBJECT-TYPE
                       SYNTAX  brdInfoEntry
                       ACCESS  read-only
                       STATUS  mandatory
                       DESCRIPTION "Info from 32 bytes standard memory area."
                       INDEX   { brdNumber }
                       ::= { brdInfoTable 1 }

               brdInfoEntry ::= SEQUENCE {
		   brdNumber     INTEGER,
                   cardType      INTEGER,
                   pcbRevision   INTEGER,
                   macAddress    OCTET STRING,
                   driverSeq     INTEGER,
                   product       DisplayString,
                   serialNumber  DisplayString,
                   masterSlave   INTEGER,
                   ram           INTEGER,
                   shram         INTEGER,
                   Eprom         INTEGER,
                   E2prom        INTEGER,
                   flashprom     INTEGER,
                   spec0         OCTET STRING,
                   spec1         OCTET STRING,
                   spec2         OCTET STRING,
                   spec3         OCTET STRING,

                   ipAddr        IpAddress, -- ip address and net needed to
                   osiNet        INTEGER    -- go to next SNMP-agent in ENS
               }

               brdNumber OBJECT-TYPE
                       SYNTAX  INTEGER
                       ACCESS  read-only
                       STATUS  mandatory
                       ::= { brdInfoEntry 1 }

               cardType OBJECT-TYPE
                       SYNTAX  INTEGER
                       ACCESS  read-only
                       STATUS  mandatory
                       ::= { brdInfoEntry 2 }

               pcbRevision OBJECT-TYPE
                       SYNTAX  INTEGER
                       ACCESS  read-only
                       STATUS  mandatory
                       ::= { brdInfoEntry 3 }

               macAddress OBJECT-TYPE
                       SYNTAX  OCTET STRING -- (SIZE (6))
                       ACCESS  read-only
                       STATUS  mandatory
                       ::= { brdInfoEntry 4 }

               driverSeq OBJECT-TYPE
                       SYNTAX  INTEGER
                       ACCESS  read-only
                       STATUS  mandatory
                       ::= { brdInfoEntry 5 }

               product OBJECT-TYPE
                       SYNTAX  DisplayString (SIZE (0..255))
                       ACCESS  read-only
                       STATUS  mandatory
                       ::= { brdInfoEntry 6 }

               serialNumber OBJECT-TYPE
                       SYNTAX  DisplayString (SIZE (0..255))
                       ACCESS  read-only
                       STATUS  mandatory
                       ::= { brdInfoEntry 7 }

               masterSlave OBJECT-TYPE
                       SYNTAX  INTEGER
                       ACCESS  read-only
                       STATUS  mandatory
                       ::= { brdInfoEntry 8 }

               ram OBJECT-TYPE
                       SYNTAX  INTEGER
                       ACCESS  read-only
                       STATUS  mandatory
                       ::= { brdInfoEntry 9 }

               shram OBJECT-TYPE
                       SYNTAX  INTEGER
                       ACCESS  read-only
                       STATUS  mandatory
                       ::= { brdInfoEntry 10 }

               Eprom OBJECT-TYPE
                       SYNTAX  INTEGER
                       ACCESS  read-only
                       STATUS  mandatory
                       ::= { brdInfoEntry 11 }

               E2prom OBJECT-TYPE
                       SYNTAX  INTEGER
                       ACCESS  read-only
                       STATUS  mandatory
                       ::= { brdInfoEntry 12 }

               flashprom OBJECT-TYPE
                       SYNTAX  INTEGER
                       ACCESS  read-only
                       STATUS  mandatory
                       ::= { brdInfoEntry 13 }

               spec0 OBJECT-TYPE
                       SYNTAX  OCTET STRING -- (SIZE (0..255))
                       ACCESS  read-only
                       STATUS  mandatory
                       ::= { brdInfoEntry 14 }

               spec1 OBJECT-TYPE
                       SYNTAX  OCTET STRING -- (SIZE (0..255))
                       ACCESS  read-only
                       STATUS  mandatory
                       ::= { brdInfoEntry 15 }

               spec2 OBJECT-TYPE
                       SYNTAX  OCTET STRING -- (SIZE (0..255))
                       ACCESS  read-only
                       STATUS  mandatory
                       ::= { brdInfoEntry 16 }

               spec3 OBJECT-TYPE
                       SYNTAX  OCTET STRING -- (SIZE (0..255))
                       ACCESS  read-only
                       STATUS  mandatory
                       ::= { brdInfoEntry 17 }

               ipAddr OBJECT-TYPE
                       SYNTAX  IpAddress
                       ACCESS  read-only
                       STATUS  mandatory
                       ::= { brdInfoEntry 18 }

               osiNet OBJECT-TYPE
                       SYNTAX  INTEGER
                       ACCESS  read-only
                       STATUS  mandatory
                       ::= { brdInfoEntry 19 }


          brdStatusTable OBJECT-TYPE
               SYNTAX  SEQUENCE OF brdStatusEntry
               ACCESS  read-only
               STATUS  mandatory		-- mandatory for se-xxxx
               ::= { boards 3 }

               brdStatusEntry OBJECT-TYPE
                       SYNTAX  brdStatusEntry
                       ACCESS  read-only
                       STATUS  mandatory
                       DESCRIPTION "Status information from boards."
                       INDEX   { brdNumber }
                       ::= { brdStatusTable 1 }

               brdStatusEntry ::= SEQUENCE {
		   brdNumber     INTEGER,
                   brdStatus     INTEGER,
                   brdLed        OCTET STRING
               }

               brdNumber OBJECT-TYPE
                       SYNTAX  INTEGER
                       ACCESS  read-only
                       STATUS  mandatory
                       ::= { brdStatusEntry 1 }

               brdStatus OBJECT-TYPE	-- ENS card status byte
                       SYNTAX  INTEGER
                       ACCESS  read-only
                       STATUS  mandatory
                       ::= { brdStatusEntry 2 }

               brdLed OBJECT-TYPE       -- Board led(s)
                       SYNTAX  OCTET STRING -- (SIZE (0..255))
                       ACCESS  read-only
                       STATUS  mandatory
               DESCRIPTION 
                 "Depends on the card type.

                  Note. Lower 3 bits indicates off/color (off(0),red(1),
                        green(2),yellow(4)), Higher 5 bits reserved for
                        flash frequency."
                       ::= { brdStatusEntry 3 }