-- =============================================================================
-- Copyright (C) 2023 by HUAWEI TECHNOLOGIES. All rights reserved.
--
-- Description:
-- Reference: Huawei Enterprise MIB
-- Version: V1.00
-- History:
--          V1.00 The initial version created by liangshaoteng 30033389.
-- =============================================================================

HUAWEI-SEC-BYPASS-MIB DEFINITIONS ::= BEGIN

  IMPORTS
      huaweiUtility
            FROM HUAWEI-MIB
      OBJECT-GROUP, MODULE-COMPLIANCE, NOTIFICATION-GROUP
        FROM SNMPv2-CONF
        Gauge32, Counter64, IpAddress, OBJECT-TYPE, MODULE-IDENTITY, NOTIFICATION-TYPE
      FROM SNMPv2-SMI
        enterprises
        FROM RFC1155-SMI
            DateAndTime
      FROM SNMPv2-TC;

    -- 1.3.6.1.4.1.2011.6.197
    hwSecBypass MODULE-IDENTITY
            LAST-UPDATED "202301291747Z"        --  January 29, 2023 at 17:47 GMT+8
            ORGANIZATION
                "Huawei Technologies Co.,Ltd."
            CONTACT-INFO
                "Huawei Industrial Base
                                  Bantian, Longgang
                                  Shenzhen 518129
                                  People's Republic of China
                                  Website: http://www.huawei.com
                                  Email: support@huawei.com"
            DESCRIPTION
                "V1.00
                The HUAWEI-SEC-BYPASS-MIB contains objects to manage the bypass monitor module."

                REVISION    "202301291747Z"
                DESCRIPTION "V1.00 created at 2023-1-29."

            ::= { huaweiUtility 197 }


-- ===============================================
-- Node definitions
-- ===============================================

    -- 1.3.6.1.4.1.2011
    --huawei OBJECT IDENTIFIER ::= { enterprises 2011 }

    -- 1.3.6.1.4.1.2011.6
    --huaweiUtility OBJECT IDENTIFIER ::= { huawei 6 }


    hwSecBypassNotification OBJECT IDENTIFIER ::= { hwSecBypass 0 }
    hwSecBypassTrapObject OBJECT IDENTIFIER ::= { hwSecBypassNotification 1 }
    hwSecBypassTraps OBJECT IDENTIFIER ::= { hwSecBypassNotification 2 }

-- ===============================================
-- TrapObject.
-- ===============================================

    -- 1.3.6.1.4.1.2011.6.197.0.1.1
	hwSecBypassType OBJECT-TYPE
	SYNTAX OCTET STRING
	MAX-ACCESS accessible-for-notify
	STATUS current
	DESCRIPTION
	    "bypass type. contain slot or bypass-link."
	::= { hwSecBypassTrapObject 1 }
  
    -- 1.3.6.1.4.1.2011.6.197.0.1.2
	hwSecBypassIndex OBJECT-TYPE
	SYNTAX OCTET STRING
	MAX-ACCESS accessible-for-notify
	STATUS current
	DESCRIPTION
	    "bypass index. contain slot-id or bypass-link inerface."
	::= { hwSecBypassTrapObject 2 }

    -- 1.3.6.1.4.1.2011.6.197.0.1.3
	hwSecBypassState OBJECT-TYPE
	SYNTAX OCTET STRING
	MAX-ACCESS accessible-for-notify
	STATUS current
	DESCRIPTION
	    "Is bypass state or not."
	::= { hwSecBypassTrapObject 3 }

    -- 1.3.6.1.4.1.2011.6.197.0.1.4
	hwSecBypassReason OBJECT-TYPE
	SYNTAX OCTET STRING
	MAX-ACCESS accessible-for-notify
	STATUS current
	DESCRIPTION
	    "Bypass state change reasont."
	::= { hwSecBypassTrapObject 4 }

-- ===============================================
-- definition of traps.
-- ===============================================

      -- 1.3.6.1.4.1.2011.6.197.0.2.1
	  hwSecBypassStatusChange NOTIFICATION-TYPE
      OBJECTS { hwSecBypassType, hwSecBypassIndex, hwSecBypassState, hwSecBypassReason }
	  STATUS current
	  DESCRIPTION
	      "Indicates the status of the bypass card changes."
	  ::= {hwSecBypassTraps 1}

  END

--
-- HUAWEI-SEC-BYPASS-MIB.mib
--
