| 1 |
LIBSMI-TEST-017-MIB DEFINITIONS ::= BEGIN |
| 2 |
|
| 3 |
IMPORTS |
| 4 |
MODULE-IDENTITY, OBJECT-TYPE, Integer32 |
| 5 |
FROM SNMPv2-SMI |
| 6 |
TransportAddress, TransportAddressIPv6z, |
| 7 |
TransportAddressType, TransportDomain |
| 8 |
FROM TRANSPORT-ADDRESS-MIB |
| 9 |
testMib |
| 10 |
FROM LIBSMI-TEST-MIB; |
| 11 |
|
| 12 |
libsmiTest017Mib MODULE-IDENTITY |
| 13 |
LAST-UPDATED "200211190000Z" |
| 14 |
ORGANIZATION |
| 15 |
"TU Braunschweig" |
| 16 |
CONTACT-INFO |
| 17 |
" Frank Strauss |
| 18 |
|
| 19 |
Postal: TU Braunschweig |
| 20 |
Muehlenpfordtstrasse 23 |
| 21 |
38106 Braunschweig |
| 22 |
Germany |
| 23 |
|
| 24 |
Phone: +49 531 391-3283 |
| 25 |
EMail: [email protected] |
| 26 |
http://www.ibr.cs.tu-bs.de/~strauss/" |
| 27 |
DESCRIPTION |
| 28 |
"This MIB module contains one or more intentional errors, |
| 29 |
and/or unusual contents. Its only purpose is to check |
| 30 |
the abilities of MIB parsers to detect these circumstances. |
| 31 |
|
| 32 |
This MIB module is orginally written in SMIv2 format. |
| 33 |
|
| 34 |
This module checks for rules concerning Internet Address |
| 35 |
TC as defined in RFC 3291. |
| 36 |
|
| 37 |
The libsmi parser is expected to report: |
| 38 |
LIBSMI-TEST-017-MIB:189: warning: SEQUENCE element #2 `t4AddrType' does not match order of columnar objects under `t4Entry' |
| 39 |
LIBSMI-TEST-017-MIB:93: warning: node `t1Data' must be contained in at least one conformance group |
| 40 |
LIBSMI-TEST-017-MIB:129: warning: node `t2Data' must be contained in at least one conformance group |
| 41 |
LIBSMI-TEST-017-MIB:165: warning: node `t3Data' must be contained in at least one conformance group |
| 42 |
LIBSMI-TEST-017-MIB:210: warning: node `t4AddrType' must be contained in at least one conformance group |
| 43 |
LIBSMI-TEST-017-MIB:203: warning: node `t4Addr' must be contained in at least one conformance group |
| 44 |
LIBSMI-TEST-017-MIB:217: warning: node `t4AddrIPv6z' must be contained in at least one conformance group |
| 45 |
LIBSMI-TEST-017-MIB:254: warning: node `t5Domain' must be contained in at least one conformance group |
| 46 |
LIBSMI-TEST-017-MIB:261: warning: node `t5Addr' must be contained in at least one conformance group |
| 47 |
LIBSMI-TEST-017-MIB:210: warning: `TransportAddressType' should not be subtyped |
| 48 |
LIBSMI-TEST-017-MIB:203: warning: `TransportAddress' object should have an accompanied preceding `TransportAdressType' or `TransportDomain' object |
| 49 |
LIBSMI-TEST-017-MIB:217: warning: `TransportAddress' should be used instead of `TransportAddressIPv6z' |
| 50 |
" |
| 51 |
REVISION "200211190000Z" |
| 52 |
DESCRIPTION |
| 53 |
"Initial Revision." |
| 54 |
::= { testMib 17 } |
| 55 |
|
| 56 |
-- test case 1 |
| 57 |
|
| 58 |
t1Table OBJECT-TYPE |
| 59 |
SYNTAX SEQUENCE OF T1Entry |
| 60 |
MAX-ACCESS not-accessible |
| 61 |
STATUS current |
| 62 |
DESCRIPTION "..." |
| 63 |
::= { libsmiTest017Mib 1 } |
| 64 |
|
| 65 |
t1Entry OBJECT-TYPE |
| 66 |
SYNTAX T1Entry |
| 67 |
MAX-ACCESS not-accessible |
| 68 |
STATUS current |
| 69 |
DESCRIPTION "..." |
| 70 |
INDEX { t1AddrType } |
| 71 |
::= { t1Table 1 } |
| 72 |
|
| 73 |
T1Entry ::= SEQUENCE { |
| 74 |
t1AddrType TransportAddressType, |
| 75 |
t1Addr TransportAddress, |
| 76 |
t1Data Integer32 |
| 77 |
} |
| 78 |
|
| 79 |
t1AddrType OBJECT-TYPE |
| 80 |
SYNTAX TransportAddressType |
| 81 |
MAX-ACCESS not-accessible |
| 82 |
STATUS current |
| 83 |
DESCRIPTION "..." |
| 84 |
::= { t1Entry 1 } |
| 85 |
|
| 86 |
t1Addr OBJECT-TYPE |
| 87 |
SYNTAX TransportAddress (SIZE (0..32)) |
| 88 |
MAX-ACCESS not-accessible |
| 89 |
STATUS current |
| 90 |
DESCRIPTION "..." |
| 91 |
::= { t1Entry 2 } |
| 92 |
|
| 93 |
t1Data OBJECT-TYPE |
| 94 |
SYNTAX Integer32 |
| 95 |
MAX-ACCESS read-only |
| 96 |
STATUS current |
| 97 |
DESCRIPTION "..." |
| 98 |
::= { t1Entry 3 } |
| 99 |
|
| 100 |
-- test case 2 |
| 101 |
|
| 102 |
t2Table OBJECT-TYPE |
| 103 |
SYNTAX SEQUENCE OF T2Entry |
| 104 |
MAX-ACCESS not-accessible |
| 105 |
STATUS current |
| 106 |
DESCRIPTION "..." |
| 107 |
::= { libsmiTest017Mib 2 } |
| 108 |
|
| 109 |
t2Entry OBJECT-TYPE |
| 110 |
SYNTAX T2Entry |
| 111 |
MAX-ACCESS not-accessible |
| 112 |
STATUS current |
| 113 |
DESCRIPTION "..." |
| 114 |
INDEX { t1AddrType, t2Addr } |
| 115 |
::= { t2Table 1 } |
| 116 |
|
| 117 |
T2Entry ::= SEQUENCE { |
| 118 |
t2Addr TransportAddress, |
| 119 |
t2Data Integer32 |
| 120 |
} |
| 121 |
|
| 122 |
t2Addr OBJECT-TYPE |
| 123 |
SYNTAX TransportAddress (SIZE (0..32)) |
| 124 |
MAX-ACCESS not-accessible |
| 125 |
STATUS current |
| 126 |
DESCRIPTION "..." |
| 127 |
::= { t2Entry 2 } |
| 128 |
|
| 129 |
t2Data OBJECT-TYPE |
| 130 |
SYNTAX Integer32 |
| 131 |
MAX-ACCESS read-only |
| 132 |
STATUS current |
| 133 |
DESCRIPTION "..." |
| 134 |
::= { t2Entry 3 } |
| 135 |
|
| 136 |
-- test case 3 |
| 137 |
|
| 138 |
t3Table OBJECT-TYPE |
| 139 |
SYNTAX SEQUENCE OF T3Entry |
| 140 |
MAX-ACCESS not-accessible |
| 141 |
STATUS current |
| 142 |
DESCRIPTION "..." |
| 143 |
::= { libsmiTest017Mib 3 } |
| 144 |
|
| 145 |
t3Entry OBJECT-TYPE |
| 146 |
SYNTAX T3Entry |
| 147 |
MAX-ACCESS not-accessible |
| 148 |
STATUS current |
| 149 |
DESCRIPTION "..." |
| 150 |
AUGMENTS { t1Entry } |
| 151 |
::= { t3Table 1 } |
| 152 |
|
| 153 |
T3Entry ::= SEQUENCE { |
| 154 |
t3Addr TransportAddress, |
| 155 |
t3Data Integer32 |
| 156 |
} |
| 157 |
|
| 158 |
t3Addr OBJECT-TYPE |
| 159 |
SYNTAX TransportAddress (SIZE (0..32)) |
| 160 |
MAX-ACCESS not-accessible |
| 161 |
STATUS current |
| 162 |
DESCRIPTION "..." |
| 163 |
::= { t3Entry 2 } |
| 164 |
|
| 165 |
t3Data OBJECT-TYPE |
| 166 |
SYNTAX Integer32 |
| 167 |
MAX-ACCESS read-only |
| 168 |
STATUS current |
| 169 |
DESCRIPTION "..." |
| 170 |
::= { t3Entry 3 } |
| 171 |
|
| 172 |
-- test case 4 |
| 173 |
|
| 174 |
t4Table OBJECT-TYPE |
| 175 |
SYNTAX SEQUENCE OF T4Entry |
| 176 |
MAX-ACCESS not-accessible |
| 177 |
STATUS current |
| 178 |
DESCRIPTION "..." |
| 179 |
::= { libsmiTest017Mib 4 } |
| 180 |
|
| 181 |
t4Entry OBJECT-TYPE |
| 182 |
SYNTAX T4Entry |
| 183 |
MAX-ACCESS not-accessible |
| 184 |
STATUS current |
| 185 |
DESCRIPTION "..." |
| 186 |
INDEX { t4Index } |
| 187 |
::= { t4Table 1 } |
| 188 |
|
| 189 |
T4Entry ::= SEQUENCE { |
| 190 |
t4Index Integer32, |
| 191 |
t4AddrType TransportAddressType, |
| 192 |
t4Addr TransportAddress, |
| 193 |
t4AddrIPv6z TransportAddressIPv6z |
| 194 |
} |
| 195 |
|
| 196 |
t4Index OBJECT-TYPE |
| 197 |
SYNTAX Integer32 (0..2147483647) |
| 198 |
MAX-ACCESS not-accessible |
| 199 |
STATUS current |
| 200 |
DESCRIPTION "..." |
| 201 |
::= { t4Entry 1 } |
| 202 |
|
| 203 |
t4Addr OBJECT-TYPE |
| 204 |
SYNTAX TransportAddress |
| 205 |
MAX-ACCESS read-only |
| 206 |
STATUS current |
| 207 |
DESCRIPTION "..." |
| 208 |
::= { t4Entry 2 } |
| 209 |
|
| 210 |
t4AddrType OBJECT-TYPE |
| 211 |
SYNTAX TransportAddressType { udpIpv4(1) } |
| 212 |
MAX-ACCESS read-only |
| 213 |
STATUS current |
| 214 |
DESCRIPTION "..." |
| 215 |
::= { t4Entry 3 } |
| 216 |
|
| 217 |
t4AddrIPv6z OBJECT-TYPE |
| 218 |
SYNTAX TransportAddressIPv6z |
| 219 |
MAX-ACCESS read-only |
| 220 |
STATUS current |
| 221 |
DESCRIPTION "..." |
| 222 |
::= { t4Entry 4 } |
| 223 |
|
| 224 |
-- test case 5 |
| 225 |
|
| 226 |
t5Table OBJECT-TYPE |
| 227 |
SYNTAX SEQUENCE OF T5Entry |
| 228 |
MAX-ACCESS not-accessible |
| 229 |
STATUS current |
| 230 |
DESCRIPTION "..." |
| 231 |
::= { libsmiTest017Mib 5 } |
| 232 |
|
| 233 |
t5Entry OBJECT-TYPE |
| 234 |
SYNTAX T5Entry |
| 235 |
MAX-ACCESS not-accessible |
| 236 |
STATUS current |
| 237 |
DESCRIPTION "..." |
| 238 |
INDEX { t5Index } |
| 239 |
::= { t5Table 1 } |
| 240 |
|
| 241 |
T5Entry ::= SEQUENCE { |
| 242 |
t5Index Integer32, |
| 243 |
t5Domain TransportDomain, |
| 244 |
t5Addr TransportAddress |
| 245 |
} |
| 246 |
|
| 247 |
t5Index OBJECT-TYPE |
| 248 |
SYNTAX Integer32 (0..2147483647) |
| 249 |
MAX-ACCESS not-accessible |
| 250 |
STATUS current |
| 251 |
DESCRIPTION "..." |
| 252 |
::= { t5Entry 1 } |
| 253 |
|
| 254 |
t5Domain OBJECT-TYPE |
| 255 |
SYNTAX TransportDomain |
| 256 |
MAX-ACCESS read-only |
| 257 |
STATUS current |
| 258 |
DESCRIPTION "..." |
| 259 |
::= { t5Entry 2 } |
| 260 |
|
| 261 |
t5Addr OBJECT-TYPE |
| 262 |
SYNTAX TransportAddress |
| 263 |
MAX-ACCESS read-only |
| 264 |
STATUS current |
| 265 |
DESCRIPTION "..." |
| 266 |
::= { t5Entry 3 } |
| 267 |
|
| 268 |
END |