This repository has been archived by the owner. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 40
/
AT-LICENSE-MIB
459 lines (379 loc) · 12.2 KB
/
AT-LICENSE-MIB
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
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
-- ============================================================================
-- at-license.mib, Allied Telesis enterprise MIB:
-- License MIB for the AlliedWare Plus(tm) operating system
--
-- Copyright (c) 2008 by Allied Telesis, Inc.
-- All rights reserved.
--
-- ============================================================================
AT-LICENSE-MIB DEFINITIONS ::= BEGIN
IMPORTS
sysinfo
FROM AT-SMI-MIB
Integer32, OBJECT-TYPE, MODULE-IDENTITY
FROM SNMPv2-SMI
RowStatus, TruthValue, DisplayString
FROM SNMPv2-TC;
-- 1.3.6.1.4.1.207.8.4.4.3.22
license MODULE-IDENTITY
LAST-UPDATED "200810050000Z" -- October 5, 2008 at 00:00 GMT
ORGANIZATION
"Allied Telesis Labs New Zealand"
CONTACT-INFO
"http://www.alliedtelesis.com"
DESCRIPTION
"The license MIB, for listing applied software licenses, adding
new licenses, and deleting existing licenses."
REVISION "200810050000Z" -- October 5, 2008 at 00:00 GMT
DESCRIPTION
"Initial revision."
::= { sysinfo 22 }
-- ---------------------------------------------------------- --
-- The Base Software License Table
-- ---------------------------------------------------------- --
-- 1.3.6.1.4.1.207.8.4.4.3.22.1
baseLicenseTable OBJECT-TYPE
SYNTAX SEQUENCE OF BaseLicenseEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A table representing the installed base software licenses on the device."
::= { license 1 }
-- 1.3.6.1.4.1.207.8.4.4.3.22.1.1
baseLicenseEntry OBJECT-TYPE
SYNTAX BaseLicenseEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Each entry represents the base software license on a device."
INDEX { baseLicenseStackId }
::= { baseLicenseTable 1 }
BaseLicenseEntry ::=
SEQUENCE {
baseLicenseStackId
Integer32,
baseLicenseName
DisplayString,
baseLicenseQuantity
Integer32,
baseLicenseType
DisplayString,
baseLicenseIssueDate
DisplayString,
baseLicenseExpiryDate
DisplayString,
baseLicenseFeatures
OCTET STRING
}
-- 1.3.6.1.4.1.207.8.4.4.3.22.1.1.1
baseLicenseStackId OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The index of the base license entry."
::= { baseLicenseEntry 1 }
-- 1.3.6.1.4.1.207.8.4.4.3.22.1.1.2
baseLicenseName OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The name of the base license."
::= { baseLicenseEntry 2 }
-- 1.3.6.1.4.1.207.8.4.4.3.22.1.1.3
baseLicenseQuantity OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The number of licenses issued for this entry."
::= { baseLicenseEntry 3 }
-- 1.3.6.1.4.1.207.8.4.4.3.22.1.1.4
baseLicenseType OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The type of base license issued."
::= { baseLicenseEntry 4 }
-- 1.3.6.1.4.1.207.8.4.4.3.22.1.1.5
baseLicenseIssueDate OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The date of issue of the base license."
::= { baseLicenseEntry 5 }
-- 1.3.6.1.4.1.207.8.4.4.3.22.1.1.6
baseLicenseExpiryDate OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The date that the base license expires on."
::= { baseLicenseEntry 6 }
-- 1.3.6.1.4.1.207.8.4.4.3.22.1.1.7
baseLicenseFeatures OBJECT-TYPE
SYNTAX OCTET STRING
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The featureset that this license enables. Each bit in the returned octet
string represents a particular feature that can be license-enabled.
The bit position within the string maps to the feature entry with the
same index, in licenseFeatureTable. A binary '1' indicates that the
feature is included in the license, with a '0' indicating that it is not "
::= { baseLicenseEntry 7 }
-- ---------------------------------------------------------- --
-- The Installed Software License Table
-- ---------------------------------------------------------- --
-- 1.3.6.1.4.1.207.8.4.4.3.22.2
licenseTable OBJECT-TYPE
SYNTAX SEQUENCE OF LicenseEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A table representing the installed software licenses on the device."
::= { license 2 }
-- 1.3.6.1.4.1.207.8.4.4.3.22.2.1
licenseEntry OBJECT-TYPE
SYNTAX LicenseEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Each entry represents a single installed software license on the device."
INDEX { licenseIndex, licenseStackId }
::= { licenseTable 1 }
LicenseEntry ::=
SEQUENCE {
licenseStackId
Integer32,
licenseIndex
Integer32,
licenseName
DisplayString,
licenseCustomer
DisplayString,
licenseQuantity
Integer32,
licenseType
DisplayString,
licenseIssueDate
DisplayString,
licenseExpiryDate
DisplayString,
licenseFeatures
OCTET STRING,
licenseRowStatus
RowStatus
}
-- 1.3.6.1.4.1.207.8.4.4.3.22.2.1.1
licenseStackId OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The index of the license entry."
::= { licenseEntry 1 }
-- 1.3.6.1.4.1.207.8.4.4.3.22.2.1.2
licenseIndex OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The index of the license entry."
::= { licenseEntry 2 }
-- 1.3.6.1.4.1.207.8.4.4.3.22.2.1.3
licenseName OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The name of the license."
::= { licenseEntry 3 }
-- 1.3.6.1.4.1.207.8.4.4.3.22.2.1.4
licenseCustomer OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The name of the customer of the license."
::= { licenseEntry 4 }
-- 1.3.6.1.4.1.207.8.4.4.3.22.2.1.5
licenseQuantity OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The number of licenses issued for this entry."
::= { licenseEntry 5 }
-- 1.3.6.1.4.1.207.8.4.4.3.22.2.1.6
licenseType OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The type of license issued."
::= { licenseEntry 6 }
-- 1.3.6.1.4.1.207.8.4.4.3.22.2.1.7
licenseIssueDate OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The date of issue of the license."
::= { licenseEntry 7 }
-- 1.3.6.1.4.1.207.8.4.4.3.22.2.1.8
licenseExpiryDate OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The date that the license expires on."
::= { licenseEntry 8 }
-- 1.3.6.1.4.1.207.8.4.4.3.22.2.1.9
licenseFeatures OBJECT-TYPE
SYNTAX OCTET STRING
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The featureset that this license enables. Each bit in the returned octet
string represents a particular feature that can be license-enabled.
The bit position within the string maps to the feature entry with the
same index, in licenseFeatureTable. A binary '1' indicates that the
feature is included in the license, with a '0' indicating that it is not "
::= { licenseEntry 9 }
-- 1.3.6.1.4.1.207.8.4.4.3.22.2.1.10
licenseRowStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The current status of the license. The following values may be returned
when reading this object:
active (1) - The license is currently installed and valid.
notInService (2) - The license has expired or is invalid.
The following values may be written to this object:
destroy (6) - The license will be removed from the device -
this may result in some features being
disabled. Note that a stacked device that has a
license de-installed on it may not be able to
rejoin the stack after reboot, unless the license
is also de-installed on all other devices in the
stack."
::= { licenseEntry 10 }
-- ---------------------------------------------------------- --
-- The Available Software Features Table
-- ---------------------------------------------------------- --
-- 1.3.6.1.4.1.207.8.4.4.3.22.3
licenseFeatureTable OBJECT-TYPE
SYNTAX SEQUENCE OF LicenseFeatureEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A table of all features that must be license-enabled to be utilised on
the device."
::= { license 3 }
-- 1.3.6.1.4.1.207.8.4.4.3.22.3.1
licenseFeatureEntry OBJECT-TYPE
SYNTAX LicenseFeatureEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Each entry represents a single feature that must be license-enabled in
order to be utilised on the device."
INDEX { licenseFeatureIndex }
::= { licenseFeatureTable 1 }
LicenseFeatureEntry ::=
SEQUENCE {
licenseFeatureIndex
Integer32,
licenseFeatureName
DisplayString,
licenseFeatureStkMembers
OCTET STRING
}
-- 1.3.6.1.4.1.207.8.4.4.3.22.3.1.1
licenseFeatureIndex OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The index of the feature which must be license-enabled."
::= { licenseFeatureEntry 1 }
-- 1.3.6.1.4.1.207.8.4.4.3.22.3.1.2
licenseFeatureName OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The name of the feature under licensing control."
::= { licenseFeatureEntry 2 }
-- 1.3.6.1.4.1.207.8.4.4.3.22.3.1.3
licenseFeatureStkMembers OBJECT-TYPE
SYNTAX OCTET STRING
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"A bitmap with each bit representing an individual stacking
member. Bit one represents stacking member one etc. In the
case of a standalone unit, the first bit represents the device).
A bit value of '1' indicates that the applicable feature is
enabled on the matching device. A '0' indicates that it is
disabled."
::= { licenseFeatureEntry 3 }
-- ---------------------------------------------------------- --
-- Objects to install a new license.
-- ---------------------------------------------------------- --
licenseNew OBJECT IDENTIFIER ::= { license 4 }
-- 1.3.6.1.4.1.207.8.4.4.3.22.4.1
licenseNewStackId OBJECT-TYPE
SYNTAX Integer32 (1..10)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The ID of the stacking member upon which the new license is to
be installed. For a standalone unit, this should be set to the
default value of 1"
::= { licenseNew 1 }
-- 1.3.6.1.4.1.207.8.4.4.3.22.4.2
licenseNewName OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The name of the new license to be installed."
::= { licenseNew 2 }
-- 1.3.6.1.4.1.207.8.4.4.3.22.4.3
licenseNewKey OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The key for the new license to be installed."
::= { licenseNew 3 }
-- 1.3.6.1.4.1.207.8.4.4.3.22.4.4
licenseNewInstall OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object is used to install a new software license on the
device. To commence installation, a valid license name and key
must first have been set via the licenseNewName and
licenseNewKey objects respectively. This object should then be
set to the value true(1). If either the license name or key is
invalid, the write operation shall fail.
Once installed, the software modules affected by any newly
enabled features will automatically be restarted. In some cases
a system reboot will also be necessary. Note that a stacked device
that has a new license installed on it may not be able to rejoin the
stack after reboot, unless the license is also added to all other
devices in the stack.
When read, the object shall always return false(2)."
::= { licenseNew 4 }
END
--
-- at-license.mib
--