summaryrefslogtreecommitdiff
path: root/MIBS/bluecatnetworks/BCN-LICENSE-MIB
blob: aab13eabfb535115c64b480acd1143995d49a0a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
-- Copyright 2017 BlueCat Networks. All rights reserved.
-- *****************************************************************
-- BCN-LICENSE-MIB.mib:  BlueCat Networks License services
--
--
-- December 2010, Fabian Ischia
--
-- All rights reserved.
-- 
-- *****************************************************************

BCN-LICENSE-MIB DEFINITIONS ::= BEGIN

IMPORTS
    MODULE-IDENTITY, NOTIFICATION-TYPE, OBJECT-IDENTITY,
    OBJECT-TYPE, Unsigned32
        FROM SNMPv2-SMI
    DisplayString, TruthValue, DateAndTime
        FROM SNMPv2-TC
    OBJECT-GROUP, MODULE-COMPLIANCE, NOTIFICATION-GROUP
        FROM SNMPv2-CONF
    BcnAlarmSeverity
        FROM BCN-TC-MIB
    bcnServices
        FROM BCN-SMI-MIB;

bcnLicenseMIB MODULE-IDENTITY
    LAST-UPDATED	"201011301200Z"
    ORGANIZATION	"BlueCat Networks"
    CONTACT-INFO
        "BlueCat Networks. Customer Care.

        North America
        Call: +1.866.491.2228
        Europe
        Call: +44.8081.011.306
        Other
        Call: +1.416.646.8433
        
        Email: support@bluecatnetworks.com"
    DESCRIPTION
        "This module provides information and status about features that
         are licensed to run on the system."
    REVISION "201011301200Z"
    DESCRIPTION
        "Initial version of this MIB module."
    ::= { bcnLicense 1 }

bcnLicense OBJECT IDENTIFIER  ::= { bcnServices 6 }

-- Organization

bcnLicenseObjects OBJECT IDENTIFIER 
    ::= { bcnLicense 2 }

bcnLicenseNotification OBJECT IDENTIFIER 
    ::= { bcnLicense 3 }

bcnLicenseConformance OBJECT IDENTIFIER 
    ::= { bcnLicense 4 }


-- Data objects

bcnLicenseInformation OBJECT-IDENTITY
    STATUS current
    DESCRIPTION
        "General state of the License Service."
    ::= { bcnLicenseObjects 1 }

bcnLicenseTable OBJECT-TYPE
    SYNTAX      SEQUENCE OF BcnLicenseEntry
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
        "This table keeps the information about the licenses installed"
    ::= { bcnLicenseInformation 2 }

bcnLicenseEntry OBJECT-TYPE
    SYNTAX      BcnLicenseEntry
    MAX-ACCESS  not-accessible
    STATUS      current
	DESCRIPTION "A logical row in the bcnLicenseTable."
    INDEX { bcnLicenseTableIndex }
    ::= { bcnLicenseTable 1 }

BcnLicenseEntry ::=
    SEQUENCE {
        bcnLicenseTableIndex          Unsigned32,
        bcnLicenseType                INTEGER,
        bcnLicenseDescription         DisplayString,
        bcnLicenseInstalled           DateAndTime,
        bcnLicenseExpiry              DateAndTime,
        bcnLicenseGracePeriod         Unsigned32,
        bcnLicenseValid               TruthValue,
        bcnLicenseItemsGranted        Unsigned32,
        bcnLicenseItemsUsed           Unsigned32
    }

bcnLicenseTableIndex OBJECT-TYPE
    SYNTAX      Unsigned32
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
       "A unique running value greater than 0, used as index into the
       table. The values of this index are assigned contiguously
       starting normally from 1."
    ::= { bcnLicenseEntry 1 }

bcnLicenseType OBJECT-TYPE
    SYNTAX      INTEGER {
      singleServer(1),
      multiServer(2)
    }
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
        "Type of license. The possible states are:
        singleServer(1)  The license affects a single server, normally the
                         server in which it is installed.
        multiServer(2)   The license affects multiple servers. This is common
                         for licenses that limit managed units.
        "
    ::= { bcnLicenseEntry 2 }

bcnLicenseDescription OBJECT-TYPE
    SYNTAX      DisplayString
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
       "A text value describing the type of license installed."
    ::= { bcnLicenseEntry 3 }

bcnLicenseInstalled OBJECT-TYPE
    SYNTAX      DateAndTime
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
       "The date when the license was installedon the system."
    ::= { bcnLicenseEntry 4 }

bcnLicenseExpiry OBJECT-TYPE
    SYNTAX      DateAndTime
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
       "The expiration date for the license."
    ::= { bcnLicenseEntry 5 }

bcnLicenseGracePeriod OBJECT-TYPE
    SYNTAX      Unsigned32
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
       "Number of days after the license has expired the functionality
       will continue to work. In case this is not applicable the value
       is 0."
    ::= { bcnLicenseEntry 6 }

bcnLicenseValid OBJECT-TYPE
    SYNTAX      TruthValue
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
       "Number of days after the license has expired the functionality
       will continue to work. In case this is not applicable the value
       is 0."
    ::= { bcnLicenseEntry 7 }

bcnLicenseItemsGranted OBJECT-TYPE
    SYNTAX      Unsigned32
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
       "Number of items granted with this license. On a multiServer license
        this is normally the number of units allowed to be managed under
        this license. On a singleServer license, this value is undefined.
        If the license is of type multiServer and bcnLicenseItemsGranted
        is zero, that indicates that the license is unlimited."
    ::= { bcnLicenseEntry 8 }

bcnLicenseItemsUsed OBJECT-TYPE
    SYNTAX      Unsigned32
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
       "Number of items consumed under this license. On a multiServer
        license this is the number of units that have already been allocated.
        On a singleServer license, this value is undefined."
    ::= { bcnLicenseEntry 9 }

-- Notification definitions

bcnLicenseNotificationEvents OBJECT IDENTIFIER 
    ::= { bcnLicenseNotification 0 }

bcnLicenseNotificationData OBJECT IDENTIFIER 
    ::= { bcnLicenseNotification 1 }

-- Notification data

bcnLicenseAlarmSeverity OBJECT-TYPE
    SYNTAX          BcnAlarmSeverity
    MAX-ACCESS      accessible-for-notify
    STATUS          current
    DESCRIPTION
        "Severity classification for the alarm."
    ::= { bcnLicenseNotificationData 1 }


-- Notification events

bcnLicenseExpiryNotif NOTIFICATION-TYPE
    OBJECTS {   
                bcnLicenseType,
                bcnLicenseAlarmSeverity,
                bcnLicenseExpiry,
                bcnLicenseGracePeriod,
                bcnLicenseValid
            }
    STATUS          current
    DESCRIPTION
        "A bcnLicenseAlarmNotif signifies that the License service has transitioned
        state or a particular event has been detected on the service."
   ::= { bcnLicenseNotificationEvents 1 }

-- Conformance

bcnLicenseServiceCompliances OBJECT IDENTIFIER 
    ::= { bcnLicenseConformance 1 }

bcnLicenseServiceGroups OBJECT IDENTIFIER 
    ::= { bcnLicenseConformance 2 }


bcnLicenseServiceStatusGroup OBJECT-GROUP
    OBJECTS { 
        bcnLicenseType,
        bcnLicenseDescription,
        bcnLicenseInstalled,
        bcnLicenseExpiry,
        bcnLicenseGracePeriod,
        bcnLicenseValid,
        bcnLicenseItemsGranted,
        bcnLicenseItemsUsed
    }
    STATUS current
    DESCRIPTION "Status conformance."
    ::= { bcnLicenseServiceGroups 1 }


bcnLicenseNotificationEventGroup NOTIFICATION-GROUP
    NOTIFICATIONS { 
          bcnLicenseExpiryNotif
    }
    STATUS current
    DESCRIPTION "Server statistics conformance."
    ::= { bcnLicenseServiceGroups 2 }

bcnLicenseNotificationDataGroup OBJECT-GROUP
    OBJECTS { 
          bcnLicenseAlarmSeverity
    }
    STATUS current
    DESCRIPTION "Server statistics conformance."
    ::= { bcnLicenseServiceGroups 3 }


bcnLicenseStatusCompliance MODULE-COMPLIANCE
    STATUS current
    DESCRIPTION "Basic conformance"
    MODULE -- This module
    MANDATORY-GROUPS {
        bcnLicenseServiceStatusGroup,
        bcnLicenseNotificationEventGroup, 
        bcnLicenseNotificationDataGroup }
    ::= {bcnLicenseServiceCompliances 1 }


END