ELTEX-MES-VRRP DEFINITIONS ::= BEGIN

-- Title:      ELTEX MES VRRP
-- Version:    1.0
-- Date:       8 Aug 2023

IMPORTS
    eltMes                                                  FROM ELTEX-MES
    OBJECT-TYPE, Unsigned32                                 FROM SNMPv2-SMI
    TruthValue, DisplayString, RowStatus                    FROM SNMPv2-TC
    vrrpv3OperationsEntry                                   FROM VRRPV3-MIB;

eltMesVRRP MODULE-IDENTITY
       LAST-UPDATED "202204220000Z"
       ORGANIZATION "Eltex Enterprise Co, Ltd."
       CONTACT-INFO
            "www.eltex.nsk.ru"
       DESCRIPTION
            "The private MIB module definition for VRRP MIB."
       REVISION "202204220000Z"
       DESCRIPTION
            "Initial version of this MIB."
       ::= { eltMes 114 }

eltVrrpv3OperationsTable OBJECT-TYPE
    SYNTAX       SEQUENCE OF EltVrrpv3OperationsEntry
    MAX-ACCESS   not-accessible
    STATUS       current
    DESCRIPTION
        "Eltex VRRP table."
    ::= { eltMesVRRP 1 }

eltVrrpv3OperationsEntry OBJECT-TYPE
    SYNTAX       EltVrrpv3OperationsEntry
    MAX-ACCESS   not-accessible
    STATUS       current
    DESCRIPTION
        "This table is parallel to vrrpv3OperationsTable.
        It contains Eltex private objects."
    AUGMENTS    { vrrpv3OperationsEntry }
    ::= { eltVrrpv3OperationsTable 1 }

EltVrrpv3OperationsEntry ::=
    SEQUENCE {
        eltVrrpv3OperationsChecksumExcludePseudoheader  TruthValue,
        eltVrrpv3OperationsPasswordMD5                  OCTET STRING,
        eltVrrpv3OperationsPasswordKeyChain             OCTET STRING,
        eltVrrpv3OperationsPasswordSimpleText           OCTET STRING
    }

eltVrrpv3OperationsChecksumExcludePseudoheader OBJECT-TYPE
        SYNTAX       TruthValue
        MAX-ACCESS   read-write
        STATUS       current
        DESCRIPTION
            "Determines whether the checksum will be
            calculated with (RFC 5798 Section 5.2.8) or
            without (RFC 3768 Section 5.2.8) a pseudo-header."
        DEFVAL       { false }
        ::= { eltVrrpv3OperationsEntry 1 }

eltVrrpv3OperationsPasswordMD5 OBJECT-TYPE
        SYNTAX       OCTET STRING (SIZE (0..80))
        MAX-ACCESS   read-write
        STATUS       current
        DESCRIPTION
            "Password field for MD5 authentication for 
            VRRPv2 protocol."
        REFERENCE "Proprietary Cisco"
        ::= { eltVrrpv3OperationsEntry 2 }

eltVrrpv3OperationsPasswordKeyChain OBJECT-TYPE
        SYNTAX       OCTET STRING (SIZE (0..32))
        MAX-ACCESS   read-write
        STATUS       current
        DESCRIPTION
            "Key chain field for MD5 authentication for 
            VRRPv2 protocol."
        REFERENCE "Proprietary Cisco"
        ::= { eltVrrpv3OperationsEntry 3 }

eltVrrpv3OperationsPasswordSimpleText OBJECT-TYPE
        SYNTAX       OCTET STRING (SIZE (0..8))
        MAX-ACCESS   read-write
        STATUS       current
        DESCRIPTION
            "Simple clear text field for simple authentication for 
            VRRPv2 protocol."
        REFERENCE "RFC 2338 section 10.2"
        ::= { eltVrrpv3OperationsEntry 4 }
    
eltVrrpEnableTrapsVrrpErrors OBJECT-TYPE
        SYNTAX       Unsigned32
        MAX-ACCESS   read-write
        STATUS   current
        DESCRIPTION
           "A bit mask indicating enable SNMP notifications for VRRP errors

            Bit 0, if set, for ttl error.
            enables only ttl error notification.

            Bit 1, if set, for version error.
            enables only version error notification.

            Bit 2, if set, for checksum error.
            enables only checksum error notification.

            Bit 3, if set, for virtual router id error.
            enables only virtual router id error notification."
        DEFVAL { 'F0000000'H }
        ::= { eltMesVRRP 2 }

END