--  =======================================================================
--  File        : oaTrpDst.mib
--  Description : Private MIB for Trap Destinations Table
--  By          : Yakov & Reuven
--  Version     : 0.1
--  Date        : 
--  =======================================================================
--
--
-- Copyright (c) 2006 MRV.  All Rights Reserved.
--
--
-- Reproduction of this document is authorized on condition that this
-- copyright notice is included.  This MRV SNMP MIB Specification
-- embodies MRV's proprietary intellectual property.  MRV
-- retains all title and ownership in the specification, including any
-- revisions.
--
-- It is MRV's intent to encourage the widespread use of this
-- specification in connection with the management of MRV's
-- products. MRV grants vendor, end-users, and other interested
-- parties a non-exclusive license to use this specification in
-- connection with the management of MRV's products.
--
-- This specification is supplied "AS IS," and MRV makes no
-- warranty, either express or implied, as to the use, operation,
-- condition, or performance of the specification.
--
-- Copyright text courtesy of MRV
--
-- If you have any questions about this MIB, please call MRV
-- Technical Support Center at 1-800-858-7815 from inside USA or
-- 1-818-773-0900 from outside USA.
--
--
-- MRV retains the right to change this MIB without notification.
--

OA-TRAP-DESTINATIONS-MIB DEFINITIONS ::= BEGIN

  IMPORTS
    MODULE-IDENTITY, OBJECT-TYPE, enterprises    FROM SNMPv2-SMI    -- RFC2578
    MODULE-COMPLIANCE, OBJECT-GROUP              FROM SNMPv2-CONF   -- RFC2580
    DisplayString                                FROM SNMPv2-TC;    -- RFC2579

oaTrapDestinations  MODULE-IDENTITY
    LAST-UPDATED "200612130000Z"
    ORGANIZATION "MRV Communications, Inc."
    CONTACT-INFO
        "Yakov Vaisman
         MRV Communication, Inc
         http://www.mrv.com
         Email:  yvaisman@mrv.com,

         Reuven Putter
         MRV Communication, Inc
         http://www.mrv.com
         Email:  rputter@mrv.com
	"
    DESCRIPTION
        "Supports information about Trap destinations."

    -- Revision history

    REVISION "200612130000Z"
    DESCRIPTION
        "Initial edition."
    ::= { nbDevGen 21 }

-- ************************************************************
-- MRV Object Identifier Definition
-- ************************************************************

nbase              OBJECT IDENTIFIER ::= { enterprises 629 }
nbSwitchG1         OBJECT IDENTIFIER ::= { nbase 1 }
nbSwitchG1Il       OBJECT IDENTIFIER ::= { nbSwitchG1 50}

-- GROUPS for General Device Configuration
nbDeviceConfig     OBJECT IDENTIFIER ::= { nbSwitchG1Il 11}
nbDevGen           OBJECT IDENTIFIER ::= { nbDeviceConfig 1 }


oaTrapDestConformance   OBJECT IDENTIFIER ::= { oaTrapDestinations 101 }

-- ************************************************************
-- Objects in the Trap Destinations Group
-- ************************************************************

oaTrapDestGenSupport OBJECT-TYPE
    SYNTAX  INTEGER {
       notSupported (1),
       supported    (2)
    }       
    MAX-ACCESS  read-only
    STATUS  current
    DESCRIPTION
    "Traps destinations feature support."
    ::= { oaTrapDestinations 1 }

-- ************************************************************

oaTrapDestTable         OBJECT-TYPE
    SYNTAX  SEQUENCE OF OaTrapDestEntry
    MAX-ACCESS   not-accessible
    STATUS       current
    DESCRIPTION
    "This table configures Traps destinations."
    ::= { oaTrapDestinations 2 }

oaTrapDestEntry OBJECT-TYPE
    SYNTAX       OaTrapDestEntry
    MAX-ACCESS   not-accessible
    STATUS       current
    DESCRIPTION
    "Trap Destination entry."
    INDEX { oaTrapDestHostAddress }
    ::= { oaTrapDestTable 1 }

OaTrapDestEntry ::= SEQUENCE {
    oaTrapDestHostAddress     DisplayString,
    oaTrapDestVersion         INTEGER,
    oaTrapDestAuthentication  DisplayString,
    oaTrapDestTrapType        INTEGER,
    oaTrapDestAdminStatus     INTEGER
    }

oaTrapDestHostAddress     OBJECT-TYPE
    SYNTAX       DisplayString (SIZE (0..32))
    MAX-ACCESS   not-accessible
    STATUS       current
    DESCRIPTION
    "Specifies the host address to be used as a Trap destination.
     It could be DNS name or IPv4 address or IPv6 address
     in string format."
    ::= { oaTrapDestEntry 1 }

oaTrapDestVersion	OBJECT-TYPE
    SYNTAX       INTEGER {
       other    (0),
       snmpV1   (1),
       snmpV2C  (2),
       snmpV3   (3)
    }
    MAX-ACCESS   read-write
    STATUS       current
    DESCRIPTION
    "Trap SNMP Version: snmpV1  - send SNMPv1 traps,
                        snmpV2C - send SNMPv2c traps
                        snmpV3  - send SNMPv3 traps."
    DEFVAL { snmpV1 }
    ::= { oaTrapDestEntry 2 }

oaTrapDestAuthentication   OBJECT-TYPE
    SYNTAX       DisplayString (SIZE (0..32))
    MAX-ACCESS   read-write
    STATUS       current
    DESCRIPTION
    "SNMP Trap authentication string:
          - community name for SNMPv1 & SNMPv2c,
          - user      name for SNMPv3."
    ::= { oaTrapDestEntry 3 }

oaTrapDestTrapType   OBJECT-TYPE
    SYNTAX       INTEGER {
       other      (0),
       snmpTrap   (1),
       snmpInform (2)
    }
    MAX-ACCESS   read-write
    STATUS       current
    DESCRIPTION
    "Trap type:
          - SnmpTrap    - send SNMP TRAP,
          - SnmpInform  - send SNMP INFORM (for SNMPv2c & SNMPv3 only)."
    DEFVAL { snmpTrap }
    ::= { oaTrapDestEntry 4 }

oaTrapDestAdminStatus	OBJECT-TYPE
    SYNTAX       INTEGER {
       valid     (1),
       invalid   (2)
    }
    MAX-ACCESS   read-write
    STATUS  current
    DESCRIPTION
    "Controls creation/modification/invalidation of the entry."
    ::= { oaTrapDestEntry 5 }


-- *******************************************************************
--  Conformance Information 
-- ******************************************************************* 
 
oaTrapDestMIBCompliances  OBJECT IDENTIFIER ::= { oaTrapDestConformance 1 }
oaTrapDestMIBGroups       OBJECT IDENTIFIER ::= { oaTrapDestConformance 2 }

oaTrapDestMIBCompliance   MODULE-COMPLIANCE
    STATUS current 
    DESCRIPTION 
    "The core compliance statement for all
     'oaTrapDestinations' MIB implementations."

    MODULE -- this module

    MANDATORY-GROUPS { 
                      oaTrapDestGroup
                     } 

    ::= { oaTrapDestMIBCompliances 1 }

-- ...................................................................
-- Conformance Groups 
-- ................................................................... 
 
oaTrapDestGroup  OBJECT-GROUP
    OBJECTS { 
             oaTrapDestGenSupport,
             oaTrapDestVersion,
             oaTrapDestAuthentication,
             oaTrapDestTrapType,
             oaTrapDestAdminStatus
            }
    STATUS current 
    DESCRIPTION 
    "Mandatory objects for grouping of Trap destinations parameters."
    ::= { oaTrapDestMIBGroups 1 }
 

END


