1 LIBSMI-TEST-011-MIB DEFINITIONS ::= BEGIN
4 MODULE-IDENTITY, OBJECT-TYPE, NOTIFICATION-TYPE,
5 OBJECT-IDENTITY, Integer32
9 OBJECT-GROUP, NOTIFICATION-GROUP
14 libsmiTest011Mib MODULE-IDENTITY
15 LAST-UPDATED "200007051000Z"
21 Postal: TU Braunschweig
26 Phone: +49 531 391-3283
27 EMail: strauss@ibr.cs.tu-bs.de
28 http://www.ibr.cs.tu-bs.de/~strauss/"
30 "This MIB module contains one or more intentional errors,
31 and/or unusual contents. Its only purpose is to check
32 the abilities of MIB parsers to detect these circumstances.
34 This MIB module is orginally written in SMIv2 format.
36 This module checks the proper handling of forward references.
38 The libsmi parser is expected to report:
39 LIBSMI-TEST-011-MIB:91: warning: exactly one index element of row `testEntry' must be accessible
40 LIBSMI-TEST-011-MIB:54: warning: current group `group1' is not referenced in this module
41 LIBSMI-TEST-011-MIB:61: warning: current group `group2' is not referenced in this module
43 REVISION "200007051000Z"
49 -- The following definitions are just written down in reverse order
50 -- than usual. The parser should not have any problems to deal with
55 OBJECTS { testScalar1 }
61 group2 NOTIFICATION-GROUP
62 NOTIFICATIONS { testNotification1 }
68 testNotification1 NOTIFICATION-TYPE
69 OBJECTS { testScalar1 }
73 ::= { testNotifications 1 }
75 testScalar1 OBJECT-TYPE
80 "Invalid size restriction on an enumeration."
83 testColumn1 OBJECT-TYPE
84 SYNTAX Integer32 (0..32)
85 MAX-ACCESS not-accessible
93 MAX-ACCESS not-accessible
100 testTable OBJECT-TYPE
101 SYNTAX SEQUENCE OF TestEntry
102 MAX-ACCESS not-accessible
106 ::= { testObjects 2 }
108 TestEntry ::= SEQUENCE {
109 testColumn1 Integer32
112 TestTc1 ::= TEXTUAL-CONVENTION
116 SYNTAX INTEGER { red(1), green(2), blue(3) }
118 textConst1 OBJECT-IDENTITY
122 ::= { testConstants 1 }
124 testConstants OBJECT IDENTIFIER ::= { testDefinitions 3 }
125 testGroups OBJECT IDENTIFIER ::= { testDefinitions 2 }
126 testObjects OBJECT IDENTIFIER ::= { testDefinitions 1 }
127 testNotifications OBJECT IDENTIFIER ::= { testDefinitions 0 }
129 testDefinitions OBJECT IDENTIFIER ::= { libsmiTest011Mib 1 }