ELTEX-MES-PHY DEFINITIONS ::= BEGIN

-- Title:      ELTEX MES Phy Extension Private
-- Version:    1.00
-- Date:       21-Jan-2014
--

IMPORTS
    MODULE-IDENTITY, OBJECT-TYPE                FROM SNMPv2-SMI
    ifIndex                                     FROM IF-MIB
    eltMes                                      FROM ELTEX-MES
    TruthValue                                  FROM SNMPv2-TC;

eltMesPhy MODULE-IDENTITY
                LAST-UPDATED "201401210000Z"
                ORGANIZATION "Eltex Enterprise Co, Ltd."
                CONTACT-INFO
                      "www.eltex.nsk.ru"
                DESCRIPTION
                      "This private MIB module defines Eltex's private phy MIBs."
                REVISION "201401210000Z"
                DESCRIPTION
                      "Initial revision."
        ::= { eltMes 90 }

eltMesPhyTest OBJECT IDENTIFIER ::= { eltMesPhy 1 }

eltPhyTdrTestTable OBJECT-TYPE
    SYNTAX      SEQUENCE OF EltPhyTdrTestEntry
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
        ""
    ::= { eltMesPhyTest 1 }

eltPhyTdrTestEntry OBJECT-TYPE
    SYNTAX       EltPhyTdrTestEntry
    MAX-ACCESS   not-accessible
    STATUS       current
    DESCRIPTION
            "An entry containing detailed results of TDR test on an interface."
    INDEX {ifIndex}
    ::= { eltPhyTdrTestTable 1 }

EltPhyTdrTestEntry ::=
    SEQUENCE {
        eltPhyTdrTestResultIsValid      TruthValue,
        eltPhyTdrTestPair1Status        INTEGER,
        eltPhyTdrTestPair2Status        INTEGER,
        eltPhyTdrTestPair3Status        INTEGER,
        eltPhyTdrTestPair4Status        INTEGER,
        eltPhyTdrTestPair1Length        INTEGER,
        eltPhyTdrTestPair2Length        INTEGER,
        eltPhyTdrTestPair3Length        INTEGER,
        eltPhyTdrTestPair4Length        INTEGER
    }

eltPhyTdrTestResultIsValid       OBJECT-TYPE
    SYNTAX     TruthValue
    MAX-ACCESS read-only
    STATUS     current
    DESCRIPTION
             "This field indicates that TDR test was finished and test results are valid."
    ::= { eltPhyTdrTestEntry 1 }

eltPhyTdrTestPair1Status OBJECT-TYPE
    SYNTAX INTEGER
        {
        test-failed(0),
        ok(1),
        open(2),
        short(3),
        impedance-mismatch(4),
        short-with-pair-1(5),
        short-with-pair-2(6),
        short-with-pair-3(7),
        short-with-pair-4(8)
        }
    MAX-ACCESS read-only
    STATUS current
    DESCRIPTION
        "This object holds the test status for 1st pair (1-2)"
    ::= { eltPhyTdrTestEntry 2 }

eltPhyTdrTestPair2Status OBJECT-TYPE
    SYNTAX INTEGER
        {
        test-failed(0),
        ok(1),
        open(2),
        short(3),
        impedance-mismatch(4),
        short-with-pair-1(5),
        short-with-pair-2(6),
        short-with-pair-3(7),
        short-with-pair-4(8)
        }
    MAX-ACCESS read-only
    STATUS current
    DESCRIPTION
        "This object holds the test status for 2nd pair (3-6)"
    ::= { eltPhyTdrTestEntry 3 }

eltPhyTdrTestPair3Status OBJECT-TYPE
    SYNTAX INTEGER
        {
        test-failed(0),
        ok(1),
        open(2),
        short(3),
        impedance-mismatch(4),
        short-with-pair-1(5),
        short-with-pair-2(6),
        short-with-pair-3(7),
        short-with-pair-4(8)
        }
    MAX-ACCESS read-only
    STATUS current
    DESCRIPTION
        "This object holds the test status for 3rd pair (4-5)"
    ::= { eltPhyTdrTestEntry 4 }

eltPhyTdrTestPair4Status OBJECT-TYPE
    SYNTAX INTEGER
        {
        test-failed(0),
        ok(1),
        open(2),
        short(3),
        impedance-mismatch(4),
        short-with-pair-1(5),
        short-with-pair-2(6),
        short-with-pair-3(7),
        short-with-pair-4(8)
        }
    MAX-ACCESS read-only
    STATUS current
    DESCRIPTION
        "This object holds the test status for 4th pair (7-8)"
    ::= { eltPhyTdrTestEntry 5 }

eltPhyTdrTestPair1Length  OBJECT-TYPE
    SYNTAX       INTEGER
    MAX-ACCESS   read-only
    STATUS       current
    DESCRIPTION
            "This object holds the test result for 1st pair (1-2)"
    ::= { eltPhyTdrTestEntry 6 }

eltPhyTdrTestPair2Length  OBJECT-TYPE
    SYNTAX       INTEGER
    MAX-ACCESS   read-only
    STATUS       current
    DESCRIPTION
            "This object holds the test result for 2nd pair (3-6)"
    ::= { eltPhyTdrTestEntry 7 }

eltPhyTdrTestPair3Length  OBJECT-TYPE
    SYNTAX       INTEGER
    MAX-ACCESS   read-only
    STATUS       current
    DESCRIPTION
            "This object holds the test result for 3rd pair (4-5)"
    ::= { eltPhyTdrTestEntry 8 }

eltPhyTdrTestPair4Length  OBJECT-TYPE
    SYNTAX       INTEGER
    MAX-ACCESS   read-only
    STATUS       current
    DESCRIPTION
            "This object holds the test result for 4th pair (7-8)"
    ::= { eltPhyTdrTestEntry 9 }

END
