-- =======================================================================
-- == DIGI-POWER-SUPPLY-MIB :                                           ==
-- == DIGI Power Supply Management Information Base                     ==
-- ==                                                                   ==
-- == (c) Copyright 2001-2002 Digi International, Inc.                  ==
-- =======================================================================

DIGI-POWER-SUPPLY-MIB DEFINITIONS ::= BEGIN

IMPORTS
digiPowerSupply FROM DIGI-SMI
OBJECT-TYPE FROM RFC-1212;

--   digiPowerSupply MODULE-IDENTITY
--       LAST-UPDATED "0201090100Z"
--       ORGANIZATION "Digi International Inc."
--       CONTACT-INFO
--               "        Michael Nicholson
--                Postal: Digi International Inc.
--		          11001 Bren Road East
--                        Minnetonka, MN 55343
--
--                   Tel: 952-912-3146
--                   Fax: 952-912-4952
--                E-mail: Mike.Nicholson@digi.com"
--       DESCRIPTION
--               "Power Supply MIB"
--       ::= { digiInterfaces 12 }

-- === + Textual Conventions + ===========================================

DisplayString ::= OCTET STRING

-- =======================================================================
-- =======================================================================
-- === + POWER SUPPLY + ==================================================
-- =======================================================================
-- =======================================================================

powerSupplyTable OBJECT-TYPE
    SYNTAX SEQUENCE OF PowerSupplyEntry
    ACCESS not-accessible
    STATUS mandatory
    DESCRIPTION
        "Table of power supplies"
::= { digiPowerSupply 11 }

powerSupplyEntry OBJECT-TYPE
    SYNTAX PowerSupplyEntry
    ACCESS not-accessible
    STATUS mandatory
    DESCRIPTION
        "A power supply entry"
    INDEX { powerSupplyIndex }
::= { powerSupplyTable 1 }


PowerSupplyEntry ::= SEQUENCE {
powerSupplyIndex INTEGER,
powerSupplyDescription DisplayString,
powerSupplyType INTEGER,
powerSupplyStatus INTEGER
}

powerSupplyIndex OBJECT-TYPE
    SYNTAX INTEGER
    ACCESS read-only
    STATUS mandatory
    DESCRIPTION
        "Index of power supplies"
::= { powerSupplyEntry 11 }
         
powerSupplyDescription OBJECT-TYPE
    SYNTAX DisplayString
    ACCESS read-only
    STATUS mandatory
    DESCRIPTION
        "Description of this power suppy"
::= { powerSupplyEntry 12 }

powerSupplyType OBJECT-TYPE
    SYNTAX INTEGER { other(1), unknown(2), internal(3), external(4), powered-Ethernet(5), serialPowerRI(6) } 
    ACCESS read-only
    STATUS mandatory
    DESCRIPTION
        "Type of power supply"
::= { powerSupplyEntry 13 }

powerSupplyStatus OBJECT-TYPE
    SYNTAX INTEGER { unknown(1), malfunction(2), disabled(3), redundant(4), engaged(5) }
    ACCESS read-only
    STATUS mandatory
    DESCRIPTION
        "Current status of the power supply."
::= { powerSupplyEntry 14 }
        
END
           
