Commit version 24.12.13800

This commit is contained in:
2025-01-06 17:35:06 -05:00
parent b7f6a79c2c
commit 55d9218816
6133 changed files with 4239740 additions and 1374287 deletions

View File

@ -1,8 +1,8 @@
-- ===================================================================
-- Copyright (C) 2019 by HUAWEI TECHNOLOGIES. All rights reserved.
-- Copyright (C) 2023 by HUAWEI TECHNOLOGIES. All rights reserved.
-- Description: HUAWEI MASTER KEY MIB
-- Reference:
-- Version: V1.05
-- Version: V1.15
-- ===================================================================
@ -21,7 +21,7 @@
hwMasterKey MODULE-IDENTITY
LAST-UPDATED "201903251900Z"
LAST-UPDATED "202302010900Z"
ORGANIZATION
"Huawei Technologies Co.,Ltd."
CONTACT-INFO
@ -35,9 +35,39 @@
DESCRIPTION
"The HUAWEI-MASTERKEY-MIB contains objects to manage the system
master key. such as set and clear master key, query master key configuration
and modify infomation. This module can only be accessed from SNMPv3 agents."
and modify information. This module can only be accessed from SNMPv3 agents."
-- Revision history
REVISION "202302010900Z"
DESCRIPTION "V1.15, modify range of hwMasterKeyAutoUpdateInterval."
REVISION "202111090900Z"
DESCRIPTION "V1.14, modify description."
REVISION "202105310900Z"
DESCRIPTION "V1.13, add hwOperateMasterKey."
REVISION "202101210900Z"
DESCRIPTION "V1.12, modify hwClearMasterKey ."
REVISION "202012160900Z"
DESCRIPTION "V1.11, modify hwSetExportKey and hwNewMasterKey."
REVISION "202010260900Z"
DESCRIPTION "V1.10, modify hwClearMasterKey ."
REVISION "202009190900Z"
DESCRIPTION "V1.09, add hwSetExportKey and hwExportKeyConfig."
REVISION "202003190900Z"
DESCRIPTION "V1.08, modify hwMasterKeyAutoUpdateInterval."
REVISION "202001150900Z"
DESCRIPTION "V1.07, add hwMasterKeyAutoUpdateInterval."
REVISION "201903251900Z"
DESCRIPTION "V1.06, add hwMasterKeyExpiredAlarm and hwMasterKeyExpiredResume."
REVISION "201903251900Z"
DESCRIPTION "V1.05, modify description of hwMKOperateFailedReason."
@ -63,7 +93,8 @@
SYNTAX INTEGER
{
default(1),
userDefined(2)
userDefined(2),
autoupdate(3)
}
MAX-ACCESS read-only
STATUS current
@ -84,7 +115,7 @@
hwSetMasterKey OBJECT IDENTIFIER ::= { hwMasterKey 3 }
hwNewMasterKey OBJECT-TYPE
SYNTAX DisplayString (SIZE (20..32))
SYNTAX DisplayString (SIZE (0..0 | 20..32))
MAX-ACCESS read-write
STATUS current
DESCRIPTION
@ -105,7 +136,7 @@
this object is used to set master key, the read length is 0."
::= { hwSetMasterKey 2 }
hwMasterKeyOperateInfo OBJECT IDENTIFIER ::= { hwMasterKey 4 }
hwMKOperateResult OBJECT-TYPE
@ -147,8 +178,80 @@
"The value of this object identifies the end time of master key modification
in the format of YYYY-MM-DD,HH:MM:SS."
::= { hwMasterKeyOperateInfo 4 }
hwMasterKeyAutoUpdateInterval OBJECT-TYPE
SYNTAX Unsigned32 (1..3650)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The interval of masterkey auto-updating."
::= { hwMasterKey 5 }
-- 1.3.6.1.4.1.2011.5.25.346.6
-- 1.3.6.1.4.1.2011.5.25.346.6
hwMasterKeyTraps OBJECT IDENTIFIER ::= { hwMasterKey 6 }
-- 1.3.6.1.4.1.2011.5.25.346.6.1
-- 1.3.6.1.4.1.2011.5.25.346.6.1
hwMasterKeyExpiredTrap OBJECT IDENTIFIER ::= { hwMasterKeyTraps 1 }
-- 1.3.6.1.4.1.2011.5.25.346.6.1.1
-- 1.3.6.1.4.1.2011.5.25.346.6.1.1
hwMasterKeyExpiredAlarm NOTIFICATION-TYPE
STATUS current
DESCRIPTION
"The MasterKey of the user expiration alarm."
::= { hwMasterKeyExpiredTrap 1 }
-- 1.3.6.1.4.1.2011.5.25.346.6.1.2
-- 1.3.6.1.4.1.2011.5.25.346.6.1.2
hwMasterKeyExpiredResume NOTIFICATION-TYPE
STATUS current
DESCRIPTION
"The MasterKey of the user expiration alarm is cleared."
::= { hwMasterKeyExpiredTrap 2 }
hwMasterKeyMIBConformance OBJECT IDENTIFIER ::= { hwMasterKey 5 }
hwSetExportKey OBJECT-TYPE
SYNTAX DisplayString (SIZE (0..0 | 32))
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The value of this object identifies the new export key
this object is used to set export key, the read length is 0.
The master key value is a string of 32 characters and
must be a combination of uppercase letters, lowercase letters,
digits, and special characters.
Because of the limitation of snmp protocol, some characters such as space can not be used."
::= { hwMasterKey 7 }
hwExportKeyConfig OBJECT-TYPE
SYNTAX INTEGER
{
default(1),
userDefined(2)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The value of this object identifies current export key is default or
user defined."
::= { hwMasterKey 8 }
hwOperateMasterKey OBJECT-TYPE
SYNTAX INTEGER
{
autoGeneratedBySystem (1)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object is used to operate master key.
Options:
1. autoGeneratedBySystem (1)
"
::= { hwMasterKey 10 }
hwMasterKeyMIBConformance OBJECT IDENTIFIER ::= { hwMasterKey 9 }
hwMasterKeyMIBCompliances OBJECT IDENTIFIER ::= { hwMasterKeyMIBConformance 1 }
hwMasterKeyMIBCompliance MODULE-COMPLIANCE
@ -157,7 +260,7 @@
"The compliance statement for entities which implement
the Huawei Master Key MIB."
MODULE -- this module
MANDATORY-GROUPS { hwMKConfigGroup, hwMKSetGroup, hwMKClearGroup, hwMKOperateInfoGroup }
MANDATORY-GROUPS { hwMKConfigGroup, hwMKSetGroup, hwMKClearGroup, hwMKOperateInfoGroup, hwMKAutoUpdate, hwMKSetExportKey, hwMKExportKeyConfig}
::= { hwMasterKeyMIBCompliances 1 }
hwMasterKeyMIBGroups OBJECT IDENTIFIER ::= { hwMasterKeyMIBConformance 2 }
@ -189,6 +292,34 @@
DESCRIPTION
"A collection of mater key operate information."
::= { hwMasterKeyMIBGroups 4 }
hwMKAutoUpdate OBJECT-GROUP
OBJECTS { hwMasterKeyAutoUpdateInterval }
STATUS current
DESCRIPTION
"auto-update master key."
::= { hwMasterKeyMIBGroups 5 }
hwMKSetExportKey OBJECT-GROUP
OBJECTS { hwSetExportKey }
STATUS current
DESCRIPTION
"A collection of set export key."
::= { hwMasterKeyMIBGroups 6 }
hwMKExportKeyConfig OBJECT-GROUP
OBJECTS { hwExportKeyConfig }
STATUS current
DESCRIPTION
"A collection of set export key."
::= { hwMasterKeyMIBGroups 7 }
hwMKOperateGroup OBJECT-GROUP
OBJECTS { hwOperateMasterKey }
STATUS current
DESCRIPTION
"A collection of set random master key."
::= { hwMasterKeyMIBGroups 8 }
END
--