-- =====================================================================
-- == DIGI-PORTBUFFERING-MIB :                                        ==
-- == DIGI PORTBUFFERING Management Information Base                  ==
-- ==                                                                 ==
-- ==   Digi International Part Number: 40002240_B                    ==
-- ==                                                                 ==
-- == (c) Copyright 2001-2002 Digi International, Inc.                ==
-- =====================================================================

DIGI-PORTBUFFERING-MIB DEFINITIONS ::= BEGIN

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

--   digiPortBuffering MODULE-IDENTITY
--       LAST-UPDATED "0201210100Z"
--       ORGANIZATION "Digi International Inc."
--       CONTACT-INFO
--               "        Frank Christopher
--                Postal: Digi International Inc.
--                        11001 Bren Road East
--                        Minnetonka, MN 55343
--
--                E-mail: Frank.Christopher@digi.com"
--       DESCRIPTION
--               "Port Buffering MIB"
--       ::= { digiFeatures 11 }

-- =======================================================================
-- =======================================================================
-- === + Port Buffering Table + ==========================================
-- =======================================================================
-- =======================================================================

portbufferTable OBJECT-TYPE
    SYNTAX SEQUENCE OF PortBufferEntry
    ACCESS not-accessible
    STATUS mandatory
    DESCRIPTION
	"A table of port buffer entries"
::= { digiPortBuffering 11 }

portbufferEntry OBJECT-TYPE
    SYNTAX PortBufferEntry
    ACCESS not-accessible
    STATUS mandatory
    DESCRIPTION
	"A port buffer entry."
    INDEX { portbufferIndex }
::= { portbufferTable 1 }

PortBufferEntry ::= SEQUENCE {
portbufferIndex INTEGER,
portbufferState INTEGER,
portbufferSize INTEGER,
portbufferUsage INTEGER,
portbufferClear INTEGER
}

portbufferIndex OBJECT-TYPE
    SYNTAX INTEGER
    ACCESS read-only
    STATUS mandatory
    DESCRIPTION
	"Ports buffer entry index by port"
::= { portbufferEntry 11 }

portbufferState OBJECT-TYPE
    SYNTAX INTEGER {off(1), on(2), paused(3)}
    ACCESS read-write
    STATUS mandatory
    DESCRIPTION
	"The state of the port buffer"
::= { portbufferEntry 12 }

portbufferSize OBJECT-TYPE
    SYNTAX INTEGER
    ACCESS read-write
    STATUS mandatory
    DESCRIPTION
	"The size of the port buffer"
::= { portbufferEntry 13 }

portbufferUsage OBJECT-TYPE
    SYNTAX INTEGER
    ACCESS read-only
    STATUS mandatory
    DESCRIPTION
	"The amount in percent that a port buffer is used"
::= { portbufferEntry 14 }

portbufferClear OBJECT-TYPE
    SYNTAX INTEGER {ready(1), clear(2)}
    ACCESS read-write
    STATUS mandatory
    DESCRIPTION
	"clear(2) will clear the contents of the port buffer"
::= { portbufferEntry 15 }

END
