Imported Upstream version 0.4.8
[platform/upstream/libsmi.git] / mibs / ietf / DS0-MIB
1 DS0-MIB DEFINITIONS ::= BEGIN
2
3 IMPORTS
4      MODULE-IDENTITY, OBJECT-TYPE,
5      transmission                     FROM SNMPv2-SMI
6      MODULE-COMPLIANCE, OBJECT-GROUP  FROM SNMPv2-CONF
7      DisplayString, TruthValue        FROM SNMPv2-TC
8      ifIndex, InterfaceIndex,
9      InterfaceIndexOrZero             FROM IF-MIB;
10
11 --  This is the MIB module for the DS0 Interface objects.
12
13 ds0 MODULE-IDENTITY
14     LAST-UPDATED "9807161630Z"
15     ORGANIZATION "IETF Trunk MIB Working Group"
16     CONTACT-INFO
17       "        David Fowler
18
19        Postal: Newbridge Networks Corporation
20                600 March Road
21                Kanata, Ontario, Canada K2K 2E6
22
23                Tel: +1 613 591 3600
24                Fax: +1 613 599 3619
25
26        E-mail: davef@newbridge.com"
27     DESCRIPTION
28          "The MIB module to describe
29           DS0 interfaces objects."
30     REVISION "9805242010Z"
31     DESCRIPTION
32          "Initial version of the DS0-MIB."
33
34     ::= { transmission 81 }
35
36 -- The DS0 Config Group
37
38 -- Implementation of this group is mandatory for all
39 -- systems that use a DS0 Interface.
40
41 -- The DS0 Config Group consists of two tables:
42 --    DS0 Configuration Table
43 --    DS0 Channel Mapping Table
44
45 -- The DS0 Configuration Table
46
47 dsx0ConfigTable OBJECT-TYPE
48     SYNTAX  SEQUENCE OF Dsx0ConfigEntry
49     MAX-ACCESS  not-accessible
50     STATUS  current
51     DESCRIPTION
52             "The DS0 Configuration table."
53     ::= { ds0 1 }
54
55 dsx0ConfigEntry OBJECT-TYPE
56     SYNTAX  Dsx0ConfigEntry
57     MAX-ACCESS  not-accessible
58     STATUS  current
59     DESCRIPTION
60             "An entry in the DS0 Configuration table.  There
61             is an entry in this table for each DS0 interface."
62     INDEX   { ifIndex }
63     ::= { dsx0ConfigTable 1 }
64
65 Dsx0ConfigEntry ::=
66     SEQUENCE {
67         dsx0Ds0ChannelNumber        INTEGER,
68         dsx0RobbedBitSignalling     TruthValue,
69         dsx0CircuitIdentifier       DisplayString,
70         dsx0IdleCode                INTEGER,
71         dsx0SeizedCode              INTEGER,
72         dsx0ReceivedCode            INTEGER,
73         dsx0TransmitCodesEnable     TruthValue,
74         dsx0Ds0BundleMappedIfIndex  InterfaceIndexOrZero
75 }
76
77 dsx0Ds0ChannelNumber OBJECT-TYPE
78     SYNTAX  INTEGER(0..31)
79     MAX-ACCESS  read-only
80     STATUS  current
81     DESCRIPTION
82             "This object indicates the channel number of the
83             ds0 on its DS1/E1."
84     ::= { dsx0ConfigEntry 1 }
85
86 dsx0RobbedBitSignalling OBJECT-TYPE
87     SYNTAX  TruthValue
88     MAX-ACCESS  read-write
89     STATUS  current
90     DESCRIPTION
91             "This object indicates if Robbed Bit Signalling is
92             turned on or off for a given ds0.  This only
93             applies to DS0s on a DS1 link.  For E1 links the
94             value is always off (false)."
95     ::= { dsx0ConfigEntry 2 }
96
97 dsx0CircuitIdentifier OBJECT-TYPE
98      SYNTAX  DisplayString (SIZE (0..255))
99      MAX-ACCESS  read-write
100      STATUS  current
101      DESCRIPTION
102             "This object contains the transmission vendor's
103             circuit identifier, for the purpose of
104             facilitating troubleshooting."
105     ::= { dsx0ConfigEntry 3 }
106
107 dsx0IdleCode OBJECT-TYPE
108      SYNTAX  INTEGER(0..15)
109      MAX-ACCESS  read-write
110      STATUS  current
111      DESCRIPTION
112             "This object contains the code transmitted in the
113             ABCD bits when the ds0 is not connected and
114             dsx0TransmitCodesEnable is enabled.  The object is
115             a bitmap and the various bit positions are:
116                   1     D bit
117                   2     C bit
118                   4     B bit
119                   8     A bit"
120     ::= { dsx0ConfigEntry 4 }
121
122 dsx0SeizedCode OBJECT-TYPE
123      SYNTAX  INTEGER(0..15)
124      MAX-ACCESS  read-write
125      STATUS  current
126      DESCRIPTION
127             "This object contains the code transmitted in the
128             ABCD bits when the ds0 is connected and
129             dsx0TransmitCodesEnable is enabled.  The object is
130             a bitmap and the various bit positions are:
131                   1     D bit
132                   2     C bit
133                   4     B bit
134                   8     A bit"
135     ::= { dsx0ConfigEntry 5 }
136
137 dsx0ReceivedCode OBJECT-TYPE
138      SYNTAX  INTEGER(0..15)
139      MAX-ACCESS  read-only
140      STATUS  current
141      DESCRIPTION
142             "This object contains the code being received in
143             the ABCD bits.  The object is a bitmap and the
144             various bit positions are:
145                   1     D bit
146                   2     C bit
147                   4     B bit
148                   8     A bit"
149     ::= { dsx0ConfigEntry 6 }
150
151 dsx0TransmitCodesEnable OBJECT-TYPE
152      SYNTAX TruthValue
153      MAX-ACCESS  read-write
154      STATUS  current
155      DESCRIPTION
156             "This object determines if the idle and seized
157             codes are transmitted. If the value of this object
158             is true then the codes are transmitted."
159     ::= { dsx0ConfigEntry 7 }
160
161 dsx0Ds0BundleMappedIfIndex OBJECT-TYPE
162      SYNTAX InterfaceIndexOrZero
163      MAX-ACCESS  read-only
164      STATUS  current
165      DESCRIPTION
166             "This object indicates the ifIndex value assigned
167             by the agent for the ds0Bundle(82) ifEntry to
168             which the given ds0(81) ifEntry may belong.
169
170             If the given ds0(81) ifEntry does not belong to
171             any ds0Bundle(82) ifEntry, then this object has a
172             value of zero.
173
174             While this object provides information that can
175             also be found in the ifStackTable, it provides
176             this same information with a single table lookup,
177             rather than by walking the ifStackTable to find
178             the possibly non-existent ds0Bundle(82) ifEntry
179             that may be stacked above the given ds0(81)
180             ifTable entry."
181     ::= { dsx0ConfigEntry 8 }
182
183 -- The DS0 Channel Mapping Table
184
185 dsx0ChanMappingTable OBJECT-TYPE
186      SYNTAX  SEQUENCE OF Dsx0ChanMappingEntry
187      MAX-ACCESS  not-accessible
188      STATUS  current
189      DESCRIPTION
190             "The DS0 Channel Mapping table.  This table maps a
191             DS0 channel number on a particular DS1/E1 into an
192             ifIndex."
193      ::= { ds0 3 }
194
195 dsx0ChanMappingEntry OBJECT-TYPE
196      SYNTAX  Dsx0ChanMappingEntry
197      MAX-ACCESS  not-accessible
198      STATUS  current
199      DESCRIPTION
200             "An entry in the DS0 Channel Mapping table.  There
201             is an entry in this table corresponding to each
202             ds0 ifEntry within any interface that is
203             channelized to the individual ds0 ifEntry level.
204
205             This table is intended to facilitate mapping from
206             channelized interface / channel number to DS0
207             ifEntry.  (e.g. mapping (DS1 ifIndex, DS0 Channel
208             Number) -> ifIndex)
209
210             While this table provides information that can
211             also be found in the ifStackTable and
212             dsx0ConfigTable, it provides this same information
213             with a single table lookup, rather than by walking
214             the ifStackTable to find the various constituent
215             ds0 ifTable entries, and testing various
216             dsx0ConfigTable entries to check for the entry
217             with the applicable DS0 channel number."
218      INDEX   { ifIndex, dsx0Ds0ChannelNumber }
219      ::= { dsx0ChanMappingTable 1 }
220
221 Dsx0ChanMappingEntry ::=
222      SEQUENCE {
223          dsx0ChanMappedIfIndex  InterfaceIndex
224 }
225
226 dsx0ChanMappedIfIndex OBJECT-TYPE
227      SYNTAX  InterfaceIndex
228      MAX-ACCESS  read-only
229      STATUS  current
230      DESCRIPTION
231             "This object indicates the ifIndex value assigned
232             by the agent for the individual ds0 ifEntry that
233             corresponds to the given DS0 channel number
234             (specified by the INDEX element
235             dsx0Ds0ChannelNumber) of the given channelized
236             interface (specified by INDEX element ifIndex)."
237      ::= { dsx0ChanMappingEntry 1 }
238
239 -- conformance information
240
241 ds0Conformance OBJECT IDENTIFIER ::= { ds0 2 }
242
243 ds0Groups      OBJECT IDENTIFIER ::= { ds0Conformance 1 }
244 ds0Compliances OBJECT IDENTIFIER ::= { ds0Conformance 2 }
245
246
247
248 -- compliance statements
249
250 ds0Compliance MODULE-COMPLIANCE
251     STATUS  current
252     DESCRIPTION
253             "The compliance statement for DS0 interfaces."
254     MODULE  -- this module
255         MANDATORY-GROUPS { ds0ConfigGroup }
256
257         OBJECT dsx0RobbedBitSignalling
258         MIN-ACCESS read-only
259         DESCRIPTION
260             "The ability to set RBS is not required."
261         OBJECT dsx0CircuitIdentifier
262         MIN-ACCESS read-only
263         DESCRIPTION
264             "The ability to set the circuit identifier is not
265             required."
266
267         OBJECT dsx0IdleCode
268         MIN-ACCESS read-only
269         DESCRIPTION
270             "The ability to set the idle code is not
271             required."
272
273         OBJECT dsx0SeizedCode
274         MIN-ACCESS read-only
275         DESCRIPTION
276             "The ability to set the seized code is not
277             required."
278
279         OBJECT dsx0TransmitCodesEnable
280         MIN-ACCESS read-only
281         DESCRIPTION
282             "The ability to enable and disable the
283             transmitting of idle and seized codes is not
284             required."
285
286     ::= { ds0Compliances 1 }
287
288 -- units of conformance
289
290 ds0ConfigGroup  OBJECT-GROUP
291     OBJECTS { dsx0Ds0ChannelNumber,
292               dsx0RobbedBitSignalling,
293               dsx0CircuitIdentifier,
294               dsx0IdleCode,
295               dsx0SeizedCode,
296               dsx0ReceivedCode,
297               dsx0TransmitCodesEnable,
298               dsx0Ds0BundleMappedIfIndex,
299               dsx0ChanMappedIfIndex }
300     STATUS  current
301     DESCRIPTION
302             "A collection of objects providing configuration
303             information applicable to all DS0 interfaces."
304     ::= { ds0Groups 1 }
305
306 END