~ubuntu-branches/ubuntu/trusty/erlang/trusty

« back to all changes in this revision

Viewing changes to lib/snmp/test/snmp_test_data/MC-TEST-MIB.mib

  • Committer: Bazaar Package Importer
  • Author(s): Clint Byrum
  • Date: 2011-05-05 15:48:43 UTC
  • mfrom: (3.5.13 sid)
  • Revision ID: james.westby@ubuntu.com-20110505154843-0om6ekzg6m7ugj27
Tags: 1:14.b.2-dfsg-3ubuntu1
* Merge from debian unstable.  Remaining changes:
  - Drop libwxgtk2.8-dev build dependency. Wx isn't in main, and not
    supposed to.
  - Drop erlang-wx binary.
  - Drop erlang-wx dependency from -megaco, -common-test, and -reltool, they
    do not really need wx. Also drop it from -debugger; the GUI needs wx,
    but it apparently has CLI bits as well, and is also needed by -megaco,
    so let's keep the package for now.
  - debian/patches/series: Do what I meant, and enable build-options.patch
    instead.
* Additional changes:
  - Drop erlang-wx from -et
* Dropped Changes:
  - patches/pcre-crash.patch: CVE-2008-2371: outer level option with
    alternatives caused crash. (Applied Upstream)
  - fix for ssl certificate verification in newSSL: 
    ssl_cacertfile_fix.patch (Applied Upstream)
  - debian/patches/series: Enable native.patch again, to get stripped beam
    files and reduce the package size again. (build-options is what
    actually accomplished this)
  - Remove build-options.patch on advice from upstream and because it caused
    odd build failures.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
MC-TEST-MIB DEFINITIONS ::= BEGIN
 
2
 
 
3
IMPORTS
 
4
    otpExpr
 
5
        FROM OTP-REG
 
6
    MODULE-IDENTITY, OBJECT-TYPE,
 
7
    mib-2, NOTIFICATION-TYPE, OBJECT-IDENTITY
 
8
        FROM SNMPv2-SMI
 
9
    TDomain, TAddress, DisplayString, TEXTUAL-CONVENTION,
 
10
    AutonomousType, RowPointer, TimeStamp, 
 
11
    RowStatus, StorageType
 
12
        FROM SNMPv2-TC
 
13
    MODULE-COMPLIANCE, OBJECT-GROUP, NOTIFICATION-GROUP
 
14
        FROM SNMPv2-CONF;
 
15
 
 
16
mcTestModule MODULE-IDENTITY
 
17
    LAST-UPDATED "9605160000Z"
 
18
    ORGANIZATION "MC Test Co."
 
19
    CONTACT-INFO
 
20
            "developer@small.company."
 
21
    DESCRIPTION
 
22
            "MC Test module."
 
23
    ::= { reg 1 }
 
24
 
 
25
mcObjects OBJECT IDENTIFIER ::= { mcTestModule 1 }
 
26
 
 
27
-- MIB contains one group
 
28
 
 
29
mcMisc     OBJECT IDENTIFIER ::= { mcObjects 1 }
 
30
mcGeneral  OBJECT IDENTIFIER ::= { mcObjects 2 }
 
31
 
 
32
 
 
33
mcTest OBJECT-IDENTITY
 
34
     STATUS current
 
35
     DESCRIPTION
 
36
             "Test area."
 
37
     ::= { otpExpr 4322 }
 
38
 
 
39
 
 
40
reg OBJECT-IDENTITY
 
41
     STATUS current
 
42
     DESCRIPTION
 
43
             "Registrations."
 
44
     ::= { mcTest 1 }
 
45
 
 
46
 
 
47
mcTable OBJECT-TYPE
 
48
    SYNTAX      SEQUENCE OF McEntry
 
49
    MAX-ACCESS  not-accessible
 
50
    STATUS      current
 
51
    DESCRIPTION
 
52
            "This table contains one row per physical entity.  There is
 
53
            always at least one row for an 'overall' physical entity."
 
54
    ::= { mcMisc 1 }
 
55
 
 
56
mcEntry       OBJECT-TYPE
 
57
    SYNTAX      McEntry
 
58
    MAX-ACCESS  not-accessible
 
59
    STATUS      current
 
60
    DESCRIPTION
 
61
            "Table entry..."
 
62
    INDEX   { mcIndex }
 
63
    ::= { mcTable 1 }
 
64
 
 
65
McEntry ::= SEQUENCE {
 
66
      mcIndex         INTEGER, 
 
67
      mcName          DisplayString,
 
68
      mcStorageType   StorageType,
 
69
      mcRowStatus     RowStatus
 
70
}
 
71
 
 
72
mcIndex    OBJECT-TYPE
 
73
    SYNTAX      INTEGER
 
74
    MAX-ACCESS  not-accessible
 
75
    STATUS      current
 
76
    DESCRIPTION
 
77
            "The index for this entry."
 
78
    ::= { mcEntry 1 }
 
79
 
 
80
mcName OBJECT-TYPE
 
81
    SYNTAX      DisplayString
 
82
    MAX-ACCESS  read-only
 
83
    STATUS      current
 
84
    DESCRIPTION
 
85
            "Name of... "
 
86
    ::= { mcEntry 2 }
 
87
 
 
88
 
 
89
mcStorageType OBJECT-TYPE
 
90
    SYNTAX      StorageType
 
91
    MAX-ACCESS  read-create
 
92
    STATUS      current
 
93
    DESCRIPTION
 
94
           "The storage type for this conceptual row."
 
95
    DEFVAL { nonVolatile }
 
96
    ::= { mcEntry 3 }
 
97
 
 
98
mcRowStatus OBJECT-TYPE
 
99
    SYNTAX      RowStatus
 
100
    MAX-ACCESS  read-create
 
101
    STATUS      current
 
102
    DESCRIPTION
 
103
           "The status of this conceptual row..."
 
104
       ::= { mcEntry 4 }
 
105
 
 
106
 
 
107
-- last change time stamp for the whole MIB
 
108
mcTimeStamp OBJECT-TYPE
 
109
    SYNTAX      TimeStamp
 
110
    MAX-ACCESS  read-only
 
111
    STATUS      current
 
112
    DESCRIPTION
 
113
            "The sysUpTime value when of the last time *anything* in the 
 
114
            MIB was changed. "
 
115
    ::= { mcGeneral 1 }
 
116
 
 
117
-- Entity MIB Trap Definitions
 
118
mcTraps      OBJECT IDENTIFIER ::= { mcTestModule 2 }
 
119
mcTrapPrefix OBJECT IDENTIFIER ::= { mcTraps 0 }
 
120
 
 
121
mcConfigChange NOTIFICATION-TYPE
 
122
    STATUS             current
 
123
    DESCRIPTION
 
124
            "An mcConfigChange trap is sent when the value of
 
125
            entLastChangeTime changes..."
 
126
   ::= { mcTrapPrefix 1 }
 
127
 
 
128
-- conformance information
 
129
mcConformance OBJECT IDENTIFIER ::= { mcTestModule 3 }
 
130
 
 
131
mcCompliances OBJECT IDENTIFIER ::= { mcConformance 1 }
 
132
mcGroups      OBJECT IDENTIFIER ::= { mcConformance 2 }
 
133
 
 
134
-- compliance statements
 
135
 
 
136
 
 
137
mcCompliance MODULE-COMPLIANCE
 
138
    STATUS  current
 
139
    DESCRIPTION
 
140
            "The compliance statement for SNMP entities which implement
 
141
            the MC Test MIB."
 
142
    MODULE  -- this module
 
143
        MANDATORY-GROUPS { mcGeneralGroup,
 
144
                           mcNotificationsGroup }
 
145
    ::= { mcCompliances 1 }
 
146
 
 
147
-- MIB groupings
 
148
 
 
149
mcGeneralGroup    OBJECT-GROUP
 
150
    OBJECTS {
 
151
              mcName, 
 
152
              mcStorageType, 
 
153
              mcRowStatus, 
 
154
              mcTimeStamp
 
155
            }
 
156
    STATUS  current
 
157
    DESCRIPTION
 
158
            "The collection of objects which are used to represent
 
159
            general information..."
 
160
    ::= { mcGroups 1 }
 
161
 
 
162
mcNotificationsGroup NOTIFICATION-GROUP
 
163
    NOTIFICATIONS { mcConfigChange }
 
164
    STATUS        current
 
165
    DESCRIPTION
 
166
            "The collection of notifications..."
 
167
    ::= { mcGroups 2 }
 
168
 
 
169
 
 
170
END
 
171
 
 
172
 
 
173