-- ----------------------------------------------------------------------------- -- MIB NAME : D-Link License Management System mib -- FILE NAME: DLMS.mib -- DATE : 2011/5/25 -- VERSION : 1.00 -- PURPOSE : To construct the MIB structure of DLMS function for -- proprietary enterprise -- ----------------------------------------------------------------------------- -- MODIFICTION HISTORY: -- ----------------------------------------------------------------------------- -- Version 1.00, 2011/5/25, Yedda Liao -- This is the first formal version for universal MIB definition. -- ----------------------------------------------------------------------------- DLMS-MIB DEFINITIONS ::= BEGIN IMPORTS MODULE-IDENTITY, OBJECT-TYPE, NOTIFICATION-TYPE FROM SNMPv2-SMI DisplayString FROM SNMPv2-TC dlink-common-mgmt FROM DLINK-ID-REC-MIB; swDlmsMIB MODULE-IDENTITY LAST-UPDATED "201105250000Z" ORGANIZATION "D-Link Corp." CONTACT-INFO "http://support.dlink.com" DESCRIPTION "The Structure of D-Link License Management System for the proprietary enterprise." ::= { dlink-common-mgmt 101 } swDlmsNotifications OBJECT IDENTIFIER ::= { swDlmsMIB 0 } swDlmsObjects OBJECT IDENTIFIER ::= { swDlmsMIB 1 } swDlmsGeneralGroup OBJECT IDENTIFIER ::= { swDlmsObjects 1 } swDlmsLicense OBJECT IDENTIFIER ::= { swDlmsObjects 2 } -- ----------------------------------------------------------------------------- -- swDlmsGeneralGroup OBJECT IDENTIFIER ::= { swDlmsObjects 1 } -- ----------------------------------------------------------------------------- swDlmsInstallAc OBJECT-TYPE SYNTAX OCTET STRING (SIZE (0..25)) MAX-ACCESS read-write STATUS current DESCRIPTION "This object is used to install an activation code." ::= { swDlmsGeneralGroup 1 } -- ----------------------------------------------------------------------------- -- swDlmsLicense OBJECT IDENTIFIER ::= { swDlmsObjects 2 } -- ----------------------------------------------------------------------------- swDlmsLicenseModelTable OBJECT-TYPE SYNTAX SEQUENCE OF SwDlmsLicenseModelEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "This table indicates License Model." ::= { swDlmsLicense 1 } swDlmsLicenseModelEntry OBJECT-TYPE SYNTAX SwDlmsLicenseModelEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "Information about a license model." INDEX { swDlmsLicenseModelName } ::= { swDlmsLicenseModelTable 1 } SwDlmsLicenseModelEntry ::= SEQUENCE { swDlmsLicenseModelName DisplayString, swDlmsLicenseModelRemaining DisplayString } swDlmsLicenseModelName OBJECT-TYPE SYNTAX DisplayString MAX-ACCESS read-only STATUS current DESCRIPTION "This object indicates the license model name." ::= { swDlmsLicenseModelEntry 1 } swDlmsLicenseModelRemaining OBJECT-TYPE SYNTAX DisplayString MAX-ACCESS read-only STATUS current DESCRIPTION "This object indicates the license remaining time." ::= { swDlmsLicenseModelEntry 2 } -- ----------------------------------------------------------------------------- swDlmsLicenseAcTable OBJECT-TYPE SYNTAX SEQUENCE OF SwDlmsLicenseAcEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "The table listing the activation codes." ::= { swDlmsLicense 2 } swDlmsLicenseAcEntry OBJECT-TYPE SYNTAX SwDlmsLicenseAcEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "A list of information indicates the activation code." INDEX { swDlmsLicenseModelName, swDlmsLicenseAc} ::= { swDlmsLicenseAcTable 1 } SwDlmsLicenseAcEntry ::= SEQUENCE { swDlmsLicenseAc OCTET STRING, swDlmsLicenseAcStatus INTEGER } swDlmsLicenseAc OBJECT-TYPE SYNTAX OCTET STRING MAX-ACCESS read-only STATUS current DESCRIPTION "This object indicates the activation code." ::= { swDlmsLicenseAcEntry 1 } swDlmsLicenseAcStatus OBJECT-TYPE SYNTAX INTEGER {active(1), expired(2)} MAX-ACCESS read-only STATUS current DESCRIPTION "This object indicates the AC status." ::= { swDlmsLicenseAcEntry 2 } -- ----------------------------------------------------------------------------- -- swDlmsNotifications OBJECT IDENTIFIER ::= { swDlmsMIB 0 } -- ----------------------------------------------------------------------------- swDlmsIllegalAc NOTIFICATION-TYPE OBJECTS { swDlmsInstallAc } STATUS current DESCRIPTION "Generated when the user inputs an illegal activation code." ::= { swDlmsNotifications 1 } swDlmsLicenseExpired NOTIFICATION-TYPE OBJECTS { swDlmsLicenseModelName, swDlmsLicenseAc } STATUS current DESCRIPTION "The notification is sent when the license is expired." ::= { swDlmsNotifications 2 } swDlmsLicenseInstallationSuccess NOTIFICATION-TYPE OBJECTS { swDlmsLicenseModelName, swDlmsInstallAc } STATUS current DESCRIPTION "The notification is sent when the license was installed successfully." ::= { swDlmsNotifications 3 } END