Imported Upstream version 0.4.8
[platform/upstream/libsmi.git] / mibs / ietf / MPLS-LDP-GENERIC-STD-MIB
1 MPLS-LDP-GENERIC-STD-MIB DEFINITIONS ::= BEGIN
2
3 IMPORTS
4     OBJECT-TYPE,
5     MODULE-IDENTITY,
6     Unsigned32
7         FROM SNMPv2-SMI                                  -- [RFC2578]
8
9     MODULE-COMPLIANCE,
10     OBJECT-GROUP
11         FROM SNMPv2-CONF                                 -- [RFC2580]
12
13     RowStatus,
14     StorageType
15         FROM SNMPv2-TC                                   -- [RFC2579]
16
17     InterfaceIndexOrZero
18         FROM IF-MIB                                      -- [RFC2020]
19
20     mplsStdMIB
21         FROM MPLS-TC-STD-MIB                             -- [RFC3811]
22
23     mplsLdpEntityLdpId,
24     mplsLdpEntityIndex
25         FROM MPLS-LDP-STD-MIB                            -- [RFC3813]
26     ;
27
28 mplsLdpGenericStdMIB MODULE-IDENTITY
29     LAST-UPDATED "200406030000Z"  -- June 6, 2004
30     ORGANIZATION "Multiprotocol Label Switching (mpls)
31                   Working Group"
32     CONTACT-INFO
33         "Joan Cucchiara (jcucchiara@mindspring.com)
34          Marconi Communications, Inc.
35
36          Hans Sjostrand (hans@ipunplugged.com)
37          ipUnplugged
38
39
40
41          James V. Luciani (james_luciani@mindspring.com)
42          Marconi Communications, Inc.
43
44          Working Group Chairs:
45          George Swallow,   email: swallow@cisco.com
46          Loa Andersson,    email: loa@pi.se
47
48          MPLS Working Group, email: mpls@uu.net
49     "
50     DESCRIPTION
51         "Copyright (C) The Internet Society (year). The
52         initial version of this MIB module was published
53         in RFC 3815. For full legal notices see the RFC
54         itself or see:
55         http://www.ietf.org/copyrights/ianamib.html
56
57         This MIB contains managed object definitions for
58         configuring and monitoring the Multiprotocol Label
59         Switching (MPLS), Label Distribution Protocol (LDP),
60         utilizing ethernet as the Layer 2 media."
61     REVISION "200406030000Z"  -- June 6, 2004
62     DESCRIPTION
63         "Initial version published as part of RFC 3815."
64
65     ::= { mplsStdMIB 7 }
66
67 --****************************************************************
68
69 mplsLdpGenericObjects
70          OBJECT IDENTIFIER ::= { mplsLdpGenericStdMIB 1 }
71 mplsLdpGenericConformance
72          OBJECT IDENTIFIER ::= { mplsLdpGenericStdMIB 2 }
73
74 --****************************************************************
75 -- MPLS LDP GENERIC Objects
76 --****************************************************************
77
78 --
79 -- Ldp Entity Objects for Generic Labels
80 --
81
82 mplsLdpEntityGenericObjects  OBJECT IDENTIFIER ::=
83                               { mplsLdpGenericObjects 1 }
84
85 --
86 -- The MPLS LDP Entity Generic Label Range Table
87 --
88
89
90
91 mplsLdpEntityGenericLRTable OBJECT-TYPE
92     SYNTAX SEQUENCE OF MplsLdpEntityGenericLREntry
93     MAX-ACCESS not-accessible
94     STATUS current
95     DESCRIPTION
96         "The MPLS LDP Entity Generic Label Range (LR)
97         Table.
98
99         The purpose of this table is to provide a mechanism
100         for configurating a contiguous range of generic labels,
101         or a 'label range' for LDP Entities.
102
103         LDP Entities which use Generic Labels must have at least
104         one entry in this table.  In other words, this table
105         'extends' the mpldLdpEntityTable for Generic Labels."
106     ::= { mplsLdpEntityGenericObjects 1 }
107
108 mplsLdpEntityGenericLREntry OBJECT-TYPE
109     SYNTAX MplsLdpEntityGenericLREntry
110     MAX-ACCESS not-accessible
111     STATUS current
112     DESCRIPTION
113         "A row in the LDP Entity Generic Label
114         Range (LR) Table.  One entry in this table contains
115         information on a single range of labels
116         represented by the configured Upper and Lower
117         Bounds pairs.  NOTE: there is NO corresponding
118         LDP message which relates to the information
119         in this table, however, this table does provide
120         a way for a user to 'reserve' a generic label
121         range.
122
123         NOTE:  The ranges for a specific LDP Entity
124         are UNIQUE and non-overlapping.
125
126         A row will not be created unless a unique and
127         non-overlapping range is specified."
128     INDEX       {  mplsLdpEntityLdpId,
129                    mplsLdpEntityIndex,
130                    mplsLdpEntityGenericLRMin,
131                    mplsLdpEntityGenericLRMax
132                 }
133     ::= { mplsLdpEntityGenericLRTable 1 }
134
135 MplsLdpEntityGenericLREntry ::= SEQUENCE {
136     mplsLdpEntityGenericLRMin           Unsigned32,
137     mplsLdpEntityGenericLRMax           Unsigned32,
138     mplsLdpEntityGenericLabelSpace      INTEGER,
139
140
141
142     mplsLdpEntityGenericIfIndexOrZero   InterfaceIndexOrZero,
143     mplsLdpEntityGenericLRStorageType   StorageType,
144     mplsLdpEntityGenericLRRowStatus     RowStatus
145 }
146
147 mplsLdpEntityGenericLRMin OBJECT-TYPE
148     SYNTAX     Unsigned32(0..1048575)
149     MAX-ACCESS not-accessible
150     STATUS     current
151     DESCRIPTION
152         "The minimum label configured for this range."
153     ::= { mplsLdpEntityGenericLREntry 1 }
154
155 mplsLdpEntityGenericLRMax OBJECT-TYPE
156     SYNTAX     Unsigned32(0..1048575)
157     MAX-ACCESS not-accessible
158     STATUS     current
159     DESCRIPTION
160         "The maximum label configured for this range."
161     ::= { mplsLdpEntityGenericLREntry 2 }
162
163 mplsLdpEntityGenericLabelSpace  OBJECT-TYPE
164     SYNTAX      INTEGER {
165                           perPlatform(1),
166                           perInterface(2)
167                          }
168     MAX-ACCESS  read-create
169     STATUS      current
170     DESCRIPTION
171        "This value of this object is perPlatform(1), then
172        this means that the label space type is
173        per platform.
174
175        If this object is perInterface(2), then this
176        means that the label space type is per Interface."
177     REFERENCE
178         "RFC3036, LDP Specification, Section 2.2.1,
179         Label Spaces."
180     DEFVAL { perPlatform }
181     ::= { mplsLdpEntityGenericLREntry 3 }
182
183 mplsLdpEntityGenericIfIndexOrZero OBJECT-TYPE
184     SYNTAX      InterfaceIndexOrZero
185     MAX-ACCESS  read-create
186     STATUS      current
187     DESCRIPTION
188        "This value represents either the InterfaceIndex of
189        the 'ifLayer' where these Generic Label would be created,
190
191
192        or 0 (zero).  The value of zero means that the
193        InterfaceIndex is not known.
194
195        However, if the InterfaceIndex is known,
196        then it must be represented by this value.
197
198        If an InterfaceIndex becomes known, then the
199        network management entity (e.g., SNMP agent) responsible
200        for this object MUST change the value from 0 (zero) to the
201        value of the InterfaceIndex."
202     ::= { mplsLdpEntityGenericLREntry 4 }
203
204 mplsLdpEntityGenericLRStorageType  OBJECT-TYPE
205     SYNTAX      StorageType
206     MAX-ACCESS  read-create
207     STATUS      current
208     DESCRIPTION
209         "The storage type for this conceptual row.
210         Conceptual rows having the value 'permanent(4)'
211         need not allow write-access to any columnar
212         objects in the row."
213     DEFVAL { nonVolatile }
214     ::= { mplsLdpEntityGenericLREntry 5 }
215
216 mplsLdpEntityGenericLRRowStatus OBJECT-TYPE
217     SYNTAX RowStatus
218     MAX-ACCESS read-create
219     STATUS current
220     DESCRIPTION
221         "The status of this conceptual row.  All writable
222          objects in this row may be modified at any time,
223          however, as described in  detail in the section
224          entitled, 'Changing Values After Session
225          Establishment', and again described in the
226          DESCRIPTION clause of the mplsLdpEntityAdminStatus object,
227          if a session has been initiated with a Peer,
228          changing objects in this table will
229          wreak havoc with the session and interrupt traffic.
230          To repeat again:  the recommended procedure is
231          to set the mplsLdpEntityAdminStatus to
232          down, thereby explicitly causing a
233          session to be torn down. Then, change objects
234          in this entry, then set the mplsLdpEntityAdminStatus
235          to enable which enables a new session to be initiated.
236
237          There must exist at least one entry in this
238          table for every LDP Entity that has a
239          generic label configured."
240
241
242     ::= { mplsLdpEntityGenericLREntry 6 }
243
244 --****************************************************************
245 -- Module Conformance Statement
246 --****************************************************************
247
248 mplsLdpGenericGroups
249     OBJECT IDENTIFIER ::= { mplsLdpGenericConformance 1 }
250
251 mplsLdpGenericCompliances
252     OBJECT IDENTIFIER ::= { mplsLdpGenericConformance 2 }
253
254 --
255 -- Full Compliance
256 --
257
258 mplsLdpGenericModuleFullCompliance MODULE-COMPLIANCE
259     STATUS current
260     DESCRIPTION
261         "The Module is implemented with support for
262         read-create and read-write.  In other words,
263         both monitoring and configuration
264         are available when using this MODULE-COMPLIANCE."
265     MODULE -- this module
266         MANDATORY-GROUPS    {
267                                mplsLdpGenericGroup
268                             }
269
270     OBJECT       mplsLdpEntityGenericLRRowStatus
271     SYNTAX       RowStatus { active(1) }
272     WRITE-SYNTAX RowStatus { createAndGo(4), destroy(6) }
273     DESCRIPTION
274        "Support for createAndWait and notInService is not required."
275
276     ::= { mplsLdpGenericCompliances 1 }
277
278 --
279 -- Read-Only Compliance
280 --
281
282 mplsLdpGenericModuleReadOnlyCompliance MODULE-COMPLIANCE
283     STATUS current
284     DESCRIPTION
285         "The Module is implemented with support for
286         read-only.  In other words, only monitoring
287         is available by implementing this MODULE-COMPLIANCE."
288     MODULE -- this module
289         MANDATORY-GROUPS    {
290
291
292                                mplsLdpGenericGroup
293                             }
294
295     OBJECT       mplsLdpEntityGenericLabelSpace
296     MIN-ACCESS   read-only
297     DESCRIPTION
298        "Write access is not required."
299
300     OBJECT       mplsLdpEntityGenericIfIndexOrZero
301     MIN-ACCESS   read-only
302     DESCRIPTION
303        "Write access is not required."
304
305     OBJECT       mplsLdpEntityGenericLRStorageType
306     MIN-ACCESS   read-only
307     DESCRIPTION
308        "Write access is not required."
309
310     OBJECT       mplsLdpEntityGenericLRRowStatus
311     SYNTAX       RowStatus { active(1) }
312     MIN-ACCESS   read-only
313     DESCRIPTION
314        "Write access is not required, and active is the
315        only status that needs to be supported."
316
317     ::= { mplsLdpGenericCompliances 2 }
318
319 --
320 -- units of conformance
321 --
322
323 mplsLdpGenericGroup OBJECT-GROUP
324     OBJECTS {
325     mplsLdpEntityGenericLabelSpace,
326     mplsLdpEntityGenericIfIndexOrZero,
327     mplsLdpEntityGenericLRStorageType,
328     mplsLdpEntityGenericLRRowStatus
329     }
330     STATUS    current
331     DESCRIPTION
332         "Objects that apply to all MPLS LDP implementations
333         using Generic Labels as the Layer 2."
334     ::= { mplsLdpGenericGroups 1 }
335
336 END