1133488Sharti--
2133488Sharti-- Copyright (c) 2001-2002
3133488Sharti--	Fraunhofer Institute for Open Communication Systems (FhG Fokus).
4133488Sharti--	All rights reserved.
5133488Sharti-- Copyright (c) 2004
6133488Sharti--	Hartmut Brandt.
7133488Sharti-- 	All rights reserved.
8133488Sharti--
9133488Sharti-- Author: Hartmut Brandt <harti@freebsd.org>
10133488Sharti-- 
11133488Sharti-- Redistribution and use in source and binary forms, with or without
12133488Sharti-- modification, are permitted provided that the following conditions
13133488Sharti-- are met:
14133488Sharti-- 1. Redistributions of source code must retain the above copyright
15133488Sharti--    notice, this list of conditions and the following disclaimer.
16133488Sharti-- 2. Redistributions in binary form must reproduce the above copyright
17133488Sharti--    notice, this list of conditions and the following disclaimer in the
18133488Sharti--    documentation and/or other materials provided with the distribution.
19133488Sharti-- 
20133488Sharti-- THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS ``AS IS'' AND
21133488Sharti-- ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22133488Sharti-- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
23133488Sharti-- ARE DISCLAIMED.  IN NO EVENT SHALL AUTHOR OR CONTRIBUTORS BE LIABLE
24133488Sharti-- FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25133488Sharti-- DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26133488Sharti-- OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27133488Sharti-- HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28133488Sharti-- LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29133488Sharti-- OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30133488Sharti-- SUCH DAMAGE.
31133488Sharti--  
32133488Sharti-- $Begemot: libunimsg/snmp_atm/BEGEMOT-ATM.txt,v 1.2 2004/08/06 14:50:26 brandt Exp $
33133488Sharti--
34133488Sharti-- Private Begemot MIB for ATM interfaces.
35133488Sharti--
36133488ShartiBEGEMOT-ATM-MIB DEFINITIONS ::= BEGIN
37133488Sharti
38133488ShartiIMPORTS
39133488Sharti    MODULE-IDENTITY, OBJECT-TYPE, Unsigned32, TimeTicks
40133488Sharti	FROM SNMPv2-SMI
41133488Sharti    TEXTUAL-CONVENTION, DisplayString
42133488Sharti	FROM SNMPv2-TC
43133488Sharti    ifIndex
44133488Sharti	FROM IF-MIB
45133488Sharti    begemot
46133488Sharti	FROM BEGEMOT-MIB;
47133488Sharti
48133488ShartibegemotAtm MODULE-IDENTITY
49133488Sharti    LAST-UPDATED "200407190000Z"
50133488Sharti    ORGANIZATION "German Aerospace Centre"
51133488Sharti    CONTACT-INFO
52133488Sharti	    "		Hartmut Brandt
53133488Sharti
54133488Sharti             Postal:    German Aerospace Centre (DLR)
55133488Sharti                        Institute of Communications and Navigation
56133488Sharti                        82234 Wessling
57133488Sharti                        Germany
58133488Sharti
59133488Sharti	     Fax:	+49 8153 28 2844
60133488Sharti
61133488Sharti	     E-mail:	harti@freebsd.org"
62133488Sharti    DESCRIPTION
63133488Sharti	    "The Begemot MIB for ATM interfaces."
64133488Sharti
65133488Sharti    ::= { begemot 101 }
66133488Sharti
67133488ShartibegemotAtmObjects	OBJECT IDENTIFIER ::= { begemotAtm 1 }
68133488Sharti
69133488Sharti-- --------------------------------------------------------------------------
70133488Sharti
71133488ShartiAtmESI ::= TEXTUAL-CONVENTION
72133488Sharti    DISPLAY-HINT "1x:"
73133488Sharti    STATUS	current
74133488Sharti    DESCRIPTION
75133488Sharti	    "An ATM End System Identifier. This is basically the same as
76133488Sharti	    an Ethernet Address and is assigned using the same rules."
77133488Sharti    SYNTAX	OCTET STRING (SIZE(6))
78133488Sharti
79133488Sharti-- --------------------------------------------------------------------------
80133488Sharti
81133488Sharti--
82133488Sharti-- Interfaces table
83133488Sharti--
84133488ShartibegemotAtmIfTable OBJECT-TYPE
85133488Sharti    SYNTAX	SEQUENCE OF BegemotAtmIfEntry
86133488Sharti    MAX-ACCESS	not-accessible
87133488Sharti    STATUS	current
88133488Sharti    DESCRIPTION
89133488Sharti	    "This table contains an entry for each hardware ATM
90133488Sharti	    interface. The table is indexed by the interface index."
91133488Sharti    ::= { begemotAtmObjects 1 }
92133488Sharti
93133488ShartibegemotAtmIfEntry OBJECT-TYPE
94133488Sharti    SYNTAX	BegemotAtmIfEntry
95133488Sharti    MAX-ACCESS	not-accessible
96133488Sharti    STATUS	current
97133488Sharti    DESCRIPTION
98133488Sharti	    "This is a table entry describing one ATM hardware interface."
99133488Sharti    INDEX	{ ifIndex }
100133488Sharti    ::= { begemotAtmIfTable 1 }
101133488Sharti
102133488ShartiBegemotAtmIfEntry ::= SEQUENCE {
103133488Sharti    begemotAtmIfName		DisplayString,
104133488Sharti    begemotAtmIfPcr		Unsigned32,
105133488Sharti    begemotAtmIfMedia		INTEGER,
106133488Sharti    begemotAtmIfVpiBits		Unsigned32,
107133488Sharti    begemotAtmIfVciBits		Unsigned32,
108133488Sharti    begemotAtmIfMaxVpcs		Unsigned32,
109133488Sharti    begemotAtmIfMaxVccs		Unsigned32,
110133488Sharti    begemotAtmIfEsi		AtmESI,
111133488Sharti    begemotAtmIfCarrierStatus	INTEGER,
112133488Sharti    begemotAtmIfMode		INTEGER
113133488Sharti}
114133488Sharti
115133488ShartibegemotAtmIfName OBJECT-TYPE
116133488Sharti    SYNTAX	DisplayString (SIZE(1..15))
117133488Sharti    MAX-ACCESS	read-only
118133488Sharti    STATUS	current
119133488Sharti    DESCRIPTION
120133488Sharti	    "Name of the ATM interface."
121133488Sharti    ::= { begemotAtmIfEntry 1 }
122133488Sharti
123133488ShartibegemotAtmIfPcr OBJECT-TYPE
124133488Sharti    SYNTAX	Unsigned32
125133488Sharti    MAX-ACCESS	read-only
126133488Sharti    STATUS	current
127133488Sharti    DESCRIPTION
128133488Sharti	    "The line cell rate of the interface."
129133488Sharti    ::= { begemotAtmIfEntry 2 }
130133488Sharti
131133488ShartibegemotAtmIfMedia OBJECT-TYPE
132133488Sharti    SYNTAX	INTEGER {
133133488Sharti			other(1),
134133488Sharti			unknown(3),
135133488Sharti			utp25(4),
136133488Sharti			taxi100(5),
137133488Sharti			taxi140(6),
138133488Sharti			mm155(7),
139133488Sharti			sm155(8),
140133488Sharti			utp155(9),
141133488Sharti			mm622(10),
142133488Sharti			sm622(11),
143133488Sharti			virtual(12)
144133488Sharti		}
145133488Sharti    MAX-ACCESS	read-only
146133488Sharti    STATUS	current
147133488Sharti    DESCRIPTION
148133488Sharti	    "The physical medium."
149133488Sharti    ::= { begemotAtmIfEntry 3 }
150133488Sharti
151133488ShartibegemotAtmIfVpiBits OBJECT-TYPE
152133488Sharti    SYNTAX	Unsigned32 (0..12)
153133488Sharti    MAX-ACCESS	read-only
154133488Sharti    STATUS	current
155133488Sharti    DESCRIPTION
156133488Sharti	    "Number of VPI bits that are used by the device."
157133488Sharti    ::= { begemotAtmIfEntry 4 }
158133488Sharti
159133488ShartibegemotAtmIfVciBits OBJECT-TYPE
160133488Sharti    SYNTAX	Unsigned32 (0..16)
161133488Sharti    MAX-ACCESS	read-only
162133488Sharti    STATUS	current
163133488Sharti    DESCRIPTION
164133488Sharti	    "Number of VCI bits that are used by the device."
165133488Sharti    ::= { begemotAtmIfEntry 5 }
166133488Sharti
167133488ShartibegemotAtmIfMaxVpcs OBJECT-TYPE
168133488Sharti    SYNTAX	Unsigned32 (0..256)
169133488Sharti    MAX-ACCESS	read-only
170133488Sharti    STATUS	current
171133488Sharti    DESCRIPTION
172133488Sharti	    "The maximum number of VPC supported on this device. This may not
173133488Sharti	    be larger than 2^begemotAtmIfVpiBits."
174133488Sharti    ::= { begemotAtmIfEntry 6 }
175133488Sharti
176133488ShartibegemotAtmIfMaxVccs OBJECT-TYPE
177133488Sharti    SYNTAX	Unsigned32 (0..16777216)
178133488Sharti    MAX-ACCESS	read-only
179133488Sharti    STATUS	current
180133488Sharti    DESCRIPTION
181133488Sharti	    "The maximum number of VCC supported on this device. This may not
182133488Sharti	    be larger than 2^(begemotAtmIfVpiBits + begemotAtmVciBits)."
183133488Sharti    ::= { begemotAtmIfEntry 7 }
184133488Sharti
185133488ShartibegemotAtmIfEsi OBJECT-TYPE
186133488Sharti    SYNTAX	AtmESI
187133488Sharti    MAX-ACCESS	read-only
188133488Sharti    STATUS	current
189133488Sharti    DESCRIPTION
190133488Sharti	    "The default End System Identifier as reported by the hardware.
191133488Sharti	    If the hardware has no ESI all six bytes are reported as 0."
192133488Sharti    ::= { begemotAtmIfEntry 8 }
193133488Sharti
194133488ShartibegemotAtmIfCarrierStatus OBJECT-TYPE
195133488Sharti    SYNTAX	INTEGER { carrierOn(1), carrierOff(2), unknown(3), none(4) }
196133488Sharti    MAX-ACCESS	read-only
197133488Sharti    STATUS	current
198133488Sharti    DESCRIPTION
199133488Sharti	    "The state of the carrier. For interfaces which don't have the
200133488Sharti	    notion of a carriere none is reported."
201133488Sharti    ::= { begemotAtmIfEntry 9 }
202133488Sharti
203133488ShartibegemotAtmIfMode OBJECT-TYPE
204133488Sharti    SYNTAX	INTEGER { sonet(1), sdh(2), unknown(3) }
205133488Sharti    MAX-ACCESS	read-write
206133488Sharti    STATUS	current
207133488Sharti    DESCRIPTION
208133488Sharti	    "The mode of the SUNI interface. For interfaces without SUNI
209133488Sharti	    unknown is reported in which case the variable is read-only.
210133488Sharti	    Some types of interfaces may not be able to change this value."
211133488Sharti    ::= { begemotAtmIfEntry 10 }
212133488Sharti
213133488ShartibegemotAtmIfTableLastChange OBJECT-TYPE
214133488Sharti    SYNTAX	TimeTicks
215133488Sharti    MAX-ACCESS	read-only
216133488Sharti    STATUS	current
217133488Sharti    DESCRIPTION
218133488Sharti	    "The value of sysUpTime the last time that an entry in
219133488Sharti	    begemotIfTable was created or destroyed. If the table is
220133488Sharti	    unchanged since the last coldStart this value is zero."
221133488Sharti    ::= { begemotAtmObjects 2 }
222133488Sharti
223133488Sharti--
224133488Sharti-- Interface hardware table
225133488Sharti--
226133488ShartibegemotAtmHWTable OBJECT-TYPE
227133488Sharti    SYNTAX	SEQUENCE OF BegemotAtmHWEntry
228133488Sharti    MAX-ACCESS	not-accessible
229133488Sharti    STATUS	current
230133488Sharti    DESCRIPTION
231133488Sharti	    "This table augments the begemotAtmIfTable and contains an entry
232133488Sharti	    for each hardware ATM interface. The entries describe the
233133488Sharti	    ATM hardware interface."
234133488Sharti    ::= { begemotAtmObjects 3 }
235133488Sharti
236133488ShartibegemotAtmHWEntry OBJECT-TYPE
237133488Sharti    SYNTAX	BegemotAtmHWEntry
238133488Sharti    MAX-ACCESS	not-accessible
239133488Sharti    STATUS	current
240133488Sharti    DESCRIPTION
241133488Sharti	    "This is a table entry describing one ATM hardware interface."
242133488Sharti    AUGMENTS	{ begemotAtmIfEntry }
243133488Sharti    ::= { begemotAtmHWTable 1 }
244133488Sharti
245133488ShartiBegemotAtmHWEntry ::= SEQUENCE {
246133488Sharti    begemotAtmHWVendor		DisplayString,
247133488Sharti    begemotAtmHWDevice		DisplayString,
248133488Sharti    begemotAtmHWSerial		Unsigned32,
249133488Sharti    begemotAtmHWVersion 	Unsigned32,
250133488Sharti    begemotAtmHWSoftVersion	Unsigned32
251133488Sharti}
252133488Sharti
253133488ShartibegemotAtmHWVendor OBJECT-TYPE
254133488Sharti    SYNTAX	DisplayString
255133488Sharti    MAX-ACCESS	read-only
256133488Sharti    STATUS	current
257133488Sharti    DESCRIPTION
258133488Sharti	    "A short string naming the vendor of the interface card."
259133488Sharti    ::= { begemotAtmHWEntry 1 }
260133488Sharti
261133488ShartibegemotAtmHWDevice OBJECT-TYPE
262133488Sharti    SYNTAX	DisplayString
263133488Sharti    MAX-ACCESS	read-only
264133488Sharti    STATUS	current
265133488Sharti    DESCRIPTION
266133488Sharti	    "A short string naming the brand of the interface card."
267133488Sharti    ::= { begemotAtmHWEntry 2 }
268133488Sharti
269133488ShartibegemotAtmHWSerial OBJECT-TYPE
270133488Sharti    SYNTAX	Unsigned32
271133488Sharti    MAX-ACCESS	read-only
272133488Sharti    STATUS	current
273133488Sharti    DESCRIPTION
274133488Sharti	    "The serial number of the interface card or 0 if it doesn't
275133488Sharti	    report a serial number."
276133488Sharti    ::= { begemotAtmHWEntry 3 }
277133488Sharti
278133488ShartibegemotAtmHWVersion OBJECT-TYPE
279133488Sharti    SYNTAX	Unsigned32
280133488Sharti    MAX-ACCESS	read-only
281133488Sharti    STATUS	current
282133488Sharti    DESCRIPTION
283133488Sharti	    "The hardware version of the interface card or 0 if it doesn't
284133488Sharti	    report a hardware version number."
285133488Sharti    ::= { begemotAtmHWEntry 4 }
286133488Sharti
287133488ShartibegemotAtmHWSoftVersion OBJECT-TYPE
288133488Sharti    SYNTAX	Unsigned32
289133488Sharti    MAX-ACCESS	read-only
290133488Sharti    STATUS	current
291133488Sharti    DESCRIPTION
292133488Sharti	    "The firmware version of the interface card or 0 if it doesn't
293133488Sharti	    report a firmware version number."
294133488Sharti    ::= { begemotAtmHWEntry 5 }
295133488Sharti
296133488Sharti-- --------------------------------------------------------------------
297133488Sharti
298133488Sharti-- System specific parts
299133488ShartibegemotAtmSysGroup	OBJECT IDENTIFIER ::= { begemotAtmObjects 4 }
300133488Sharti
301133488ShartiEND
302