274 lines
10 KiB
Plaintext
274 lines
10 KiB
Plaintext
-- ==================================================================
|
|
-- Copyright (C) 2007 by HUAWEI TECHNOLOGIES. All rights reserved.
|
|
--
|
|
-- Description: HUAWEI GTL MIB
|
|
-- Reference:
|
|
-- Version: V1.0
|
|
-- History:
|
|
-- <author>, <date>, <contents>
|
|
-- WangHaiwei 2007-1-16
|
|
-- ==================================================================
|
|
-- ==================================================================
|
|
--
|
|
-- Variables and types are imported
|
|
--
|
|
-- ==================================================================
|
|
|
|
HUAWEI-GTL-MIB DEFINITIONS ::= BEGIN
|
|
|
|
IMPORTS
|
|
hwDatacomm
|
|
FROM HUAWEI-MIB
|
|
entPhysicalName
|
|
FROM ENTITY-MIB
|
|
DisplayString
|
|
FROM SNMPv2-TC
|
|
OBJECT-GROUP, MODULE-COMPLIANCE, NOTIFICATION-GROUP
|
|
FROM SNMPv2-CONF
|
|
Unsigned32, Integer32, OBJECT-TYPE, MODULE-IDENTITY, NOTIFICATION-TYPE
|
|
FROM SNMPv2-SMI;
|
|
|
|
hwGtl MODULE-IDENTITY
|
|
LAST-UPDATED "200611221414Z" -- November 22, 2006 at 14:14 GMT
|
|
ORGANIZATION
|
|
"Huawei Technologies Co.,Ltd."
|
|
CONTACT-INFO
|
|
"VRP Team Huawei Technologies Co.,Ltd.
|
|
Huawei Bld.,NO.3 Xinxi Rd.,
|
|
Shang-Di Information Industry Base,
|
|
Hai-Dian District Beijing P.R. China
|
|
http://www.huawei.com
|
|
Zip:100085
|
|
"
|
|
DESCRIPTION
|
|
"The private mib file includes the general extent
|
|
information of the device.hwDatacomm(25).htGtl(142)"
|
|
::= { hwDatacomm 142 }
|
|
|
|
--
|
|
-- Node definitions
|
|
--
|
|
|
|
-- ==================================================================
|
|
--
|
|
-- ======================= definition begin =========================
|
|
--
|
|
-- ==================================================================
|
|
hwGtlMibObjects OBJECT IDENTIFIER ::= { hwGtl 1 }
|
|
|
|
hwGtlDefaultValueReason OBJECT-TYPE
|
|
SYNTAX OCTET STRING (SIZE (1..31))
|
|
MAX-ACCESS accessible-for-notify
|
|
STATUS current
|
|
DESCRIPTION
|
|
"The object specifies the reason why the system uses the default value."
|
|
::= { hwGtlMibObjects 1 }
|
|
|
|
hwGtlResourceItem OBJECT-TYPE
|
|
SYNTAX OCTET STRING (SIZE (1..31))
|
|
MAX-ACCESS accessible-for-notify
|
|
STATUS current
|
|
DESCRIPTION
|
|
"The object specifies the resource item which is nearly exhausted."
|
|
::= { hwGtlMibObjects 2 }
|
|
|
|
hwGtlFeatureName OBJECT-TYPE
|
|
SYNTAX OCTET STRING (SIZE (1..31))
|
|
MAX-ACCESS accessible-for-notify
|
|
STATUS current
|
|
DESCRIPTION
|
|
"The object specifies the feature name which is near deadline."
|
|
::= { hwGtlMibObjects 3 }
|
|
|
|
hwGtlRemainTime OBJECT-TYPE
|
|
SYNTAX Integer32
|
|
MAX-ACCESS accessible-for-notify
|
|
STATUS current
|
|
DESCRIPTION
|
|
"Remain time of the feature which is near deadline.The unit is day."
|
|
::= { hwGtlMibObjects 4 }
|
|
|
|
hwGtlVerifyCode OBJECT-TYPE
|
|
SYNTAX Integer32
|
|
MAX-ACCESS accessible-for-notify
|
|
STATUS current
|
|
DESCRIPTION
|
|
"The verify code returned when verify license file failed."
|
|
::= { hwGtlMibObjects 5 }
|
|
|
|
hwGtlActive OBJECT-TYPE
|
|
SYNTAX OCTET STRING (SIZE (5..127))
|
|
MAX-ACCESS read-write
|
|
STATUS current
|
|
DESCRIPTION
|
|
"Active GTL license"
|
|
::= { hwGtlMibObjects 6 }
|
|
|
|
hwGtlShowActLCSName OBJECT-TYPE
|
|
SYNTAX OCTET STRING (SIZE (5..127))
|
|
MAX-ACCESS read-only
|
|
STATUS current
|
|
DESCRIPTION
|
|
"Show active GTL license file name"
|
|
::= { hwGtlMibObjects 7 }
|
|
|
|
hwGtlItemTable OBJECT-TYPE
|
|
SYNTAX SEQUENCE OF HwGtlItemEntry
|
|
MAX-ACCESS not-accessible
|
|
STATUS current
|
|
DESCRIPTION
|
|
"A table of item infomation in GTL license. Especially for show usage of reource item."
|
|
::= { hwGtlMibObjects 8 }
|
|
|
|
hwGtlChassisID OBJECT-TYPE
|
|
SYNTAX OCTET STRING (SIZE (1..32))
|
|
MAX-ACCESS accessible-for-notify
|
|
STATUS current
|
|
DESCRIPTION
|
|
"Show chassis description."
|
|
::= { hwGtlMibObjects 9 }
|
|
|
|
hwGtlItemEntry OBJECT-TYPE
|
|
SYNTAX HwGtlItemEntry
|
|
MAX-ACCESS not-accessible
|
|
STATUS current
|
|
DESCRIPTION
|
|
"A GTL license item information entry. Each entry consists of information of a item."
|
|
INDEX { hwGtlItemIndex }
|
|
::= { hwGtlItemTable 1 }
|
|
|
|
HwGtlItemEntry ::=
|
|
SEQUENCE {
|
|
hwGtlItemIndex
|
|
Unsigned32,
|
|
hwGtlItemName
|
|
DisplayString,
|
|
hwGtlItemControlValue
|
|
Unsigned32,
|
|
hwGtlItemUsedValue
|
|
Unsigned32,
|
|
hwGtlItemDescription
|
|
DisplayString
|
|
}
|
|
|
|
hwGtlItemIndex OBJECT-TYPE
|
|
SYNTAX Unsigned32
|
|
MAX-ACCESS not-accessible
|
|
STATUS current
|
|
DESCRIPTION
|
|
"The index of the GTL license item."
|
|
::= { hwGtlItemEntry 1 }
|
|
|
|
hwGtlItemName OBJECT-TYPE
|
|
SYNTAX DisplayString
|
|
MAX-ACCESS read-only
|
|
STATUS current
|
|
DESCRIPTION
|
|
"Item name."
|
|
::= { hwGtlItemEntry 2 }
|
|
|
|
hwGtlItemControlValue OBJECT-TYPE
|
|
SYNTAX Unsigned32
|
|
MAX-ACCESS read-only
|
|
STATUS current
|
|
DESCRIPTION
|
|
"Control value of the item. Control value will always be non-zero."
|
|
::= { hwGtlItemEntry 3 }
|
|
|
|
hwGtlItemUsedValue OBJECT-TYPE
|
|
SYNTAX Unsigned32
|
|
MAX-ACCESS read-only
|
|
STATUS current
|
|
DESCRIPTION
|
|
"Used value of the item."
|
|
::= { hwGtlItemEntry 4 }
|
|
|
|
hwGtlItemDescription OBJECT-TYPE
|
|
SYNTAX DisplayString
|
|
MAX-ACCESS read-only
|
|
STATUS current
|
|
DESCRIPTION
|
|
"Description of the item."
|
|
::= { hwGtlItemEntry 5 }
|
|
|
|
hwGtlNotifications OBJECT IDENTIFIER ::= { hwGtl 2 }
|
|
|
|
hwGtlDefaultValue NOTIFICATION-TYPE
|
|
OBJECTS { hwGtlDefaultValueReason, entPhysicalName }
|
|
STATUS current
|
|
DESCRIPTION
|
|
"Notification represents that the system will use default value if the license file fails to pass the verification."
|
|
::= { hwGtlNotifications 1 }
|
|
|
|
hwGtlResourceUsedUp NOTIFICATION-TYPE
|
|
OBJECTS { hwGtlResourceItem }
|
|
STATUS current
|
|
DESCRIPTION
|
|
"Notification represents the resource is nearly exhausted."
|
|
::= { hwGtlNotifications 2 }
|
|
|
|
hwGtlNearDeadline NOTIFICATION-TYPE
|
|
OBJECTS { hwGtlFeatureName, hwGtlRemainTime, entPhysicalName }
|
|
STATUS current
|
|
DESCRIPTION
|
|
"Notification represents the feature is near deadline."
|
|
::= { hwGtlNotifications 3 }
|
|
|
|
hwGtlLicenseVerifyFailed NOTIFICATION-TYPE
|
|
OBJECTS { hwGtlVerifyCode }
|
|
STATUS current
|
|
DESCRIPTION
|
|
"Notification represents license verification failed.
|
|
The reason why license verification failed can be:
|
|
1 represents that the ESN or version of the device and the license file mismatch.
|
|
2 represents that the license file has expired.
|
|
3 represents that the product type of the device and the license file mismatch.
|
|
4 represents that the license file is invalid."
|
|
::= { hwGtlNotifications 4 }
|
|
|
|
hwGtlExpired NOTIFICATION-TYPE
|
|
STATUS current
|
|
DESCRIPTION
|
|
"Notification represents the license has expired."
|
|
::= { hwGtlNotifications 5 }
|
|
|
|
hwGtlItemMismatch NOTIFICATION-TYPE
|
|
OBJECTS { hwGtlChassisID }
|
|
STATUS current
|
|
DESCRIPTION
|
|
"License item mismatch with the main chassis."
|
|
::= { hwGtlNotifications 6 }
|
|
|
|
-- Conformance information
|
|
hwGtlConformance OBJECT IDENTIFIER ::= { hwGtl 3 }
|
|
|
|
hwGtlCompliances OBJECT IDENTIFIER ::= { hwGtlConformance 1 }
|
|
|
|
hwGtlCompliance MODULE-COMPLIANCE
|
|
STATUS current
|
|
DESCRIPTION
|
|
"The compliance statement for systems supporting
|
|
the HUAWEI-GTL-MIB."
|
|
MODULE -- this module
|
|
MANDATORY-GROUPS { hwGtlObjectGroup, hwGtlNotificationGroup }
|
|
::= { hwGtlCompliances 1 }
|
|
|
|
hwGtlGroups OBJECT IDENTIFIER ::= { hwGtlConformance 2 }
|
|
|
|
hwGtlObjectGroup OBJECT-GROUP
|
|
OBJECTS { hwGtlDefaultValueReason, hwGtlResourceItem, hwGtlFeatureName, hwGtlRemainTime, hwGtlVerifyCode,
|
|
hwGtlActive, hwGtlShowActLCSName, hwGtlItemName, hwGtlItemControlValue, hwGtlItemUsedValue, hwGtlItemDescription }
|
|
STATUS current
|
|
DESCRIPTION
|
|
"The GTL attribute group."
|
|
::= { hwGtlGroups 1 }
|
|
|
|
hwGtlNotificationGroup NOTIFICATION-GROUP
|
|
NOTIFICATIONS { hwGtlDefaultValue, hwGtlResourceUsedUp, hwGtlNearDeadline, hwGtlLicenseVerifyFailed, hwGtlExpired }
|
|
STATUS current
|
|
DESCRIPTION
|
|
"The notification group."
|
|
::= { hwGtlGroups 2 }
|
|
|
|
END
|