-- ============================================================================ -- Copyright (C) 2012 by HUAWEI TECHNOLOGIES. All rights reserved. -- Description: This mib mainly provides functions of configuring and -- querying the license parameters, and querying resource items/function items. -- Certain functions of the device are controlled by the license of the resource items, -- and certain functions are controlled by the license of the function items. -- Reference: -- Version: V1.13 -- ============================================================================ HUAWEI-LICENSE-MIB DEFINITIONS ::= BEGIN IMPORTS NOTIFICATION-TYPE, Gauge32, IpAddress, Unsigned32, OBJECT-TYPE, Integer32, MODULE-IDENTITY FROM SNMPv2-SMI huaweiUtility FROM HUAWEI-MIB ifIndex FROM IF-MIB; hwLicense MODULE-IDENTITY LAST-UPDATED "201205070000Z" 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 " This mib mainly provides functions of configuring and querying the license parameters, and querying resource items/function items. Certain functions of the device are controlled by the license of the resource items, and certain functions are controlled by the license of the function items. " -- Revision history REVISION "201205070000Z" DESCRIPTION "V1.13, add the DHCPv6 option license function." REVISION "201112310000Z" DESCRIPTION "V1.12, added the license function for the third party ONT license." REVISION "201202100000Z" DESCRIPTION "V1.11, add the MELT test license function." REVISION "201011090000Z" DESCRIPTION "V1.10, The description of this MIB is modified according to the tool." REVISION "201008250000Z" DESCRIPTION "V1.09, modified the contact-info and the revision history. Modified the description of leaves." REVISION "201006130000Z" DESCRIPTION "V1.08, 1. Modified the description of the hwLicResTable, hwLicResEntry, hwLicFuncTable, hwLicFuncEntry, hwLicComFaultTrap, hwLicComRecoverTrap, hwLicLogoutTrap, hwLicRecOverLoadTrap, and hwLicFucOverLoadTrap. 2. Changed the object name. For instance, the name of hwLicCommenTraps is changed to hwLicCommonTraps, the name of hwLicAlmTraps is changed to hwLicAlarmTraps, the name of hwLicAlmTrapsPrefix is changed to hwLicAlarmTrapsPrefix." REVISION "201003310000Z" DESCRIPTION "V1.07, DT requirements are implemented and the syntax and semantics of SIMPLETEST are changed." REVISION "201001290000Z" DESCRIPTION "V1.06, The system supports the definitions of standard trap nodes and associated trap parameter nodes." REVISION "201001250000Z" DESCRIPTION "V1.05, used SimpleTest clean warning and error, used MIB browser clean warning and error, and added MIB description." REVISION "200708010000Z" DESCRIPTION "V1.03, added the basic license function." REVISION "200705230000Z" DESCRIPTION "V1.02, added two table objects." REVISION "200601040000Z" DESCRIPTION "V1.00, completed the draft." ::= { huaweiUtility 114 } -- -- Type definitions -- -- Time ::= OCTET STRING -- -- Node definitions -- hwLicensePara OBJECT IDENTIFIER ::= { hwLicense 1 } hwLicSpecialtySwitch OBJECT-TYPE SYNTAX INTEGER { on(1), off(2) } MAX-ACCESS read-write STATUS current DESCRIPTION " License function switch is classified into basic function switch and special function switch, which are used to control basic resources and special resources separately. The basic functions in the system are registered as basic resources generally. The non-basic/non-essential functions are registered as special resources. This MIB object can be used for querying and configuring the special function switch. Options: 1. on(1) -For the status of the special function switch, on(1) indicates that the special resources can be controlled by the license function. The status of the function switch can be set to on(1) only because once the function is enabled it cannot be disabled. 2. off(2) -For the status of the special function switch, off(2) indicates that the special resources cannot be controlled by the license function. " ::= { hwLicensePara 1 } hwLicESN OBJECT-TYPE SYNTAX IpAddress MAX-ACCESS read-write STATUS current DESCRIPTION " Serial number of the device, used for identifying the device uniquely. The ESN of the device needs to be configured to the IP address of the device connected to the NMS. The configuration of the ESN is not restricted by the license function switch. " ::= { hwLicensePara 2 } hwLicFirstServerIP OBJECT-TYPE SYNTAX IpAddress MAX-ACCESS read-write STATUS current DESCRIPTION " You can configure two license servers, one as an active server, and the other as a standby server. This object is used to configure the IP address of the active license server, and the active IP object. The standby IP object hwLicSecondIP can be configured only after the hwLicFirstServerIP is configured. When the device communicates with the license server, it first communicates with the active server and communicates with the standby server only when the communication between the device and active server is interrupted. " ::= { hwLicensePara 3 } hwLicSecondServerIP OBJECT-TYPE SYNTAX IpAddress MAX-ACCESS read-write STATUS current DESCRIPTION " You can configure two license servers, one as an active server, and the other as a standby server. This object is used to configure the IP address of the standby license server. hwLicSecondIP can be configured only after hwLicFirstServerIP is configured. " ::= { hwLicensePara 4 } hwLicServerPort OBJECT-TYPE SYNTAX Unsigned32 (1024..65535) MAX-ACCESS read-write STATUS current DESCRIPTION " A fixed port ID is required for the communication between the license server and client. This object is used to query and set the port ID of the license server. " ::= { hwLicensePara 5 } hwLicBasicSwitch OBJECT-TYPE SYNTAX INTEGER { on(1), off(2) } MAX-ACCESS read-write STATUS current DESCRIPTION " License function switch is classified into basic function switch and special function switch, which are used to control basic resources and special resources separately. The basic functions in the system are registered as basic resources generally. The non-basic/non-essential functions are registered as special resources. This MIB object can be used for querying and configuring the basic function switch. For the status of the basic function switch. Options: 1.on(1) -indicates that the basic resources can be controlled by the license function. 2.off(2) -indicates that the basic resources cannot be controlled by the license function. The status of the function switch can be set to on(1) only because once the function is enabled it cannot be disabled. " ::= { hwLicensePara 6 } hwLicResTable OBJECT-TYPE SYNTAX SEQUENCE OF HwLicResEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION " Through the table for querying the resources controlled by license, feature names, resource names, the number of resources controlled by license, and the number and description of actually used resources of the resource items can be queried. The indexes of this table are hwLicFeatureName and hwLicResName. hwLicFeatureName is the feature name. hwLicResName is the resource name. The resource name must be the resource name associated with the feature name. Through the index, the number of resource items controlled by license, the number and description of actually used resources associated with the indexes can be obtained. " ::= { hwLicense 2 } hwLicResEntry OBJECT-TYPE SYNTAX HwLicResEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION " Through the table for querying the resources controlled by license, feature names, resource names, the number of resources controlled by license, and the number and description of actually used resources of the resource items can be queried. The indexes of this entry are hwLicFeatureName and hwLicResName. hwLicFeatureName is the feature name. hwLicResName is the resource name. The resource name must be the resource name associated with the feature name. Through the index, the number of resource items controlled by license, the number and description of actually used resources associated with the indexes can be obtained. " INDEX { hwLicFeatureName, IMPLIED hwLicResName } ::= { hwLicResTable 1 } HwLicResEntry ::= SEQUENCE { hwLicFeatureName OCTET STRING, hwLicResName OCTET STRING, hwLicResAuthNum Unsigned32, hwLicResUsedNum Unsigned32, hwLicResDesc OCTET STRING } hwLicFeatureName OBJECT-TYPE SYNTAX OCTET STRING MAX-ACCESS read-only STATUS current DESCRIPTION " This object is the index of hwLicResTable. The function items controlled by license are all based on the feature, and this object is the feature name. " ::= { hwLicResEntry 1 } hwLicResName OBJECT-TYPE SYNTAX OCTET STRING MAX-ACCESS read-only STATUS current DESCRIPTION " This object is the index of hwLicResTable. The function items controlled by license are all based on one feature. The resource items are the entities of the features, and there are multiple resource items for each feature. This object is the resource name. " ::= { hwLicResEntry 2 } hwLicResAuthNum OBJECT-TYPE SYNTAX Unsigned32 MAX-ACCESS read-only STATUS current DESCRIPTION " Authorization from the license server is required for using the resources controlled by license. This object is used to obtain the number of authorized resources. " ::= { hwLicResEntry 3 } hwLicResUsedNum OBJECT-TYPE SYNTAX Unsigned32 MAX-ACCESS read-only STATUS current DESCRIPTION " For the resources controlled by license, the number of resources that can be used cannot exceed the number of authorized resources. This object is used to obtain the number of currently used resources. " ::= { hwLicResEntry 4 } hwLicResDesc OBJECT-TYPE SYNTAX OCTET STRING MAX-ACCESS read-only STATUS current DESCRIPTION " Each resource controlled by license has a resource description. This object is used to obtain the resource description. " ::= { hwLicResEntry 5 } hwLicFuncTable OBJECT-TYPE SYNTAX SEQUENCE OF HwLicFuncEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION " Through the table for querying the functions controlled by license, function names, the number of functions controlled by license, and function description can be queried. The indexes of this table are hwLicFeatureName and hwLicFuncName. hwLicFeatureName is the feature name and hwLicFuncName is the function name. Through the indexes, the number and description of authorized function items associated with the indexes can be obtained. " ::= { hwLicense 3 } hwLicFuncEntry OBJECT-TYPE SYNTAX HwLicFuncEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION " Through the table for querying the functions controlled by license, function names, the number of functions controlled by license, and function description can be queried. The indexes of this entry are hwLicFeatureName and hwLicFuncName. hwLicFeatureName is the feature name and hwLicFuncName is the function name. Through the indexes, the number and description of authorized function items associated with the indexes can be obtained. " INDEX { hwLicFeatureName, IMPLIED hwLicFuncName } ::= { hwLicFuncTable 1 } HwLicFuncEntry ::= SEQUENCE { hwLicFuncName OCTET STRING, hwLicFuncAuth INTEGER, hwLicFuncDesc OCTET STRING } hwLicFuncName OBJECT-TYPE SYNTAX OCTET STRING MAX-ACCESS read-only STATUS current DESCRIPTION " This object is the index of hwLicFuncTable. The function items controlled by license are all based on one feature. The function items are the entities of the features, and there are multiple function items for each feature. This object is the name of the function item. " ::= { hwLicFuncEntry 1 } hwLicFuncAuth OBJECT-TYPE SYNTAX INTEGER { disable(1), enable(2) } MAX-ACCESS read-only STATUS current DESCRIPTION " Authorization from the license server is required for using the function items controlled by license. This object is used to obtain the information indicating whether the authorization is obtained. Options: 1.disable(1) -indicates that the authorization is not obtained and the function cannot be used; 2.enable(2) -indicates that the authorization is obtained and the function can be used. " ::= { hwLicFuncEntry 2 } hwLicFuncDesc OBJECT-TYPE SYNTAX OCTET STRING MAX-ACCESS read-only STATUS current DESCRIPTION " Each resource controlled by license has a resource description. This object is used to obtain the function description. " ::= { hwLicFuncEntry 3 } hwLicTrapsVbOids OBJECT IDENTIFIER ::= { hwLicense 4 } hwLicCommonTraps OBJECT IDENTIFIER ::= { hwLicense 5 } hwLicAlarmTraps OBJECT IDENTIFIER ::= { hwLicense 6 } hwLicAlarmTrapsPrefix OBJECT IDENTIFIER ::= { hwLicAlarmTraps 0 } hwLicComFaultTrap NOTIFICATION-TYPE STATUS current DESCRIPTION " This trap message is reported when the communication between the device and the license server fails. " ::= { hwLicAlarmTrapsPrefix 1 } hwLicComRecoverTrap NOTIFICATION-TYPE STATUS current DESCRIPTION " This trap message is reported when the communication between the license client and the server is restored. " ::= { hwLicAlarmTrapsPrefix 2 } hwLicLogoutTrap NOTIFICATION-TYPE STATUS current DESCRIPTION " This trap message is reported when the device license expires. " ::= { hwLicAlarmTrapsPrefix 3 } hwLicRecOverLoadTrap NOTIFICATION-TYPE OBJECTS { hwLicFeatureName, hwLicResName,hwLicResAuthNum,hwLicResUsedNum } STATUS current DESCRIPTION " This trap message is reported when the license resources exceed the permitted number. " ::= { hwLicAlarmTrapsPrefix 4 } hwLicFucOverLoadTrap NOTIFICATION-TYPE OBJECTS { hwLicFeatureName, hwLicFuncName } STATUS current DESCRIPTION " This trap message is reported when the device uses a function that is not supported by the license. " ::= { hwLicAlarmTrapsPrefix 5 } hwThirdPartyOntLicControlObjects OBJECT IDENTIFIER ::= { hwLicense 7 } hwThirdPartyOntLicGlobalPara OBJECT IDENTIFIER ::= { hwThirdPartyOntLicControlObjects 1 } hwThirdPartyOntLicAuth OBJECT-TYPE SYNTAX INTEGER { enable(1), disable(2) } MAX-ACCESS read-write STATUS current DESCRIPTION "The object indicates third party ONT license switch. Options: 1. enable(1) -enable third party ONT license switch 2. disable(2) -disable third party ONT license switch" ::= { hwThirdPartyOntLicGlobalPara 1 } hwThirdPartyOntOnceOnlineNum OBJECT-TYPE SYNTAX Gauge32 MAX-ACCESS read-only STATUS current DESCRIPTION "The number of third party ONTs allowed to be online." ::= { hwThirdPartyOntLicGlobalPara 2 } hwMeltLicControlObjects OBJECT IDENTIFIER ::= { hwLicense 8 } hwMeltLicGlobalPara OBJECT IDENTIFIER ::= { hwMeltLicControlObjects 1 } hwMeltLicenseAuth OBJECT-TYPE SYNTAX INTEGER { enable(1), disable(2) } MAX-ACCESS read-write STATUS current DESCRIPTION " The switch of MELT license auth. Options: 1. enable(1) -The number of MELT test ports has reached or exceeded the license, and not allowed to start the MELT test for the new port. 2. disable(2) -The number of MELT test ports has not reached the license, and allowed to start the MELT test for the new port. Default: disable(2) " ::= { hwMeltLicGlobalPara 1 } hwMeltTestedPortNum OBJECT-TYPE SYNTAX Gauge32 MAX-ACCESS read-only STATUS current DESCRIPTION " The number of ports has been MELT tested. " ::= { hwMeltLicGlobalPara 2 } hwMeltLicFuncTable OBJECT-TYPE SYNTAX SEQUENCE OF HwMeltLicFuncEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION " This table is used to show the information about the MELT test port. The index of this table is ifindex. " ::= { hwMeltLicControlObjects 2 } hwMeltLicFuncEntry OBJECT-TYPE SYNTAX HwMeltLicFuncEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION " This entry is used to show the information about the MELT test port. The index of this entry is ifindex. " INDEX { ifIndex } ::= { hwMeltLicFuncTable 1 } HwMeltLicFuncEntry ::= SEQUENCE { hwPortMeltTestedFlag INTEGER } hwPortMeltTestedFlag OBJECT-TYPE SYNTAX INTEGER { tested(1), untested(2) } MAX-ACCESS read-only STATUS current DESCRIPTION " The flag that the port has been MELT tested. Options: 1. tested(1) -The port has been MELT tested 2. untested(2) -The port has not been MELT tested " ::= { hwMeltLicFuncEntry 1 } hwIPv6Dhcpv6ControlObjects OBJECT IDENTIFIER ::= { hwLicense 9 } hwIPv6Dhcpv6OptionLicenseAuth OBJECT-TYPE SYNTAX INTEGER { enable(1), disable(2) } MAX-ACCESS read-write STATUS current DESCRIPTION " Used to control whether the DHCPv6 option function can be enabled for users. If it is set to enable, the DHCPv6 option function can be enabled for users. Otherwise, the DHCPv6 option function cannot be enabled for users. Options: 1. enable(1) -Enable DHCPv6 option license switch 2. disable(2) -Disable DHCPv6 option license switch default: enable(1) " ::= { hwIPv6Dhcpv6ControlObjects 1 } hwCmtsLicControlObjects OBJECT IDENTIFIER ::= { hwLicense 10 } hwCmtsLicenseTable OBJECT IDENTIFIER ::= { hwCmtsLicControlObjects 1 } hwCmtsBasicLicenseUpChannelTotal OBJECT-TYPE SYNTAX INTEGER MAX-ACCESS read-only STATUS current DESCRIPTION " Total number about the basic license of upstream channel. " ::= { hwCmtsLicenseTable 1 } hwCmtsBasicLicenseDownChannelotal OBJECT-TYPE SYNTAX INTEGER MAX-ACCESS read-only STATUS current DESCRIPTION " Total number about the basic license of downstream channel. " ::= { hwCmtsLicenseTable 2 } hwCmtsBasicLicenseUpChannelUsed OBJECT-TYPE SYNTAX INTEGER MAX-ACCESS read-only STATUS current DESCRIPTION " Used number about the basic license of upstream channel. " ::= { hwCmtsLicenseTable 3 } hwCmtsBasicLicenseDownChannelUsed OBJECT-TYPE SYNTAX INTEGER MAX-ACCESS read-only STATUS current DESCRIPTION " Used number about the basic license of downstream channel. " ::= { hwCmtsLicenseTable 4 } hwCmtsExtendedLicenseUpChannelUsed OBJECT-TYPE SYNTAX INTEGER MAX-ACCESS read-only STATUS current DESCRIPTION " Used number about the extended license of upstream channel. " ::= { hwCmtsLicenseTable 5 } hwCmtsExtendedLicenseDownChannelUsed OBJECT-TYPE SYNTAX INTEGER MAX-ACCESS read-only STATUS current DESCRIPTION " Used number about the extended license of downstream channel. " ::= { hwCmtsLicenseTable 6 } hwCmtsExtendedLicenseUpChannelLockFlg OBJECT-TYPE SYNTAX INTEGER MAX-ACCESS read-write STATUS current DESCRIPTION " Lock flag about the extended license of upstream channel. " ::= { hwCmtsLicenseTable 7 } hwCmtsExtendedLicenseDownChannelLockFlg OBJECT-TYPE SYNTAX INTEGER MAX-ACCESS read-write STATUS current DESCRIPTION " Lock flag about the extended license of downstream channel. " ::= { hwCmtsLicenseTable 8 } hwCmtsExtendedLicenseUpChannelLack OBJECT-TYPE SYNTAX INTEGER MAX-ACCESS read-only STATUS current DESCRIPTION " Number of upstream channels disabled for the lack of license. " ::= { hwCmtsLicenseTable 9 } hwCmtsExtendedLicenseDownChannelLack OBJECT-TYPE SYNTAX INTEGER MAX-ACCESS read-only STATUS current DESCRIPTION " Number of downstream channels disabled for the lack of license. " ::= { hwCmtsLicenseTable 10 } END -- -- HUAWEI-LICENSE-MIB.my --