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

HUAWEI-SECURITY-POLICY-MIB DEFINITIONS ::= BEGIN

  IMPORTS
      huaweiUtility
            FROM HUAWEI-MIB
      OBJECT-GROUP, MODULE-COMPLIANCE, NOTIFICATION-GROUP
        FROM SNMPv2-CONF
        Gauge32, 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.122.46
    hwSecPolicy MODULE-IDENTITY
            LAST-UPDATED "202110151620Z"        --  October 15, 2021 at 16:20 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 POLICY mib is for Eudemon and USG product series."
                REVISION    "202110151620Z"
                DESCRIPTION "The HUAWEI-SECURITY-POLICY-MIB contains objects to manage the firewall policy module."

            ::= { hwSecurity 46 }


-- ===============================================
-- 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 }

    -- 1.3.6.1.4.1.2011.6.122
    hwSecurity OBJECT IDENTIFIER ::= { huaweiUtility 122 }


    hwSecPolicyNotification OBJECT IDENTIFIER ::= { hwSecPolicy 0 }
    hwSecPolicyTrapObject OBJECT IDENTIFIER ::= { hwSecPolicyNotification 1 }
    hwSecPolicyTraps OBJECT IDENTIFIER ::= { hwSecPolicyNotification 2 }

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

      -- 1.3.6.1.4.1.2011.6.122.46.0.2.1
      hwSecPolicyBuildFail NOTIFICATION-TYPE
      STATUS     current
      DESCRIPTION
          "The policy does not take effect, and traffic cannot be matched based on the configured rule."
      ::= {hwSecPolicyTraps 1}

      -- 1.3.6.1.4.1.2011.6.122.46.0.2.2
      hwSecPolicyBuildSucc NOTIFICATION-TYPE
      STATUS     current
      DESCRIPTION
          "The policy has taken effect, and traffic can be matched based on the configured rule."
      ::= {hwSecPolicyTraps 2}

  END

--
-- HUAWEI-SECURITY-POLICY-MIB.mib
--
