Imported Upstream version 0.4.8
[platform/upstream/libsmi.git] / test / mibs / LIBSMI-TEST-018-MIB
1 LIBSMI-TEST-018-MIB DEFINITIONS ::= BEGIN
2
3 IMPORTS
4     MODULE-IDENTITY, OBJECT-TYPE, Counter64  FROM SNMPv2-SMI
5     TEXTUAL-CONVENTION                       FROM SNMPv2-TC
6     OBJECT-GROUP, MODULE-COMPLIANCE          FROM SNMPv2-CONF
7     testMib                                  FROM LIBSMI-TEST-MIB;
8
9 libsmiTest018Mib MODULE-IDENTITY
10     LAST-UPDATED    "200605040000Z"
11     ORGANIZATION 
12             "International University Bremen"
13     CONTACT-INFO 
14             "      Juergen Schoenwaelder
15
16              Postal: International University Bremen
17                      Campus Ring 1
18                      28759 Bremen
19                      Germany
20
21               Phone: +49 421 200-3587
22               EMail: j.schoenwaelder@iu-bremen.de"
23     DESCRIPTION  
24             "This MIB module contains one or more intentional errors,
25              and/or unusual contents. Its only purpose is to check
26              the abilities of MIB parsers to detect these circumstances.
27
28              This MIB module is orginally written in SMIv2 format.
29
30              This module checks for rules concerning Unsigned64 which
31              is a base type in SPPI but not in SMIv2.
32
33              The libsmi parser is expected to report:
34 LIBSMI-TEST-018-MIB:41: warning: definition of identifier `Unsigned64' which is already a SMI or SPPI basetype
35             "
36     REVISION        "200605040000Z"
37     DESCRIPTION  
38             "Initial Revision"
39     ::= { testMib 18 }
40
41 Unsigned64 ::= TEXTUAL-CONVENTION
42     DISPLAY-HINT "d"
43     STATUS current
44     DESCRIPTION "A fake unsigned 64 bit integer."
45     SYNTAX Counter64
46
47 t1 OBJECT-TYPE
48     SYNTAX      Unsigned64
49     MAX-ACCESS  read-only
50     STATUS      current
51     DESCRIPTION "junk"
52     ::= { libsmiTest018Mib 1 }
53
54 libsmiTest018Group OBJECT-GROUP
55     OBJECTS     { t1 }
56     STATUS      current
57     DESCRIPTION "junk"
58     ::= { libsmiTest018Mib 2 }
59
60 libsmiTest018Compliance MODULE-COMPLIANCE
61     STATUS      current
62     DESCRIPTION "All object types."
63     MODULE      -- this module
64     MANDATORY-GROUPS { libsmiTest018Group }
65     ::= { libsmiTest018Mib 3 }
66
67 END