1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193
|
-- %CopyrightBegin%
--
-- SPDX-License-Identifier: Apache-2.0
--
-- Copyright Ericsson AB 1996-2025. All Rights Reserved.
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You may obtain a copy of the License at
--
-- http://www.apache.org/licenses/LICENSE-2.0
--
-- Unless required by applicable law or agreed to in writing, software
-- distributed under the License is distributed on an "AS IS" BASIS,
-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-- See the License for the specific language governing permissions and
-- limitations under the License.
--
-- %CopyrightEnd%
MC-TEST-MIB DEFINITIONS ::= BEGIN
IMPORTS
otpExpr
FROM OTP-REG
MODULE-IDENTITY, OBJECT-TYPE,
mib-2, NOTIFICATION-TYPE, OBJECT-IDENTITY
FROM SNMPv2-SMI
TDomain, TAddress, DisplayString, TEXTUAL-CONVENTION,
AutonomousType, RowPointer, TimeStamp,
RowStatus, StorageType
FROM SNMPv2-TC
MODULE-COMPLIANCE, OBJECT-GROUP, NOTIFICATION-GROUP
FROM SNMPv2-CONF;
mcTestModule MODULE-IDENTITY
LAST-UPDATED "9605160000Z"
ORGANIZATION "MC Test Co."
CONTACT-INFO
"developer@small.company."
DESCRIPTION
"MC Test module."
::= { reg 1 }
mcObjects OBJECT IDENTIFIER ::= { mcTestModule 1 }
-- MIB contains one group
mcMisc OBJECT IDENTIFIER ::= { mcObjects 1 }
mcGeneral OBJECT IDENTIFIER ::= { mcObjects 2 }
mcTest OBJECT-IDENTITY
STATUS current
DESCRIPTION
"Test area."
::= { otpExpr 4322 }
reg OBJECT-IDENTITY
STATUS current
DESCRIPTION
"Registrations."
::= { mcTest 1 }
mcTable OBJECT-TYPE
SYNTAX SEQUENCE OF McEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table contains one row per physical entity. There is
always at least one row for an 'overall' physical entity."
::= { mcMisc 1 }
mcEntry OBJECT-TYPE
SYNTAX McEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Table entry..."
INDEX { mcIndex }
::= { mcTable 1 }
McEntry ::= SEQUENCE {
mcIndex INTEGER,
mcName DisplayString,
mcStorageType StorageType,
mcRowStatus RowStatus
}
mcIndex OBJECT-TYPE
SYNTAX INTEGER
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The index for this entry."
::= { mcEntry 1 }
mcName OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Name of... "
::= { mcEntry 2 }
mcStorageType OBJECT-TYPE
SYNTAX StorageType
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"The storage type for this conceptual row."
DEFVAL { nonVolatile }
::= { mcEntry 3 }
mcRowStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"The status of this conceptual row..."
::= { mcEntry 4 }
-- last change time stamp for the whole MIB
mcTimeStamp OBJECT-TYPE
SYNTAX TimeStamp
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The sysUpTime value when of the last time *anything* in the
MIB was changed. "
::= { mcGeneral 1 }
-- Entity MIB Trap Definitions
mcTraps OBJECT IDENTIFIER ::= { mcTestModule 2 }
mcTrapPrefix OBJECT IDENTIFIER ::= { mcTraps 0 }
mcConfigChange NOTIFICATION-TYPE
STATUS current
DESCRIPTION
"An mcConfigChange trap is sent when the value of
entLastChangeTime changes..."
::= { mcTrapPrefix 1 }
-- conformance information
mcConformance OBJECT IDENTIFIER ::= { mcTestModule 3 }
mcCompliances OBJECT IDENTIFIER ::= { mcConformance 1 }
mcGroups OBJECT IDENTIFIER ::= { mcConformance 2 }
-- compliance statements
mcCompliance MODULE-COMPLIANCE
STATUS current
DESCRIPTION
"The compliance statement for SNMP entities which implement
the MC Test MIB."
MODULE -- this module
MANDATORY-GROUPS { mcGeneralGroup,
mcNotificationsGroup }
::= { mcCompliances 1 }
-- MIB groupings
mcGeneralGroup OBJECT-GROUP
OBJECTS {
mcName,
mcStorageType,
mcRowStatus,
mcTimeStamp
}
STATUS current
DESCRIPTION
"The collection of objects which are used to represent
general information..."
::= { mcGroups 1 }
mcNotificationsGroup NOTIFICATION-GROUP
NOTIFICATIONS { mcConfigChange }
STATUS current
DESCRIPTION
"The collection of notifications..."
::= { mcGroups 2 }
END
|