ELTEX-MES-HARDWARE-MIB DEFINITIONS ::= BEGIN

-- Title:      Eltex MES Hardware Configuration
-- Version:    2.0
-- Date:       11-Nov-2017

IMPORTS
    MODULE-IDENTITY, OBJECT-TYPE                FROM SNMPv2-SMI
    TruthValue, DisplayString                   FROM SNMPv2-TC
    PortList                                    FROM Q-BRIDGE-MIB
    ifIndex, InterfaceIndex                     FROM IF-MIB
    eltMes, eltMesHardwareMib                   FROM ELTEX-MES;

--
-- Textual Conventions
--

EltBreakoutMode ::= TEXTUAL-CONVENTION
    STATUS      current
    DESCRIPTION "Hardware profile mode."
    SYNTAX      INTEGER {
                  default (1),
                  mode-4x10 (2),
                  mode-4x25 (3),
                  mode-4x100 (4)
                }

--
-- MIB Groups
--
eltMesHardwareMibMIBObjects    OBJECT IDENTIFIER ::=
                                { eltMesHardwareMib 1 }

eltMesHardwareConfig           OBJECT IDENTIFIER ::=
                                { eltMesHardwareMibMIBObjects 1 }

--
-- Configuration
--

eltMesHardwareSerdesConfig     OBJECT IDENTIFIER ::=
                                { eltMesHardwareConfig 1 }

--
-- Configuration interface breakout mode
--

eltHardwareInterfaceTable OBJECT-TYPE
    SYNTAX SEQUENCE OF EltHardwareInterfaceEntry
    MAX-ACCESS not-accessible
    STATUS current
    DESCRIPTION
        "Hardware profile mode configuration." 
    ::= { eltMesHardwareSerdesConfig 3 }

eltHardwareInterfaceEntry OBJECT-TYPE
    SYNTAX      EltHardwareInterfaceEntry
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
        "Defines the contents of each port in the eltHardwareInterfaceTable table." 
    INDEX { eltHardwareInterfaceIndex }
    ::= { eltHardwareInterfaceTable 1 }

EltHardwareInterfaceEntry ::= SEQUENCE {
    eltHardwareInterfaceIndex                   InterfaceIndex,
    eltHardwareInterfaceBreakoutModeAfterReset  EltBreakoutMode,
    eltHardwareInterfaceBreakoutMode            EltBreakoutMode,
    eltHardwareInterfaceBreakoutPortList        PortList,
    eltHardwareInterfaceBreakoutPortsName       DisplayString
}

eltHardwareInterfaceIndex OBJECT-TYPE
    SYNTAX InterfaceIndex
    MAX-ACCESS read-write
    STATUS current
    DESCRIPTION
        "Interface Index."
    ::= { eltHardwareInterfaceEntry 1 }

eltHardwareInterfaceBreakoutModeAfterReset OBJECT-TYPE
    SYNTAX EltBreakoutMode
    MAX-ACCESS read-write
    STATUS current
    DESCRIPTION
        "Breakout mode after reset."
    ::= { eltHardwareInterfaceEntry 2 }
    
eltHardwareInterfaceBreakoutMode OBJECT-TYPE
    SYNTAX EltBreakoutMode
    MAX-ACCESS read-only
    STATUS current
    DESCRIPTION
        "Breakout mode."
    ::= { eltHardwareInterfaceEntry 3 }

eltHardwareInterfaceBreakoutPortList OBJECT-TYPE
    SYNTAX      PortList
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
        "Expanded interfaces."
    ::= { eltHardwareInterfaceEntry 4 }
    
eltHardwareInterfaceBreakoutPortsName OBJECT-TYPE
    SYNTAX          DisplayString
    MAX-ACCESS      read-only
    STATUS          current
    DESCRIPTION     "Expanded interfaces names."
    ::= { eltHardwareInterfaceEntry 5 }
    
END

