| 1 |
LIBSMI-TEST-013-MIB DEFINITIONS ::= BEGIN |
| 2 |
|
| 3 |
IMPORTS |
| 4 |
MODULE-IDENTITY, Integer32 |
| 5 |
FROM SNMPv2-SMI |
| 6 |
TEXTUAL-CONVENTION |
| 7 |
FROM SNMPv2-TC |
| 8 |
testMib |
| 9 |
FROM LIBSMI-TEST-MIB; |
| 10 |
|
| 11 |
libsmiTest013Mib MODULE-IDENTITY |
| 12 |
LAST-UPDATED "200109270000Z" |
| 13 |
ORGANIZATION |
| 14 |
"TU Braunschweig" |
| 15 |
CONTACT-INFO |
| 16 |
" Frank Strauss |
| 17 |
|
| 18 |
Postal: TU Braunschweig |
| 19 |
Muehlenpfordtstrasse 23 |
| 20 |
38106 Braunschweig |
| 21 |
Germany |
| 22 |
|
| 23 |
Phone: +49 531 391-3283 |
| 24 |
EMail: [email protected] |
| 25 |
http://www.ibr.cs.tu-bs.de/~strauss/" |
| 26 |
DESCRIPTION |
| 27 |
"This MIB module contains one or more intentional errors, |
| 28 |
and/or unusual contents. Its only purpose is to check |
| 29 |
the abilities of MIB parsers to detect these circumstances. |
| 30 |
|
| 31 |
This MIB module is orginally written in SMIv2 format. |
| 32 |
|
| 33 |
This module checks for range normalization, thus there are |
| 34 |
no errors expected for this module. However the parser might |
| 35 |
complain about ranges not being in ascending order. |
| 36 |
|
| 37 |
The libsmi parser is expected to report: |
| 38 |
LIBSMI-TEST-013-MIB:70: warning: ranges not in ascending order |
| 39 |
LIBSMI-TEST-013-MIB:70: warning: ranges not in ascending order |
| 40 |
LIBSMI-TEST-013-MIB:84: warning: ranges not in ascending order |
| 41 |
LIBSMI-TEST-013-MIB:91: warning: ranges not in ascending order |
| 42 |
LIBSMI-TEST-013-MIB:58: warning: current type `RangeType1' is not referenced in this module |
| 43 |
LIBSMI-TEST-013-MIB:58: warning: type `RangeType1' has no format specification |
| 44 |
LIBSMI-TEST-013-MIB:65: warning: current type `RangeType2' is not referenced in this module |
| 45 |
LIBSMI-TEST-013-MIB:65: warning: type `RangeType2' has no format specification |
| 46 |
LIBSMI-TEST-013-MIB:72: warning: current type `RangeType3' is not referenced in this module |
| 47 |
LIBSMI-TEST-013-MIB:72: warning: type `RangeType3' has no format specification |
| 48 |
LIBSMI-TEST-013-MIB:79: warning: current type `RangeType4' is not referenced in this module |
| 49 |
LIBSMI-TEST-013-MIB:79: warning: type `RangeType4' has no format specification |
| 50 |
LIBSMI-TEST-013-MIB:86: warning: current type `RangeType5' is not referenced in this module |
| 51 |
LIBSMI-TEST-013-MIB:86: warning: type `RangeType5' has no format specification |
| 52 |
" |
| 53 |
REVISION "200109270000Z" |
| 54 |
DESCRIPTION |
| 55 |
"Initial Revision." |
| 56 |
::= { testMib 13 } |
| 57 |
|
| 58 |
RangeType1 ::= TEXTUAL-CONVENTION |
| 59 |
STATUS current |
| 60 |
DESCRIPTION |
| 61 |
"The ranges of this type are expected to be normalized |
| 62 |
to (1..3|5..6)." |
| 63 |
SYNTAX Integer32 (1|2|3|5|6) |
| 64 |
|
| 65 |
RangeType2 ::= TEXTUAL-CONVENTION |
| 66 |
STATUS current |
| 67 |
DESCRIPTION |
| 68 |
"The ranges of this type are expected to be normalized |
| 69 |
to (1..3)." |
| 70 |
SYNTAX Integer32 (3|2|1) |
| 71 |
|
| 72 |
RangeType3 ::= TEXTUAL-CONVENTION |
| 73 |
STATUS current |
| 74 |
DESCRIPTION |
| 75 |
"The ranges of this type are expected to be normalized |
| 76 |
to (1..5)." |
| 77 |
SYNTAX Integer32 (1..3|4..5) |
| 78 |
|
| 79 |
RangeType4 ::= TEXTUAL-CONVENTION |
| 80 |
STATUS current |
| 81 |
DESCRIPTION |
| 82 |
"The ranges of this type are expected to be normalized |
| 83 |
to (1..5)." |
| 84 |
SYNTAX Integer32 (4..5|1..3) |
| 85 |
|
| 86 |
RangeType5 ::= TEXTUAL-CONVENTION |
| 87 |
STATUS current |
| 88 |
DESCRIPTION |
| 89 |
"The ranges of this type are expected to be normalized |
| 90 |
to (1..3|5..6)." |
| 91 |
SYNTAX Integer32 (5..6|1..3) |
| 92 |
|
| 93 |
END |