Blame mibs/ietf/DS0BUNDLE-MIB

Packit 022b05
DS0BUNDLE-MIB DEFINITIONS ::= BEGIN
Packit 022b05
Packit 022b05
IMPORTS
Packit 022b05
     MODULE-IDENTITY, OBJECT-TYPE,
Packit 022b05
     transmission                      FROM SNMPv2-SMI
Packit 022b05
     MODULE-COMPLIANCE, OBJECT-GROUP   FROM SNMPv2-CONF
Packit 022b05
     DisplayString, RowStatus,
Packit 022b05
     TestAndIncr                       FROM SNMPv2-TC
Packit 022b05
     ifIndex, InterfaceIndex           FROM IF-MIB;
Packit 022b05
Packit 022b05
--  This is the MIB module for the DS0Bundle Interface
Packit 022b05
--  objects.
Packit 022b05
Packit 022b05
ds0Bundle MODULE-IDENTITY
Packit 022b05
    LAST-UPDATED "9807161630Z"
Packit 022b05
    ORGANIZATION "IETF Trunk MIB Working Group"
Packit 022b05
    CONTACT-INFO
Packit 022b05
      "        David Fowler
Packit 022b05
Packit 022b05
       Postal: Newbridge Networks Corporation
Packit 022b05
               600 March Road
Packit 022b05
               Kanata, Ontario, Canada K2K 2E6
Packit 022b05
Packit 022b05
               Tel: +1 613 591 3600
Packit 022b05
               Fax: +1 613 599 3619
Packit 022b05
Packit 022b05
       E-mail: davef@newbridge.com"
Packit 022b05
    DESCRIPTION
Packit 022b05
         "The MIB module to describe
Packit 022b05
          DS0 Bundle interfaces objects."
Packit 022b05
    REVISION "9805242010Z"
Packit 022b05
    DESCRIPTION
Packit 022b05
         "Initial version of the DS0BUNDLE-MIB."
Packit 022b05
Packit 022b05
    ::= { transmission 82 }
Packit 022b05
Packit 022b05
--
Packit 022b05
-- The DS0 Bundle Config Group
Packit 022b05
--
Packit 022b05
-- Implementation of this group is mandatory for all
Packit 022b05
-- systems that use a DS0Bundle Interface.
Packit 022b05
--
Packit 022b05
-- The DS0 Bundle Config Group consists of one table:
Packit 022b05
--    DS0 Bundle Table
Packit 022b05
Packit 022b05
--  The DS0 Bundle Table
Packit 022b05
Packit 022b05
dsx0BundleNextIndex OBJECT-TYPE
Packit 022b05
    SYNTAX  TestAndIncr
Packit 022b05
    MAX-ACCESS  read-write
Packit 022b05
    STATUS  current
Packit 022b05
    DESCRIPTION
Packit 022b05
            "This object is used to assist the manager in
Packit 022b05
            selecting a value for dsx0BundleIndex.  Because
Packit 022b05
            this object is of syntax TestAndIncr (see the
Packit 022b05
            SNMPv2-TC document, RFC 1903) it can also be used
Packit 022b05
            to avoid race conditions with multiple managers
Packit 022b05
            trying to create rows in the table.
Packit 022b05
Packit 022b05
            If the result of the SET for dsx0BundleNextIndex
Packit 022b05
            is not success, this means the value has been
Packit 022b05
            changed from index (i.e. another manager used the
Packit 022b05
            value), so a new value is required.
Packit 022b05
Packit 022b05
            The algorithm is:
Packit 022b05
            done = false
Packit 022b05
            while done == false
Packit 022b05
                index = GET (dsx0BundleNextIndex.0)
Packit 022b05
                SET (dsx0BundleNextIndex.0=index)
Packit 022b05
                if (set failed)
Packit 022b05
                  done = false
Packit 022b05
                else
Packit 022b05
                  SET(dsx0BundleRowStatus.index=createAndGo)
Packit 022b05
                  if (set failed)
Packit 022b05
                    done = false
Packit 022b05
                  else
Packit 022b05
                    done = true
Packit 022b05
                    other error handling"
Packit 022b05
    ::= { ds0Bundle 2 }
Packit 022b05
Packit 022b05
dsx0BundleTable OBJECT-TYPE
Packit 022b05
    SYNTAX  SEQUENCE OF Dsx0BundleEntry
Packit 022b05
    MAX-ACCESS  not-accessible
Packit 022b05
    STATUS  current
Packit 022b05
    DESCRIPTION
Packit 022b05
            "There is an row in this table for each ds0Bundle
Packit 022b05
            in the system.  This table can be used to
Packit 022b05
            (indirectly) create rows in the ifTable with
Packit 022b05
            ifType = 'ds0Bundle(82)'."
Packit 022b05
    ::= { ds0Bundle 3 }
Packit 022b05
Packit 022b05
dsx0BundleEntry OBJECT-TYPE
Packit 022b05
    SYNTAX  Dsx0BundleEntry
Packit 022b05
    MAX-ACCESS  not-accessible
Packit 022b05
    STATUS  current
Packit 022b05
    DESCRIPTION
Packit 022b05
            "There is a row in entry in this table for each
Packit 022b05
            ds0Bundle interface."
Packit 022b05
    INDEX   { dsx0BundleIndex }
Packit 022b05
    ::= { dsx0BundleTable 1 }
Packit 022b05
Packit 022b05
Dsx0BundleEntry ::=
Packit 022b05
    SEQUENCE {
Packit 022b05
        dsx0BundleIndex              INTEGER,
Packit 022b05
        dsx0BundleIfIndex            InterfaceIndex,
Packit 022b05
        dsx0BundleCircuitIdentifier  DisplayString,
Packit 022b05
        dsx0BundleRowStatus          RowStatus
Packit 022b05
}
Packit 022b05
Packit 022b05
dsx0BundleIndex OBJECT-TYPE
Packit 022b05
    SYNTAX  INTEGER (0..2147483647)
Packit 022b05
    MAX-ACCESS  not-accessible
Packit 022b05
    STATUS  current
Packit 022b05
    DESCRIPTION
Packit 022b05
            "A unique identifier for a ds0Bundle.  This is not
Packit 022b05
            the same value as ifIndex.  This table is not
Packit 022b05
            indexed by ifIndex because the manager has to
Packit 022b05
            choose the index in a createable row and the agent
Packit 022b05
            must be allowed to select ifIndex values."
Packit 022b05
    ::= { dsx0BundleEntry 1 }
Packit 022b05
Packit 022b05
dsx0BundleIfIndex OBJECT-TYPE
Packit 022b05
    SYNTAX  InterfaceIndex
Packit 022b05
    MAX-ACCESS  read-only
Packit 022b05
    STATUS  current
Packit 022b05
    DESCRIPTION
Packit 022b05
            "The ifIndex value the agent selected for the
Packit 022b05
            (new) ds0Bundle interface."
Packit 022b05
    ::= { dsx0BundleEntry 2 }
Packit 022b05
Packit 022b05
dsx0BundleCircuitIdentifier OBJECT-TYPE
Packit 022b05
     SYNTAX  DisplayString (SIZE (0..255))
Packit 022b05
     MAX-ACCESS  read-create
Packit 022b05
     STATUS  current
Packit 022b05
     DESCRIPTION
Packit 022b05
            "This variable contains the transmission vendor's
Packit 022b05
            circuit identifier, for the purpose of
Packit 022b05
            facilitating troubleshooting."
Packit 022b05
     ::= { dsx0BundleEntry 3 }
Packit 022b05
Packit 022b05
dsx0BundleRowStatus OBJECT-TYPE
Packit 022b05
    SYNTAX  RowStatus
Packit 022b05
    MAX-ACCESS  read-create
Packit 022b05
    STATUS  current
Packit 022b05
    DESCRIPTION
Packit 022b05
            "This object is used to create and delete rows in
Packit 022b05
            this table."
Packit 022b05
    ::= { dsx0BundleEntry 4 }
Packit 022b05
Packit 022b05
-- The DS0 Bonding Group
Packit 022b05
Packit 022b05
-- Implementation of this group is optional for all
Packit 022b05
-- systems that use a DS0Bundle Interface.
Packit 022b05
Packit 022b05
-- The DS0 Bonding Group consists of one table:
Packit 022b05
--    DS0 Bonding Table
Packit 022b05
Packit 022b05
-- The DS0 Bonding Table
Packit 022b05
Packit 022b05
dsx0BondingTable OBJECT-TYPE
Packit 022b05
    SYNTAX  SEQUENCE OF Dsx0BondingEntry
Packit 022b05
    MAX-ACCESS  not-accessible
Packit 022b05
    STATUS  current
Packit 022b05
    DESCRIPTION
Packit 022b05
            "The DS0 Bonding table."
Packit 022b05
    ::= { ds0Bundle 1 }
Packit 022b05
Packit 022b05
dsx0BondingEntry OBJECT-TYPE
Packit 022b05
    SYNTAX  Dsx0BondingEntry
Packit 022b05
    MAX-ACCESS  not-accessible
Packit 022b05
    STATUS  current
Packit 022b05
    DESCRIPTION
Packit 022b05
            "An entry in the DS0 Bonding table.  There is a
Packit 022b05
            row in this table for each DS0Bundle interface."
Packit 022b05
    INDEX   { ifIndex }
Packit 022b05
    ::= { dsx0BondingTable 1 }
Packit 022b05
Packit 022b05
Dsx0BondingEntry ::=
Packit 022b05
    SEQUENCE {
Packit 022b05
        dsx0BondMode            INTEGER,
Packit 022b05
        dsx0BondStatus          INTEGER,
Packit 022b05
        dsx0BondRowStatus       RowStatus
Packit 022b05
}
Packit 022b05
Packit 022b05
dsx0BondMode OBJECT-TYPE
Packit 022b05
    SYNTAX  INTEGER {
Packit 022b05
                none(1),
Packit 022b05
                other(2),
Packit 022b05
                mode0(3),
Packit 022b05
                mode1(4),
Packit 022b05
                mode2(5),
Packit 022b05
                mode3(6)
Packit 022b05
    }
Packit 022b05
    MAX-ACCESS  read-create
Packit 022b05
    STATUS  current
Packit 022b05
    DESCRIPTION
Packit 022b05
            "This object indicates which BONDing mode is used,
Packit 022b05
            if any, for a ds0Bundle.  Mode0 provides parameter
Packit 022b05
            and number exchange with no synchronization.  Mode
Packit 022b05
            1 provides parameter and number exchange.  Mode 1
Packit 022b05
            also provides synchronization during
Packit 022b05
            initialization but does not include inband
Packit 022b05
            monitoring.  Mode 2 provides all of the above plus
Packit 022b05
            inband monitoring.  Mode 2 also steals 1/64th of
Packit 022b05
            the bandwidth of each channel (thus not supporting
Packit 022b05
            n x 56/64 kbit/s data channels for most values of
Packit 022b05
            n). Mode 3 provides all of the above, but also
Packit 022b05
            provides n x 56/64 kbit/s data channels.  Most
Packit 022b05
            common implementations of Mode 3 add an extra
Packit 022b05
            channel to support the inband monitoring overhead.
Packit 022b05
            ModeNone should be used when the interface is not
Packit 022b05
            performing bandwidth-on-demand."
Packit 022b05
    ::= { dsx0BondingEntry 1 }
Packit 022b05
Packit 022b05
dsx0BondStatus OBJECT-TYPE
Packit 022b05
    SYNTAX  INTEGER {
Packit 022b05
                idle(1),
Packit 022b05
                callSetup(2),
Packit 022b05
                dataTransfer(3)
Packit 022b05
    }
Packit 022b05
    MAX-ACCESS  read-only
Packit 022b05
    STATUS  current
Packit 022b05
    DESCRIPTION
Packit 022b05
            "This object indicates the current status of the
Packit 022b05
            bonding call using this ds0Bundle. idle(1) should
Packit 022b05
            be used when the bonding mode is set to none(1)."
Packit 022b05
    ::= { dsx0BondingEntry 2 }
Packit 022b05
Packit 022b05
dsx0BondRowStatus OBJECT-TYPE
Packit 022b05
    SYNTAX  RowStatus
Packit 022b05
    MAX-ACCESS  read-create
Packit 022b05
    STATUS  current
Packit 022b05
    DESCRIPTION
Packit 022b05
            "This object is used to create new rows in this
Packit 022b05
            table, modify existing rows, and to delete
Packit 022b05
            existing rows."
Packit 022b05
    ::= { dsx0BondingEntry 3 }
Packit 022b05
Packit 022b05
-- conformance information
Packit 022b05
Packit 022b05
ds0BundleConformance OBJECT IDENTIFIER ::= { ds0Bundle 4 }
Packit 022b05
Packit 022b05
ds0BundleGroups      OBJECT IDENTIFIER
Packit 022b05
    ::= { ds0BundleConformance 1 }
Packit 022b05
Packit 022b05
ds0BundleCompliances OBJECT IDENTIFIER
Packit 022b05
    ::= { ds0BundleConformance 2 }
Packit 022b05
Packit 022b05
Packit 022b05
Packit 022b05
-- compliance statements
Packit 022b05
Packit 022b05
ds0BundleCompliance MODULE-COMPLIANCE
Packit 022b05
    STATUS  current
Packit 022b05
    DESCRIPTION
Packit 022b05
            "The compliance statement for DS0Bundle
Packit 022b05
            interfaces."
Packit 022b05
    MODULE  -- this module
Packit 022b05
        MANDATORY-GROUPS {ds0BundleConfigGroup }
Packit 022b05
Packit 022b05
        GROUP       ds0BondingGroup
Packit 022b05
        DESCRIPTION
Packit 022b05
            "Implementation of this group is optional for all
Packit 022b05
            systems that attach to a DS0Bundle Interface."
Packit 022b05
Packit 022b05
        OBJECT      dsx0BundleRowStatus
Packit 022b05
        SYNTAX      INTEGER {
Packit 022b05
                        active(1),
Packit 022b05
                        createAndGo(4),
Packit 022b05
                        destroy(6)
Packit 022b05
                    }
Packit 022b05
        MIN-ACCESS  read-only
Packit 022b05
        DESCRIPTION
Packit 022b05
            "The agent is not required to support a SET
Packit 022b05
            operation to this object, and only three of the
Packit 022b05
            six enumerated values for the RowStatus textual
Packit 022b05
            convention need be supported.  Only supporting
Packit 022b05
            createAndGo for a creation process prevents the
Packit 022b05
            manager from creating an inactive row in the
Packit 022b05
            ds0BundleTable.  Inactive rows in the
Packit 022b05
            ds0BundleTable do not make sense."
Packit 022b05
Packit 022b05
        OBJECT      dsx0BundleCircuitIdentifier
Packit 022b05
        MIN-ACCESS  read-only
Packit 022b05
        DESCRIPTION
Packit 022b05
            "The agent is not required to support a SET
Packit 022b05
            operation to this object."
Packit 022b05
Packit 022b05
                ::= { ds0BundleCompliances 1 }
Packit 022b05
Packit 022b05
            -- units of conformance
Packit 022b05
Packit 022b05
            ds0BondingGroup  OBJECT-GROUP
Packit 022b05
                OBJECTS { dsx0BondMode,
Packit 022b05
                          dsx0BondStatus,
Packit 022b05
                          dsx0BondRowStatus }
Packit 022b05
                STATUS  current
Packit 022b05
                DESCRIPTION
Packit 022b05
                        "A collection of objects providing
Packit 022b05
                        configuration information applicable
Packit 022b05
                        to all DS0 interfaces."
Packit 022b05
    ::= { ds0BundleGroups 1 }
Packit 022b05
ds0BundleConfigGroup  OBJECT-GROUP
Packit 022b05
    OBJECTS { dsx0BundleNextIndex,
Packit 022b05
              dsx0BundleIfIndex,
Packit 022b05
              dsx0BundleCircuitIdentifier,
Packit 022b05
              dsx0BundleRowStatus }
Packit 022b05
    STATUS  current
Packit 022b05
    DESCRIPTION
Packit 022b05
            "A collection of objects providing the ability to
Packit 022b05
            create a new ds0Bundle in the ifTable as well as
Packit 022b05
            configuration information about the ds0Bundle."
Packit 022b05
    ::= { ds0BundleGroups 2 }
Packit 022b05
END