aboutsummaryrefslogtreecommitdiffstats
path: root/lib/snmp/test/snmp_test_data/Test1.mib
blob: d324b1f1e743a56a843dc1695b4d3791ee664b84 (plain) (blame)
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
Test1 DEFINITIONS ::= BEGIN

IMPORTS
    MODULE-IDENTITY, OBJECT-TYPE, NOTIFICATION-TYPE,
    TimeTicks, Counter32, snmpModules, mib-2, enterprises, IpAddress,
    Integer32, Counter64, Opaque
        FROM SNMPv2-SMI
    DisplayString, TestAndIncr, TimeStamp, RowStatus, TruthValue,
    TEXTUAL-CONVENTION
        FROM SNMPv2-TC
    MODULE-COMPLIANCE, OBJECT-GROUP, NOTIFICATION-GROUP
        FROM SNMPv2-CONF
    sysLocation, sysContact
	FROM SNMPv2-MIB
    ;

snmpMIB MODULE-IDENTITY
    LAST-UPDATED "9511090000Z"
    ORGANIZATION ""
    CONTACT-INFO
	""
    DESCRIPTION
            "Test mib"
    ::= { snmpModules 1 }


test   OBJECT IDENTIFIER ::= { mib-2 15 }
testTrap OBJECT IDENTIFIER ::= { test 0 }

bits1 OBJECT-TYPE
    SYNTAX      BITS { b0(0), b1(1), b2(2) }
    MAX-ACCESS  read-write
    STATUS      current
    DESCRIPTION
	""
    ::= { test 1 }

bits2 OBJECT-TYPE
    SYNTAX      BITS { b0(0), b1(1), b2(2), b3(3), b4(4), b5(5), b6(6), b7(7),
        b8(8), b9(9), b10(10), b11(11), b12(12), b13(13), b14(14), b15(15) }	
    MAX-ACCESS  read-write
    STATUS      current
    DESCRIPTION
	""
    ::= { test 2 }

bits3 OBJECT-TYPE
    SYNTAX      BITS { b0(0), b1(1), b2(2) }
    MAX-ACCESS  read-write
    STATUS      current
    DESCRIPTION
	""
    ::= { test 3 }

bits4 OBJECT-TYPE
    SYNTAX      BITS { b0(0), b1(1), b2(2) }
    MAX-ACCESS  read-write
    STATUS      current
    DESCRIPTION
	""
    ::= { test 4 }

testTable OBJECT-TYPE
    SYNTAX     SEQUENCE OF TestEntry
   MAX-ACCESS not-accessible
    STATUS     current
    DESCRIPTION
         "Used to test IMPLIED with one string."
    ::= { test 5 }

testEntry OBJECT-TYPE
    SYNTAX     TestEntry
    MAX-ACCESS not-accessible
    STATUS     current
    DESCRIPTION
            "An entry (conceptual row) in the sysORTable."
    INDEX      { IMPLIED testIndex }
    ::= { testTable 1 }

TestEntry ::= SEQUENCE {
    testIndex      DisplayString,
    testDescr      DisplayString,
    testStatus     RowStatus
}

testIndex OBJECT-TYPE
    SYNTAX     DisplayString
    MAX-ACCESS not-accessible
    STATUS     current
    DESCRIPTION
            "The auxiliary variable used for identifying instances of
            the columnar objects in the sysORTable."
    ::= { testEntry 1 }

testDescr OBJECT-TYPE
    SYNTAX     DisplayString
    MAX-ACCESS read-create
    STATUS     current
    DESCRIPTION
            "A textual description of the capabilities identified by the
            corresponding instance of sysORID."
    ::= { testEntry 2 }
testStatus OBJECT-TYPE
    SYNTAX      RowStatus
    MAX-ACCESS  read-create
    STATUS      current
    DESCRIPTION
            "The status of this conceptual row."
    ::= { testEntry 3 }


testTable2 OBJECT-TYPE
    SYNTAX     SEQUENCE OF TestEntry2
   MAX-ACCESS not-accessible
    STATUS     current
    DESCRIPTION
	"Used to test IMPLIED with more than one index."
    ::= { test 6 }

testEntry2 OBJECT-TYPE
    SYNTAX     TestEntry2
    MAX-ACCESS not-accessible
    STATUS     current
    DESCRIPTION
            "An entry (conceptual row) in the sysORTable."
    INDEX      { testIndex1, IMPLIED testIndex2 }
    ::= { testTable2 1 }

TestEntry2 ::= SEQUENCE {
    testIndex1      Integer32,
    testIndex2      DisplayString,
    testDescr2      DisplayString,
    testStatus2     RowStatus
}

testIndex1 OBJECT-TYPE
    SYNTAX     Integer32
    MAX-ACCESS not-accessible
    STATUS     current
    DESCRIPTION
            "The auxiliary variable used for identifying instances of
            the columnar objects in the sysORTable."
    ::= { testEntry2 1 }

testIndex2 OBJECT-TYPE
    SYNTAX     DisplayString
    MAX-ACCESS not-accessible
    STATUS     current
    DESCRIPTION
            "The auxiliary variable used for identifying instances of
            the columnar objects in the sysORTable."
    ::= { testEntry2 2 }

testDescr2 OBJECT-TYPE
    SYNTAX     DisplayString
    MAX-ACCESS read-create
    STATUS     current
    DESCRIPTION
            "A textual description of the capabilities identified by the
            corresponding instance of sysORID."
    ::= { testEntry2 3 }

testStatus2 OBJECT-TYPE
    SYNTAX      RowStatus
    MAX-ACCESS  read-create
    STATUS      current
    DESCRIPTION
            "The status of this conceptual row."
    ::= { testEntry2 4 }

sparseTable OBJECT-TYPE
    SYNTAX     SEQUENCE OF SparseEntry
   MAX-ACCESS not-accessible
    STATUS     current
    DESCRIPTION
	"Used to test sparse table"
    ::= { test 7 }

sparseEntry OBJECT-TYPE
    SYNTAX     SparseEntry
    MAX-ACCESS not-accessible
    STATUS     current
    DESCRIPTION
            "An entry (conceptual row) in the sysORTable."
    INDEX      { sparseIndex }
    ::= { sparseTable 1 }

SparseEntry ::= SEQUENCE {
    sparseIndex      Integer32,
    sparseObj        DisplayString,
    sparseObj2       DisplayString,
    sparseDescr      DisplayString,
    sparseStatus     RowStatus
}

sparseIndex OBJECT-TYPE
    SYNTAX     Integer32
    MAX-ACCESS not-accessible
    STATUS     current
    DESCRIPTION
            "The auxiliary variable used for identifying instances of
            the columnar objects in the sysORTable."
    ::= { sparseEntry 1 }

sparseObj OBJECT-TYPE
    SYNTAX     DisplayString
    MAX-ACCESS not-accessible
    STATUS     obsolete
    DESCRIPTION
            "The auxiliary variable used for identifying instances of
            the columnar objects in the sysORTable."
    ::= { sparseEntry 2 }

sparseObj2 OBJECT-TYPE
    SYNTAX     DisplayString
    MAX-ACCESS not-accessible
    STATUS     deprecated
    DESCRIPTION
            "The auxiliary variable used for identifying instances of
            the columnar objects in the sysORTable."
    ::= { sparseEntry 3 }

sparseDescr OBJECT-TYPE
    SYNTAX     DisplayString
    MAX-ACCESS read-create
    STATUS     current
    DESCRIPTION
            "A textual description of the capabilities identified by the
            corresponding instance of sysORID."
    ::= { sparseEntry 4 }

sparseStatus OBJECT-TYPE
    SYNTAX      RowStatus
    MAX-ACCESS  read-create
    STATUS      current
    DESCRIPTION
            "The status of this conceptual row."
    ::= { sparseEntry 6 }

sparseStr OBJECT-TYPE
    SYNTAX     DisplayString
    MAX-ACCESS read-create
    STATUS     current
    DESCRIPTION
            "A textual description of the capabilities identified by the
            corresponding instance of sysORID."
    DEFVAL { "slut" }
    ::= { test 8 }

cntTable OBJECT-TYPE
    SYNTAX     SEQUENCE OF CntEntry
   MAX-ACCESS not-accessible
    STATUS     current
    DESCRIPTION
	""
    ::= { test 9 }

cntEntry OBJECT-TYPE
    SYNTAX     CntEntry
    MAX-ACCESS not-accessible
    STATUS     current
    DESCRIPTION
            "An entry (conceptual row) in the sysORTable."
    INDEX      { cntIndex }
    ::= { cntTable 1 }

CntEntry ::= SEQUENCE {
    cntIndex      Integer32,
    cntCnt        Counter64,
    cntStatus     RowStatus,
    cntDescr      DisplayString
}

cntIndex OBJECT-TYPE
    SYNTAX     Integer32
    MAX-ACCESS not-accessible
    STATUS     current
    DESCRIPTION
            "The auxiliary variable used for identifying instances of
            the columnar objects in the sysORTable."
    ::= { cntEntry 1 }

cntCnt OBJECT-TYPE
    SYNTAX      Counter64
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
            "Counter64 object - not visible in v1"
    DEFVAL { 0 }
    ::= { cntEntry 5 }

cntStatus OBJECT-TYPE
    SYNTAX      RowStatus
    MAX-ACCESS  read-create
    STATUS      current
    DESCRIPTION
            "The status of this conceptual row."
    ::= { cntEntry 7 }

cntDescr OBJECT-TYPE
    SYNTAX     DisplayString
    MAX-ACCESS read-only
    STATUS     current
    DESCRIPTION
            "A textual description of the capabilities identified by the
            corresponding instance of sysORID."
    DEFVAL { "descr" }
    ::= { cntEntry 8 }

cntStr OBJECT-TYPE
    SYNTAX     DisplayString
    MAX-ACCESS read-create
    STATUS     current
    DESCRIPTION
            "A textual description of the capabilities identified by the
            corresponding instance of sysORID."
    DEFVAL { "slut" }
    ::= { test 10 }

cnt64 OBJECT-TYPE
    SYNTAX     Counter64
    MAX-ACCESS read-only
    STATUS     current
    DESCRIPTION
            "not visible in v1"
    ::= { test 11 }

cnt64Str OBJECT-TYPE
    SYNTAX     DisplayString
    MAX-ACCESS read-only
    STATUS     current
    DESCRIPTION
            "Used to stop get-next from cnt64"
    DEFVAL { "after cnt64" }
    ::= { test 12 }

opaqueObj OBJECT-TYPE
    SYNTAX     Opaque
    MAX-ACCESS read-only
    STATUS     current
    DESCRIPTION
            "A textual description of the capabilities identified by the
            corresponding instance of sysORID."
    ::= { test 13 }

multiStr OBJECT-TYPE
    SYNTAX     DisplayString
    MAX-ACCESS read-write
    STATUS     current
    DESCRIPTION
            "Used to block agent for testing multi threaded impl"
    DEFVAL { "no" }
    ::= { test 14 }


cntTrap NOTIFICATION-TYPE
       OBJECTS { sysContact, cnt64, sysLocation }
       STATUS  current
       DESCRIPTION
               "Test that coutner64 is deleted from v1 trap"
       ::= { testTrap 1 }

mtTrap NOTIFICATION-TYPE
    OBJECTS { multiStr }
    STATUS  current
    DESCRIPTION
            ""
    ::= { testTrap 2 }

END