| 1 |
LIBSMI-TEST-012-MIB DEFINITIONS ::= BEGIN |
| 2 |
|
| 3 |
IMPORTS |
| 4 |
MODULE-IDENTITY, OBJECT-TYPE |
| 5 |
FROM SNMPv2-SMI |
| 6 |
TEXTUAL-CONVENTION |
| 7 |
FROM SNMPv2-TC |
| 8 |
OBJECT-GROUP |
| 9 |
FROM SNMPv2-CONF |
| 10 |
testMib |
| 11 |
FROM LIBSMI-TEST-MIB; |
| 12 |
|
| 13 |
libsmiTest012Mib MODULE-IDENTITY |
| 14 |
LAST-UPDATED "200011080000Z" |
| 15 |
ORGANIZATION |
| 16 |
"TU Braunschweig" |
| 17 |
CONTACT-INFO |
| 18 |
" Frank Strauss |
| 19 |
|
| 20 |
Postal: TU Braunschweig |
| 21 |
Bueltenweg 74/75 |
| 22 |
38106 Braunschweig |
| 23 |
Germany |
| 24 |
|
| 25 |
Phone: +49 531 391-3283 |
| 26 |
EMail: [email protected] |
| 27 |
http://www.ibr.cs.tu-bs.de/~strauss/" |
| 28 |
DESCRIPTION |
| 29 |
"This MIB module contains one or more intentional errors, |
| 30 |
and/or unusual contents. Its only purpose is to check |
| 31 |
the abilities of MIB parsers to detect these circumstances. |
| 32 |
|
| 33 |
This MIB module is orginally written in SMIv2 format. |
| 34 |
|
| 35 |
This module checks for illegal underscore characters in |
| 36 |
identifiers. |
| 37 |
|
| 38 |
The libsmi parser is expected to report: |
| 39 |
LIBSMI-TEST-012-MIB:50: identifier `Foo_Bar' must not contain an underscore |
| 40 |
LIBSMI-TEST-012-MIB:56: identifier `bar_foo' must not contain an underscore |
| 41 |
LIBSMI-TEST-012-MIB:65: identifier `bar_foo' must not contain an underscore |
| 42 |
LIBSMI-TEST-012-MIB:64: warning: current group `barFooGroup' is not referenced in this module |
| 43 |
LIBSMI-TEST-012-MIB:50: warning: current type `Foo_Bar' is not referenced in this module |
| 44 |
" |
| 45 |
REVISION "200011080000Z" |
| 46 |
DESCRIPTION |
| 47 |
"Initial Revision." |
| 48 |
::= { testMib 12 } |
| 49 |
|
| 50 |
Foo_Bar ::= TEXTUAL-CONVENTION |
| 51 |
STATUS current |
| 52 |
DESCRIPTION |
| 53 |
"junk" |
| 54 |
SYNTAX OBJECT IDENTIFIER |
| 55 |
|
| 56 |
bar_foo OBJECT-TYPE |
| 57 |
SYNTAX OBJECT IDENTIFIER |
| 58 |
MAX-ACCESS read-only |
| 59 |
STATUS current |
| 60 |
DESCRIPTION |
| 61 |
"junk" |
| 62 |
::= { libsmiTest012Mib 1 } |
| 63 |
|
| 64 |
barFooGroup OBJECT-GROUP |
| 65 |
OBJECTS { bar_foo } |
| 66 |
STATUS current |
| 67 |
DESCRIPTION |
| 68 |
"junk" |
| 69 |
::= { libsmiTest012Mib 2 } |
| 70 |
|
| 71 |
END |